Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.StateGraph.Examples.FirstExample_Variant2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001631/0.001631, allocations: 107.6 kB / 21.25 MB, free: 0.5625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002148/0.002148, allocations: 219.1 kB / 24.55 MB, free: 3.82 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.512/1.512, allocations: 230.5 MB / 258.2 MB, free: 7.738 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.StateGraph.Examples.FirstExample_Variant2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5012,variableFilter="time|transition1.enableFire|transition2.enableFire",fileNamePrefix="Modelica_trunk_Modelica.StateGraph.Examples.FirstExample_Variant2") translateModel(Modelica.StateGraph.Examples.FirstExample_Variant2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5012,variableFilter="time|transition1.enableFire|transition2.enableFire",fileNamePrefix="Modelica_trunk_Modelica.StateGraph.Examples.FirstExample_Variant2") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 3.051e-05/3.051e-05, allocations: 4.672 kB / 379 MB, free: 2.371 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.StateGraph.Examples.FirstExample_Variant2): time 0.003374/0.003405, allocations: 1.657 MB / 380.7 MB, free: 0.6992 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007541/0.004159, allocations: 299.1 kB / 381 MB, free: 416 kB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.422e-05/0.004253, allocations: 7.938 kB / 381 MB, free: 408 kB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001378/0.004391, allocations: 23.73 kB / 381 MB, free: 384 kB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 5.29e-05/0.004444, allocations: 15.81 kB / 381 MB, free: 368 kB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004281/0.004872, allocations: 127.8 kB / 381.1 MB, free: 240 kB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.2693/0.2741, allocations: 314.2 kB / 381.4 MB, free: 13.05 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006203/0.2748, allocations: 171.5 kB / 381.6 MB, free: 13.04 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002637/0.275, allocations: 127 kB / 381.7 MB, free: 13.04 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000229/0.2753, allocations: 98.47 kB / 381.8 MB, free: 13.02 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.969e-05/0.2753, allocations: 29.62 kB / 381.9 MB, free: 13.02 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001242/0.2754, allocations: 36.28 kB / 381.9 MB, free: 13.02 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0004133/0.2759, allocations: 414.2 kB / 382.3 MB, free: 12.82 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001713/0.276, allocations: 240.9 kB / 382.5 MB, free: 12.67 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.815e-05/0.2761, allocations: 17.34 kB / 382.5 MB, free: 12.67 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.000111/0.2762, allocations: 35.36 kB / 382.6 MB, free: 12.66 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: 60 (60) * Number of variables: 60 (60) Notification: Performance of [SIM] Bindings: time 0.0017/0.2779, allocations: 1.023 MB / 383.6 MB, free: 12.21 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0003956/0.2783, allocations: 168.1 kB / 383.8 MB, free: 12.18 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.001144/0.2795, allocations: 0.6809 MB / 384.4 MB, free: 12.12 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0004441/0.2799, allocations: 163.8 kB / 384.6 MB, free: 12 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.002543/0.2824, allocations: 1.033 MB / 385.6 MB, free: 11.44 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.000227/0.2827, allocations: 122.8 kB / 385.8 MB, free: 11.33 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0001374/0.2828, allocations: 92.95 kB / 385.9 MB, free: 11.24 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.000567/0.2834, allocations: 242.4 kB / 386.1 MB, free: 11.06 MB / 302.1 MB Notification: Performance of [SIM] Events: time 0.0001807/0.2836, allocations: 64.11 kB / 386.2 MB, free: 11.04 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0004739/0.284, allocations: 220.2 kB / 386.4 MB, free: 10.94 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.001373/0.2854, allocations: 0.5965 MB / 387 MB, free: 10.81 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0005376/0.2859, allocations: 426.9 kB / 387.4 MB, free: 10.58 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.0004621/0.2864, allocations: 275.3 kB / 387.6 MB, free: 10.36 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.0004868/0.2869, allocations: 0.5511 MB / 388.2 MB, free: 10.05 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 3.936e-05/0.2869, allocations: 26.31 kB / 388.2 MB, free: 10.03 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 7.59e-05/0.287, allocations: 92.88 kB / 388.3 MB, free: 9.973 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.002068/0.2891, allocations: 1.312 MB / 389.6 MB, free: 9.695 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 2.969e-05/0.2891, allocations: 30.94 kB / 389.7 MB, free: 9.672 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 8.61e-07/0.2891, allocations: 0 / 389.7 MB, free: 9.672 MB / 302.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.0001027/0.2892, allocations: 57.16 kB / 389.7 MB, free: 9.641 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 8.246e-06/0.2892, allocations: 4 kB / 389.7 MB, free: 9.637 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 1.619e-05/0.2892, allocations: 27.94 kB / 389.7 MB, free: 9.617 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 9.778e-06/0.2892, allocations: 1.281 kB / 389.7 MB, free: 9.617 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 0.0005023/0.2897, allocations: 298.2 kB / 390 MB, free: 9.504 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 0.0001441/0.2899, allocations: 193.6 kB / 390.2 MB, free: 9.305 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) {timer.entryTime, 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.localActive, step.inPort.occupied, step.inPort.set, step.outPort.available, step.outPort.reset, step.newActive, transition2.localCondition, 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: ........... 41 (scalar:41, 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.0001701/0.2901, allocations: 48.94 kB / 390.3 MB, free: 9.27 MB / 302.1 MB Notification: Performance of SimCode: time 0.0009671/0.291, allocations: 0.6551 MB / 390.9 MB, free: 8.898 MB / 302.1 MB Notification: Performance of Templates: time 0.005808/0.2968, allocations: 1.603 MB / 392.5 MB, free: 8.695 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.StateGraph.Examples.FirstExample_Variant2.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.StateGraph.Examples.FirstExample_Variant2.pipe ; mkfifo Modelica_trunk_Modelica.StateGraph.Examples.FirstExample_Variant2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.StateGraph.Examples.FirstExample_Variant2.pipe >> ../files/Modelica_trunk_Modelica.StateGraph.Examples.FirstExample_Variant2.sim & ./Modelica_trunk_Modelica.StateGraph.Examples.FirstExample_Variant2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.StateGraph.Examples.FirstExample_Variant2.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.694317313027568] Failed to read output from testmodel.py, exit status != 0: ['time', 'transition1.enableFire', 'transition2.enableFire'] 0.3052723450236954 0.31857554600000004 0.039814882 Calling exit ...