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.002074/0.002074, allocations: 103.6 kB / 21.25 MB, free: 0.5664 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.002283/0.002283, allocations: 211 kB / 24.55 MB, free: 3.824 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.576/1.576, allocations: 230.6 MB / 258.3 MB, free: 7.715 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.753e-05/2.753e-05, allocations: 2.281 kB / 379 MB, free: 2.457 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.StateGraph.Examples.FirstExample): time 0.003326/0.003354, allocations: 1.479 MB / 380.5 MB, free: 0.9727 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008598/0.004214, allocations: 279.2 kB / 380.8 MB, free: 0.6992 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001455/0.004359, allocations: 7.938 kB / 380.8 MB, free: 0.6914 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001678/0.004527, allocations: 23.73 kB / 380.8 MB, free: 0.668 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 8.04e-05/0.004608, allocations: 15.81 kB / 380.8 MB, free: 0.6523 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005306/0.005138, allocations: 115.8 kB / 380.9 MB, free: 0.5391 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004571/0.005595, allocations: 299.5 kB / 381.2 MB, free: 252 kB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004121/0.006007, allocations: 158.6 kB / 381.4 MB, free: 88 kB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2633/0.2693, allocations: 108.6 kB / 381.5 MB, free: 13.21 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003281/0.2696, allocations: 92.69 kB / 381.6 MB, free: 13.21 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001366/0.2697, allocations: 25.84 kB / 381.6 MB, free: 13.21 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001532/0.2699, allocations: 34.38 kB / 381.6 MB, free: 13.21 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0005137/0.2704, allocations: 382.3 kB / 382 MB, free: 13.05 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002214/0.2706, allocations: 225.5 kB / 382.2 MB, free: 12.91 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001219/0.2707, allocations: 15.97 kB / 382.2 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.0001498/0.2709, allocations: 39.38 kB / 382.3 MB, free: 12.9 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.001684/0.2726, allocations: 0.9461 MB / 383.2 MB, free: 12.48 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.000458/0.273, allocations: 171.5 kB / 383.4 MB, free: 12.45 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.001124/0.2742, allocations: 0.6618 MB / 384.1 MB, free: 12.38 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0004183/0.2746, allocations: 146.1 kB / 384.2 MB, free: 12.27 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.002758/0.2773, allocations: 0.9684 MB / 385.2 MB, free: 11.84 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0002265/0.2776, allocations: 138.9 kB / 385.3 MB, free: 11.73 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0001163/0.2777, allocations: 80.91 kB / 385.4 MB, free: 11.65 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.000428/0.2781, allocations: 242.5 kB / 385.6 MB, free: 11.46 MB / 302.1 MB Notification: Performance of [SIM] Events: time 0.0001867/0.2783, allocations: 71.91 kB / 385.7 MB, free: 11.43 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0004356/0.2787, allocations: 226.7 kB / 385.9 MB, free: 11.32 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.001227/0.28, allocations: 0.6036 MB / 386.5 MB, free: 11.2 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0005073/0.2805, allocations: 430.4 kB / 386.9 MB, free: 10.97 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.0005529/0.281, allocations: 273.1 kB / 387.2 MB, free: 10.76 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.0007214/0.2817, allocations: 0.5623 MB / 387.8 MB, free: 10.45 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 6.332e-05/0.2818, allocations: 33.95 kB / 387.8 MB, free: 10.41 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 0.0001546/0.282, allocations: 96.89 kB / 387.9 MB, free: 10.36 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.003004/0.285, allocations: 1.303 MB / 389.2 MB, free: 10.08 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 3.998e-05/0.285, allocations: 23.38 kB / 389.2 MB, free: 10.07 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 2.374e-06/0.285, allocations: 1.125 kB / 389.2 MB, free: 10.07 MB / 302.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.0001503/0.2851, allocations: 62.61 kB / 389.3 MB, free: 10.03 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 9.218e-06/0.2852, allocations: 0 / 389.3 MB, free: 10.03 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 2.272e-05/0.2852, allocations: 27.72 kB / 389.3 MB, free: 10.01 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 1.348e-05/0.2852, allocations: 1.984 kB / 389.3 MB, free: 10.01 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 0.0006262/0.2858, allocations: 312.9 kB / 389.6 MB, free: 9.895 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 0.0001691/0.286, allocations: 199.8 kB / 389.8 MB, free: 9.691 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.0001672/0.2862, allocations: 52.58 kB / 389.9 MB, free: 9.656 MB / 302.1 MB Notification: Performance of SimCode: time 0.001103/0.2873, allocations: 0.6404 MB / 390.5 MB, free: 9.285 MB / 302.1 MB Notification: Performance of Templates: time 0.005623/0.2929, allocations: 1.596 MB / 392.1 MB, free: 9.086 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.880537161021493] Failed to read output from testmodel.py, exit status != 0: ['time', 'transition1.enableFire', 'transition2.enableFire'] 0.30207907099975273 0.316469947 0.041805285000000005 Calling exit ...