Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.StateGraph.Examples.FirstExample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001799/0.001799, allocations: 99.59 kB / 21.2 MB, free: 0.6406 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002302/0.002302, allocations: 221.1 kB / 24.5 MB, free: 3.922 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.495/1.495, allocations: 230.6 MB / 258.2 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.StateGraph.Examples.FirstExample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5012,variableFilter="time|transition1.enableFire|transition2.enableFire",fileNamePrefix="Modelica_4.1.0_Modelica.StateGraph.Examples.FirstExample") translateModel(Modelica.StateGraph.Examples.FirstExample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5012,variableFilter="time|transition1.enableFire|transition2.enableFire",fileNamePrefix="Modelica_4.1.0_Modelica.StateGraph.Examples.FirstExample") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.478e-05/2.478e-05, allocations: 2.281 kB / 378.9 MB, free: 2.512 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.StateGraph.Examples.FirstExample): time 0.002552/0.002577, allocations: 1.475 MB / 380.4 MB, free: 1.031 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006928/0.00327, allocations: 283.2 kB / 380.7 MB, free: 0.7539 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.896e-05/0.003359, allocations: 7.938 kB / 380.7 MB, free: 0.7461 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001307/0.00349, allocations: 23.73 kB / 380.7 MB, free: 0.7227 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 4.838e-05/0.003538, allocations: 11.81 kB / 380.7 MB, free: 0.7109 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003939/0.003932, allocations: 123.8 kB / 380.8 MB, free: 0.5898 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003572/0.004289, allocations: 299.5 kB / 381.1 MB, free: 304 kB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002642/0.004553, allocations: 154.6 kB / 381.3 MB, free: 144 kB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001342/0.004688, allocations: 119.6 kB / 381.4 MB, free: 24 kB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1682/0.1728, allocations: 109.6 kB / 381.5 MB, free: 13.27 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.656e-05/0.1729, allocations: 22.97 kB / 381.5 MB, free: 13.27 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001082/0.173, allocations: 28.95 kB / 381.5 MB, free: 13.27 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0002767/0.1733, allocations: 383.7 kB / 381.9 MB, free: 13.14 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001007/0.1734, allocations: 225.8 kB / 382.1 MB, free: 13 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.217e-05/0.1735, allocations: 14.41 kB / 382.1 MB, free: 13 MB / 302.1 MB Notification: Performance of FrontEnd: time 7.805e-05/0.1735, allocations: 33.36 kB / 382.2 MB, free: 12.99 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 55 (55) * Number of variables: 55 (55) Notification: Performance of [SIM] Bindings: time 0.001031/0.1746, allocations: 0.9586 MB / 383.1 MB, free: 12.57 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0001991/0.1748, allocations: 164.6 kB / 383.3 MB, free: 12.54 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.0005879/0.1754, allocations: 0.6605 MB / 384 MB, free: 12.46 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.000199/0.1756, allocations: 161.3 kB / 384.1 MB, free: 12.36 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.001359/0.1769, allocations: 0.9539 MB / 385.1 MB, free: 11.9 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0001486/0.1771, allocations: 136.4 kB / 385.2 MB, free: 11.78 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 7.872e-05/0.1772, allocations: 84.83 kB / 385.3 MB, free: 11.7 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.000303/0.1775, allocations: 230.7 kB / 385.5 MB, free: 11.51 MB / 302.1 MB Notification: Performance of [SIM] Events: time 0.0001203/0.1776, allocations: 77.3 kB / 385.6 MB, free: 11.48 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.000314/0.1779, allocations: 229.8 kB / 385.8 MB, free: 11.38 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.0008694/0.1788, allocations: 0.6178 MB / 386.4 MB, free: 11.23 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0003826/0.1791, allocations: 431.4 kB / 386.9 MB, free: 11 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.0003631/0.1795, allocations: 279.7 kB / 387.1 MB, free: 10.79 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.0004637/0.18, allocations: 0.5607 MB / 387.7 MB, free: 10.48 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 3.844e-05/0.18, allocations: 33.27 kB / 387.7 MB, free: 10.45 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 7.352e-05/0.1801, allocations: 98.08 kB / 387.8 MB, free: 10.39 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.002265/0.1823, allocations: 1.314 MB / 389.1 MB, free: 10.1 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 2.85e-05/0.1824, allocations: 27.28 kB / 389.2 MB, free: 10.08 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 1.252e-06/0.1824, allocations: 1.969 kB / 389.2 MB, free: 10.08 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 1.021e-05/0.1824, allocations: 4 kB / 389.2 MB, free: 10.07 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 1.274e-05/0.1824, allocations: 18.03 kB / 389.2 MB, free: 10.06 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 1.26e-05/0.1824, allocations: 2.188 kB / 389.2 MB, free: 10.06 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 0.0005382/0.1829, allocations: 265.8 kB / 389.4 MB, free: 9.945 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 1.275e-05/0.183, allocations: 0 / 389.4 MB, free: 9.945 MB / 302.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 0 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 1 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 0 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 0 (0) {} * Number of discrete states: .................... 2 (2) {transition2.t_start, transition1.t_start} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 35 (35) {initialStep.active, initialStep.localActive, initialStep.inPort.occupied, initialStep.inPort.set, initialStep.outPort.available, initialStep.outPort.reset, initialStep.newActive, transition1.enableFire, transition1.fire, transition1.inPort.available, transition1.outPort.occupied, step.active, step.localActive, step.inPort.occupied, step.inPort.set, step.outPort.available, step.outPort.reset, step.newActive, transition2.enableFire, transition2.fire, transition2.inPort.available, transition2.outPort.occupied, stateGraphRoot.activeSteps, $FUN_1, $FUN_2, $FUN_3, $FUN_4, $SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0, $TEV_1, $TEV_0} * Number of clocks: ............................. 0 (0) {} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 42 (scalar:42, array:0, record:0) * Number of multi strong components: ............ 2 (algorithm:0, when:2, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 54 (scalar:54, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 0.0001743/0.1831, allocations: 51.92 kB / 389.5 MB, free: 9.918 MB / 302.1 MB Notification: Performance of SimCode: time 0.0009645/0.1841, allocations: 0.6297 MB / 390.1 MB, free: 9.551 MB / 302.1 MB Notification: Performance of Templates: time 0.005544/0.1896, allocations: 1.721 MB / 391.8 MB, free: 9.352 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.StateGraph.Examples.FirstExample.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.StateGraph.Examples.FirstExample.pipe ; mkfifo Modelica_4.1.0_Modelica.StateGraph.Examples.FirstExample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.StateGraph.Examples.FirstExample.pipe >> ../files/Modelica_4.1.0_Modelica.StateGraph.Examples.FirstExample.sim & ./Modelica_4.1.0_Modelica.StateGraph.Examples.FirstExample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.StateGraph.Examples.FirstExample.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.523661402985454] Failed to read output from testmodel.py, exit status != 0: ['time', 'transition1.enableFire', 'transition2.enableFire'] 0.19731618417426944 0.209333925 0.033402381 Calling exit ...