Finite State Machine

Module: devtests.bidomain.fsm.run

Section author: Gernot Plank <gernot.plank@medunigraz.at>

Tests

serial

Testing finite state machine code.

Tags: MEDIUM SERIAL

Checks:

  • Compare against stored reference: max_error(fsm_standalone/automaton.igb)
  • Compare against stored reference: max_error(fsm/vm.igb)
  • Compare against stored reference: max_error(fsm_lat/vm.igb)

Last run: 2024-02-29 00:12:12.065245, revision {‘base’: ‘cbf8efd0’}, dependency revisions {PT_C: 31642c1e,cvsys: 593686bc,eikonal: 5fbbfda3,elasticity: 4d92ddfc}

Runtime: 0:00:28.213672
**** ALL FAILED ****
  ERROR max_error(fsm_standalone/automaton.igb):
Exception: Header exceeds 131072 bytes
Backtrace:
  File "/data/prassl_src/carpautotest/repos/carputils/carputils/testing/check.py", line 175, in __call__
    return self.check(*args, **kwargs)
  File "/data/prassl_src/carpautotest/repos/carputils/carputils/testing/check.py", line 215, in check
    testdata = load_data(os.path.join(testdir, self.filename), 'simulation output')
  File "/data/prassl_src/carpautotest/repos/carputils/carputils/testing/check.py", line 71, in load_data
    data = fp.data()
  File "/data/prassl_src/carpautotest/repos/carputils/carputils/carpio/igb.py", line 205, in data
    assert self.header()['type'] in ['int','float', 'vec3f', 'vec9f'], \
  File "/data/prassl_src/carpautotest/repos/carputils/carputils/carpio/igb.py", line 118, in header
    hdr_len = self._header_length()
  File "/data/prassl_src/carpautotest/repos/carputils/carputils/carpio/igb.py", line 95, in _header_length
    raise Exception('Header exceeds {0} bytes'.format(MAXLENGTH))
  ERROR max_error(fsm/vm.igb):
ValueError: operands could not be broadcast together with shapes (525402,) (0,)
Backtrace:
  File "/data/prassl_src/carpautotest/repos/carputils/carputils/testing/check.py", line 175, in __call__
    return self.check(*args, **kwargs)
  File "/data/prassl_src/carpautotest/repos/carputils/carputils/testing/check.py", line 218, in check
    cost = self.cost(refdata.flatten(), testdata.flatten())
  File "/data/prassl_src/carpautotest/repos/carputils/carputils/testing/cost.py", line 36, in max_error
    return np.max(np.abs(array1 - array2))
  ERROR max_error(fsm_lat/vm.igb):
ValueError: operands could not be broadcast together with shapes (525402,) (0,)
Backtrace:
  File "/data/prassl_src/carpautotest/repos/carputils/carputils/testing/check.py", line 175, in __call__
    return self.check(*args, **kwargs)
  File "/data/prassl_src/carpautotest/repos/carputils/carputils/testing/check.py", line 218, in check
    cost = self.cost(refdata.flatten(), testdata.flatten())
  File "/data/prassl_src/carpautotest/repos/carputils/carputils/testing/cost.py", line 36, in max_error
    return np.max(np.abs(array1 - array2))

Last passed: No passes found in history (earliest 2024-02-01 00:12:36.746890)

parallel

Same setting as in single core mode above, but now using 8 threads. Compare against single core results.

Tags: MEDIUM PARALLEL

Checks:

  • Compare against stored reference: max_error(fsm/vm.igb)
  • Compare against stored reference: max_error(fsm_lat/vm.igb)

Last run: 2024-02-29 00:12:40.438982, revision {‘base’: ‘cbf8efd0’}, dependency revisions {PT_C: 31642c1e,cvsys: 593686bc,eikonal: 5fbbfda3,elasticity: 4d92ddfc}

Runtime: 0:00:11.100411
**** ALL FAILED ****
  ERROR max_error(fsm/vm.igb):
ValueError: operands could not be broadcast together with shapes (525402,) (0,)
Backtrace:
  File "/data/prassl_src/carpautotest/repos/carputils/carputils/testing/check.py", line 175, in __call__
    return self.check(*args, **kwargs)
  File "/data/prassl_src/carpautotest/repos/carputils/carputils/testing/check.py", line 218, in check
    cost = self.cost(refdata.flatten(), testdata.flatten())
  File "/data/prassl_src/carpautotest/repos/carputils/carputils/testing/cost.py", line 36, in max_error
    return np.max(np.abs(array1 - array2))
  ERROR max_error(fsm_lat/vm.igb):
ValueError: operands could not be broadcast together with shapes (525402,) (0,)
Backtrace:
  File "/data/prassl_src/carpautotest/repos/carputils/carputils/testing/check.py", line 175, in __call__
    return self.check(*args, **kwargs)
  File "/data/prassl_src/carpautotest/repos/carputils/carputils/testing/check.py", line 218, in check
    cost = self.cost(refdata.flatten(), testdata.flatten())
  File "/data/prassl_src/carpautotest/repos/carputils/carputils/testing/cost.py", line 36, in max_error
    return np.max(np.abs(array1 - array2))

Last passed: No passes found in history (earliest 2024-02-01 00:13:05.177958)