Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Blocks.Logical.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.001608/0.001608, allocations: 95.66 kB / 21.25 MB, free: 428 kB / 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.001836/0.001836, allocations: 207.2 kB / 24.55 MB, free: 3.727 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.436/1.436, allocations: 230.6 MB / 258.3 MB, free: 7.746 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2189/0.2189, allocations: 44.94 MB / 359.7 MB, free: 6.031 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) 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(ModelicaTest.Blocks.Logical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5086,variableFilter="time|change1.u|edge1.u|fallingEdge.not_u|hysteresis.y|onOffController.y|pre1.u|rSFlipFlop.pre.u|table1.y|table2.y|timer.entryTime|triggeredTrapezoid.T|triggeredTrapezoid.endValue|triggeredTrapezoid.rate|triggeredTrapezoid.y|zeroCrossing.disable|zeroCrossing.enable|zeroCrossing.u_pos",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Blocks.Logical") translateModel(ModelicaTest.Blocks.Logical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5086,variableFilter="time|change1.u|edge1.u|fallingEdge.not_u|hysteresis.y|onOffController.y|pre1.u|rSFlipFlop.pre.u|table1.y|table2.y|timer.entryTime|triggeredTrapezoid.T|triggeredTrapezoid.endValue|triggeredTrapezoid.rate|triggeredTrapezoid.y|zeroCrossing.disable|zeroCrossing.enable|zeroCrossing.u_pos",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Blocks.Logical") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.469e-05/2.469e-05, allocations: 2.281 kB / 0.4943 GB, free: 10.04 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Logical): time 0.005128/0.005153, allocations: 2.647 MB / 0.4969 GB, free: 7.383 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00293/0.008082, allocations: 1.508 MB / 0.4984 GB, free: 5.867 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001817/0.008264, allocations: 11.94 kB / 0.4984 GB, free: 5.855 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009406/0.009205, allocations: 350.7 kB / 0.4987 GB, free: 5.512 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006353/0.00984, allocations: 294.7 kB / 0.499 GB, free: 5.223 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007472/0.01059, allocations: 358 kB / 0.4994 GB, free: 4.875 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008135/0.0114, allocations: 0.7688 MB / 0.5001 GB, free: 4.102 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003987/0.0118, allocations: 156.3 kB / 0.5003 GB, free: 3.941 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004836/0.01228, allocations: 338.9 kB / 0.5006 GB, free: 3.609 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003664/0.01265, allocations: 302.6 kB / 0.5009 GB, free: 3.312 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.46e-05/0.01273, allocations: 52 kB / 0.5009 GB, free: 3.262 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002463/0.01298, allocations: 123.9 kB / 0.501 GB, free: 3.141 MB / 366.1 MB Notification: Performance of combineBinaries: time 0.0009249/0.01391, allocations: 1.114 MB / 0.5021 GB, free: 2.016 MB / 366.1 MB Notification: Performance of replaceArrayConstructors: time 0.0004617/0.01437, allocations: 0.6785 MB / 0.5028 GB, free: 1.328 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.015e-05/0.01444, allocations: 35.94 kB / 0.5028 GB, free: 1.293 MB / 366.1 MB Notification: Performance of FrontEnd: time 8.081e-05/0.01452, allocations: 31.69 kB / 0.5028 GB, free: 1.262 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 100 (100) * Number of variables: 100 (100) Notification: Performance of [SIM] Bindings: time 0.002519/0.01704, allocations: 2.335 MB / 0.5051 GB, free: 14.79 MB / 382.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0003294/0.01737, allocations: 285.8 kB / 0.5054 GB, free: 14.5 MB / 382.1 MB Notification: Performance of [SIM] Early Inline: time 0.001377/0.01874, allocations: 1.362 MB / 0.5067 GB, free: 13.11 MB / 382.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0004039/0.01915, allocations: 264.2 kB / 0.507 GB, free: 12.8 MB / 382.1 MB Notification: Performance of [SIM] Alias: time 0.00277/0.02192, allocations: 1.962 MB / 0.5089 GB, free: 10.65 MB / 382.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0003003/0.02222, allocations: 214.2 kB / 0.5091 GB, free: 10.39 MB / 382.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0001641/0.02238, allocations: 138.9 kB / 0.5092 GB, free: 10.23 MB / 382.1 MB Notification: Performance of [SIM] Detect States: time 0.0005508/0.02293, allocations: 414 kB / 0.5096 GB, free: 9.777 MB / 382.1 MB Notification: Performance of [SIM] Events: time 0.0004611/0.02339, allocations: 317.6 kB / 0.5099 GB, free: 9.473 MB / 382.1 MB Notification: Performance of [SIM] Partitioning: time 0.0006656/0.02406, allocations: 0.5345 MB / 0.5105 GB, free: 8.926 MB / 382.1 MB Notification: Performance of [SIM] Causalize: time 0.001691/0.02575, allocations: 1.196 MB / 0.5116 GB, free: 7.703 MB / 382.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.001109/0.02686, allocations: 1.147 MB / 0.5127 GB, free: 6.555 MB / 382.1 MB Notification: Performance of [INI] Simplify: time 0.003781/0.03064, allocations: 1.023 MB / 0.5137 GB, free: 5.527 MB / 382.1 MB Notification: Performance of [INI] Inline: time 0.001803/0.03244, allocations: 1.823 MB / 0.5155 GB, free: 3.695 MB / 382.1 MB Notification: Performance of [INI] Partitioning: time 7.83e-05/0.03252, allocations: 48 kB / 0.5156 GB, free: 3.645 MB / 382.1 MB Notification: Performance of [INI] Cleanup: time 0.0003015/0.03282, allocations: 307.7 kB / 0.5159 GB, free: 3.344 MB / 382.1 MB Notification: Performance of [INI] Causalize: time 0.004353/0.03717, allocations: 3.223 MB / 0.519 GB, free: 64 kB / 382.1 MB Notification: Performance of [INI] Tearing: time 4.726e-05/0.03722, allocations: 64 kB / 0.5191 GB, free: 0 / 382.1 MB Notification: Performance of [SIM] Initialization: time 9.72e-07/0.03722, allocations: 0 / 0.5191 GB, free: 0 / 382.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.2455/0.2827, allocations: 125.3 kB / 0.5192 GB, free: 30.09 MB / 382.1 MB Notification: Performance of [SIM] Remove Dummies: time 1.331e-05/0.2827, allocations: 3.922 kB / 0.5192 GB, free: 30.09 MB / 382.1 MB Notification: Performance of [SIM] Tearing: time 4.209e-05/0.2828, allocations: 53.84 kB / 0.5192 GB, free: 30.09 MB / 382.1 MB Notification: Performance of [SIM] Categorize: time 3.031e-05/0.2828, allocations: 5.25 kB / 0.5192 GB, free: 30.09 MB / 382.1 MB Notification: Performance of [SIM] Solve: time 0.001767/0.2846, allocations: 0.7936 MB / 0.52 GB, free: 30.08 MB / 382.1 MB Notification: Performance of [SIM] Jacobian: time 0.0002206/0.2848, allocations: 219.4 kB / 0.5202 GB, free: 29.89 MB / 382.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: ......... 2 * 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: .................... 8 (8) {timer.entryTime, triggeredTrapezoid.T, triggeredTrapezoid.rate, triggeredTrapezoid.endValue, table2.combiTimeTable.nextTimeEvent, table2.combiTimeTable.nextTimeEventScaled, table1.combiTimeTable.nextTimeEvent, table1.combiTimeTable.nextTimeEventScaled} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 70 (70) {and1.u1, and1.u2, or1.u1, xor.y, nor.y, pre1.u, edge1.u, edge1.y, fallingEdge.y, fallingEdge.not_u, change1.u, change1.y, greaterEqualThreshold.y, lessThreshold.y, lessEqualThreshold.y, greater.y, greaterEqual.y, less.y, lessEqual.y, zeroCrossing.y, zeroCrossing.enable, zeroCrossing.disable, zeroCrossing.u_pos, logicalSwitch.u1, logicalSwitch.u2, logicalSwitch.y, hysteresis.y, onOffController.y, rSFlipFlop.Q, rSFlipFlop.QI, rSFlipFlop.nor.y, rSFlipFlop.pre.u, $SEV_30, $SEV_29, $SEV_28, $SEV_27, $SEV_26, $SEV_25, $SEV_24, $SEV_23, $SEV_22, $SEV_21, $SEV_20, $SEV_19, $SEV_18, $SEV_17, $SEV_16, $SEV_15, $SEV_14, $SEV_13, $SEV_12, $SEV_11, $SEV_10, $SEV_9, $SEV_8, $SEV_7, $SEV_6, $SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0, $TEV_6, $TEV_5, $TEV_4, $TEV_3, $TEV_2, $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: ........... 81 (scalar:81, array:0, record:0) * Number of multi strong components: ............ 8 (algorithm:0, when:8, 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: ........... 120 (scalar:118, array:2, record:0) * Number of multi strong components: ............ 7 (algorithm:7, 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.0001166/0.2849, allocations: 84.69 kB / 0.5203 GB, free: 29.84 MB / 382.1 MB Notification: Performance of SimCode: time 0.005151/0.2901, allocations: 2.207 MB / 0.5225 GB, free: 29.25 MB / 382.1 MB Notification: Performance of Templates: time 0.01614/0.3062, allocations: 6.026 MB / 0.5284 GB, free: 28.64 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.Logical.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.Logical.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.Logical.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.Logical.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.Logical.sim & ./ModelicaTest_4.0.0_ModelicaTest.Blocks.Logical -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Blocks.Logical.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.167950840026606] Failed to read output from testmodel.py, exit status != 0: ['time', 'change1.u', 'edge1.u', 'fallingEdge.not_u', 'hysteresis.y', 'onOffController.y', 'pre1.u', 'rSFlipFlop.pre.u', 'table1.y', 'table2.y', 'timer.entryTime', 'triggeredTrapezoid.T', 'triggeredTrapezoid.endValue', 'triggeredTrapezoid.rate', 'triggeredTrapezoid.y', 'zeroCrossing.disable', 'zeroCrossing.enable', 'zeroCrossing.u_pos'] 0.31435654900269583 0.326554178 0.30949222099999996 Calling exit ...