Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.StateGraph.Examples.FirstExample_Variant3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00138/0.00138, allocations: 104 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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001993/0.001993, allocations: 191.7 kB / 24.53 MB, free: 3.852 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.665/1.665, allocations: 225.7 MB / 253.4 MB, free: 12.79 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.StateGraph.Examples.FirstExample_Variant3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5012,variableFilter="time|transition1.enableFire|transition2.enableFire",fileNamePrefix="Modelica_4.0.0_Modelica.StateGraph.Examples.FirstExample_Variant3") translateModel(Modelica.StateGraph.Examples.FirstExample_Variant3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5012,variableFilter="time|transition1.enableFire|transition2.enableFire",fileNamePrefix="Modelica_4.0.0_Modelica.StateGraph.Examples.FirstExample_Variant3") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.87e-05/2.87e-05, allocations: 9.594 kB / 371.7 MB, free: 9.18 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.StateGraph.Examples.FirstExample_Variant3): time 0.003159/0.003188, allocations: 1.661 MB / 373.4 MB, free: 7.5 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007364/0.003924, allocations: 295.1 kB / 373.6 MB, free: 7.211 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.591e-05/0.00402, allocations: 11.94 kB / 373.7 MB, free: 7.199 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001392/0.004159, allocations: 27.67 kB / 373.7 MB, free: 7.172 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 6.099e-05/0.00422, allocations: 19.8 kB / 373.7 MB, free: 7.152 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004194/0.00464, allocations: 119.8 kB / 373.8 MB, free: 7.035 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004144/0.005054, allocations: 319.4 kB / 374.1 MB, free: 6.723 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000311/0.005365, allocations: 162.9 kB / 374.3 MB, free: 6.562 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002179/0.005583, allocations: 127.6 kB / 374.4 MB, free: 6.438 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001641/0.005747, allocations: 99.52 kB / 374.5 MB, free: 6.34 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.339e-05/0.0058, allocations: 28 kB / 374.5 MB, free: 6.312 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.968e-05/0.00589, allocations: 39.98 kB / 374.6 MB, free: 6.273 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0003744/0.006264, allocations: 408 kB / 375 MB, free: 5.871 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001691/0.006433, allocations: 244.7 kB / 375.2 MB, free: 5.629 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.4e-05/0.006477, allocations: 12 kB / 375.2 MB, free: 5.617 MB / 302.1 MB Notification: Performance of FrontEnd: time 6.947e-05/0.006547, allocations: 35.77 kB / 375.3 MB, free: 5.582 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.001354/0.007901, allocations: 1.009 MB / 376.3 MB, free: 4.449 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0002439/0.008145, allocations: 171.8 kB / 376.4 MB, free: 4.27 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.0008011/0.008946, allocations: 0.6781 MB / 377.1 MB, free: 3.562 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0002981/0.009244, allocations: 157.8 kB / 377.3 MB, free: 3.363 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.001969/0.01121, allocations: 1.027 MB / 378.3 MB, free: 2.195 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.000222/0.01143, allocations: 122.4 kB / 378.4 MB, free: 2.027 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 0.000122/0.01156, allocations: 83.02 kB / 378.5 MB, free: 1.922 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0004805/0.01204, allocations: 264.3 kB / 378.8 MB, free: 1.613 MB / 302.1 MB Notification: Performance of [SIM] Events: time 0.0001558/0.01219, allocations: 58.28 kB / 378.8 MB, free: 1.555 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0003621/0.01256, allocations: 239.5 kB / 379.1 MB, free: 1.316 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.0009868/0.01354, allocations: 0.6037 MB / 379.7 MB, free: 0.7031 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0004471/0.01399, allocations: 427.6 kB / 380.1 MB, free: 292 kB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.2224/0.2363, allocations: 274 kB / 380.3 MB, free: 17.58 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.0006967/0.237, allocations: 0.555 MB / 380.9 MB, free: 17.57 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 4.697e-05/0.2371, allocations: 26.89 kB / 380.9 MB, free: 17.55 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 8.893e-05/0.2372, allocations: 101.8 kB / 381 MB, free: 17.55 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.00215/0.2393, allocations: 1.328 MB / 382.3 MB, free: 17.48 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 2.959e-05/0.2394, allocations: 29.22 kB / 382.4 MB, free: 17.46 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 2.024e-06/0.2394, allocations: 0 / 382.4 MB, free: 17.46 MB / 302.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.0001467/0.2395, allocations: 53.5 kB / 382.4 MB, free: 17.45 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 8.857e-06/0.2395, allocations: 1.031 kB / 382.4 MB, free: 17.45 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 2.348e-05/0.2395, allocations: 30.52 kB / 382.5 MB, free: 17.43 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 2.018e-05/0.2396, allocations: 3.188 kB / 382.5 MB, free: 17.43 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 0.0006367/0.2402, allocations: 294.4 kB / 382.8 MB, free: 17.42 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 0.0001813/0.2404, allocations: 195.4 kB / 382.9 MB, free: 17.23 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: ................. 36 (36) {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, SetBoolean2.y, 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: ........... 55 (scalar:55, 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.0001585/0.2405, allocations: 51.11 kB / 383 MB, free: 17.2 MB / 302.1 MB Notification: Performance of SimCode: time 0.00129/0.2418, allocations: 0.6599 MB / 383.7 MB, free: 16.92 MB / 302.1 MB Notification: Performance of Templates: time 0.005989/0.2478, allocations: 1.611 MB / 385.3 MB, free: 16.78 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.StateGraph.Examples.FirstExample_Variant3.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.StateGraph.Examples.FirstExample_Variant3.pipe ; mkfifo Modelica_4.0.0_Modelica.StateGraph.Examples.FirstExample_Variant3.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.StateGraph.Examples.FirstExample_Variant3.pipe >> ../files/Modelica_4.0.0_Modelica.StateGraph.Examples.FirstExample_Variant3.sim & ./Modelica_4.0.0_Modelica.StateGraph.Examples.FirstExample_Variant3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.StateGraph.Examples.FirstExample_Variant3.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.964696246024687] Failed to read output from testmodel.py, exit status != 0: ['time', 'transition1.enableFire', 'transition2.enableFire'] 0.2561366759473458 0.26823760899999993 0.25914923599999995 Calling exit ...