Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.FirstOrderHold.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.001571/0.001571, allocations: 100.4 kB / 20.52 MB, free: 1.148 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.00163/0.00163, allocations: 211.1 kB / 23.82 MB, free: 4.344 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.553/1.553, allocations: 207.7 MB / 234.7 MB, free: 9.758 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2413/0.2413, allocations: 44.27 MB / 331.2 MB, free: 9.266 MB / 270.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.FirstOrderHold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5041,variableFilter="time|firstOrderHold.c|firstOrderHold.firstTrigger|firstOrderHold.pre_uSample|firstOrderHold.tSample|firstOrderHold.uSample|zeroOrderHold.firstTrigger|zeroOrderHold.ySample",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.FirstOrderHold") translateModel(ModelicaTest.Blocks.FirstOrderHold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5041,variableFilter="time|firstOrderHold.c|firstOrderHold.firstTrigger|firstOrderHold.pre_uSample|firstOrderHold.tSample|firstOrderHold.uSample|zeroOrderHold.firstTrigger|zeroOrderHold.ySample",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.FirstOrderHold") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.509e-05/2.509e-05, allocations: 5.656 kB / 468.8 MB, free: 3.863 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.FirstOrderHold): time 0.003509/0.003534, allocations: 1.516 MB / 470.3 MB, free: 2.34 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001223/0.004757, allocations: 0.5007 MB / 470.8 MB, free: 1.832 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.627e-05/0.004803, allocations: 0 / 470.8 MB, free: 1.832 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.384e-05/0.004837, allocations: 3.938 kB / 470.8 MB, free: 1.828 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.487e-05/0.004932, allocations: 11.88 kB / 470.8 MB, free: 1.816 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002301/0.005162, allocations: 43.88 kB / 470.9 MB, free: 1.773 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001452/0.005307, allocations: 95.7 kB / 471 MB, free: 1.68 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001334/0.005441, allocations: 11.98 kB / 471 MB, free: 1.668 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001474/0.005588, allocations: 43.84 kB / 471 MB, free: 1.625 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.807e-05/0.005666, allocations: 31.83 kB / 471.1 MB, free: 1.594 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.427e-05/0.00569, allocations: 8 kB / 471.1 MB, free: 1.586 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.835e-05/0.005709, allocations: 8 kB / 471.1 MB, free: 1.578 MB / 334.1 MB Notification: Performance of combineBinaries: time 0.0001605/0.005869, allocations: 146.6 kB / 471.2 MB, free: 1.434 MB / 334.1 MB Notification: Performance of replaceArrayConstructors: time 6.295e-05/0.005932, allocations: 86.81 kB / 471.3 MB, free: 1.348 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.764e-05/0.00596, allocations: 4 kB / 471.3 MB, free: 1.344 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.793e-05/0.005978, allocations: 7.938 kB / 471.3 MB, free: 1.336 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 (14) * Number of variables: 14 (14) Notification: Performance of [SIM] Bindings: time 0.0007163/0.006694, allocations: 0.4953 MB / 471.8 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0002313/0.006925, allocations: 71.92 kB / 471.9 MB, free: 0.6367 MB / 334.1 MB Notification: Performance of [SIM] Early Inline: time 0.0003849/0.00731, allocations: 248 kB / 472.1 MB, free: 376 kB / 334.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0002631/0.007573, allocations: 100.6 kB / 472.2 MB, free: 228 kB / 334.1 MB Notification: Performance of [SIM] Alias: time 0.0005463/0.00812, allocations: 272.4 kB / 472.5 MB, free: 15.9 MB / 350.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0002043/0.008324, allocations: 104.7 kB / 472.6 MB, free: 15.75 MB / 350.1 MB Notification: Performance of [SIM] Remove Stream: time 7.455e-05/0.008399, allocations: 68.53 kB / 472.7 MB, free: 15.66 MB / 350.1 MB Notification: Performance of [SIM] Detect States: time 0.0003799/0.008778, allocations: 162.1 kB / 472.8 MB, free: 15.44 MB / 350.1 MB Notification: Performance of [SIM] Events: time 9.147e-05/0.00887, allocations: 41.16 kB / 472.9 MB, free: 15.4 MB / 350.1 MB Notification: Performance of [SIM] Partitioning: time 0.000314/0.009184, allocations: 132 kB / 473 MB, free: 15.27 MB / 350.1 MB Notification: Performance of [SIM] Causalize: time 0.0004755/0.009659, allocations: 232.2 kB / 473.2 MB, free: 15.03 MB / 350.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0003588/0.01002, allocations: 239.8 kB / 473.4 MB, free: 14.8 MB / 350.1 MB Notification: Performance of [INI] Simplify: time 0.000388/0.01041, allocations: 231.6 kB / 473.7 MB, free: 14.5 MB / 350.1 MB Notification: Performance of [INI] Inline: time 0.0003035/0.01071, allocations: 307.8 kB / 474 MB, free: 14.2 MB / 350.1 MB Notification: Performance of [INI] Partitioning: time 2.63e-05/0.01074, allocations: 16.12 kB / 474 MB, free: 14.18 MB / 350.1 MB Notification: Performance of [INI] Cleanup: time 6.104e-05/0.0108, allocations: 67.88 kB / 474 MB, free: 14.11 MB / 350.1 MB Notification: Performance of [INI] Causalize: time 0.000887/0.01168, allocations: 0.5945 MB / 474.6 MB, free: 13.51 MB / 350.1 MB Notification: Performance of [INI] Tearing: time 2.059e-05/0.0117, allocations: 16 kB / 474.7 MB, free: 13.49 MB / 350.1 MB Notification: Performance of [SIM] Initialization: time 3.81e-07/0.0117, allocations: 0 / 474.7 MB, free: 13.49 MB / 350.1 MB Notification: Performance of [SIM] DAE-Mode: time 8.723e-05/0.01179, allocations: 48.05 kB / 474.7 MB, free: 13.44 MB / 350.1 MB Notification: Performance of [SIM] Remove Dummies: time 4.529e-06/0.0118, allocations: 0 / 474.7 MB, free: 13.44 MB / 350.1 MB Notification: Performance of [SIM] Tearing: time 9.027e-06/0.01181, allocations: 8 kB / 474.7 MB, free: 13.43 MB / 350.1 MB Notification: Performance of [SIM] Categorize: time 6.933e-06/0.01181, allocations: 0 / 474.7 MB, free: 13.43 MB / 350.1 MB Notification: Performance of [SIM] Solve: time 0.0002855/0.0121, allocations: 173.8 kB / 474.9 MB, free: 13.26 MB / 350.1 MB Notification: Performance of [SIM] Jacobian: time 0.000277/0.01238, allocations: 182 kB / 475.1 MB, free: 13.05 MB / 350.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: .................... 7 (7) {firstOrderHold.firstTrigger, firstOrderHold.c, firstOrderHold.pre_uSample, firstOrderHold.uSample, firstOrderHold.tSample, zeroOrderHold.firstTrigger, zeroOrderHold.ySample} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 7 (7) {zeroOrderHold.sampleTrigger, firstOrderHold.sampleTrigger, $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: ........... 11 (scalar:11, array:0, record:0) * Number of multi strong components: ............ 7 (algorithm:0, when:7, 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: ........... 26 (scalar:26, array:0, record:0) * Number of multi strong components: ............ 1 (algorithm:1, 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.0001595/0.01253, allocations: 43.3 kB / 475.1 MB, free: 13.02 MB / 350.1 MB Notification: Performance of SimCode: time 0.001051/0.01359, allocations: 318.1 kB / 475.4 MB, free: 12.69 MB / 350.1 MB Notification: Performance of Templates: time 0.004522/0.01811, allocations: 0.7911 MB / 476.2 MB, free: 11.9 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.FirstOrderHold.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.FirstOrderHold.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.FirstOrderHold.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.FirstOrderHold.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.FirstOrderHold.sim & ./ModelicaTest_3.2.3_ModelicaTest.Blocks.FirstOrderHold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.FirstOrderHold.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.0410774479969405] Failed to read output from testmodel.py, exit status != 0: ['time', 'firstOrderHold.c', 'firstOrderHold.firstTrigger', 'firstOrderHold.pre_uSample', 'firstOrderHold.tSample', 'firstOrderHold.uSample', 'zeroOrderHold.firstTrigger', 'zeroOrderHold.ySample'] 0.02719736599829048 0.041821585 0.032920033 Calling exit ...