Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Blocks.FirstOrderHold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+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.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(ModelicaTest.Blocks.FirstOrderHold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Blocks.FirstOrderHold") translateModel(ModelicaTest.Blocks.FirstOrderHold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Blocks.FirstOrderHold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001137/0.001137, allocations: 106.6 kB / 16.42 MB, free: 6.457 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001095/0.001095, allocations: 190 kB / 17.36 MB, free: 5.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.192/1.192, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.1591/0.1591, allocations: 38.01 MB / 308.6 MB, free: 5.977 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.437e-05/1.437e-05, allocations: 2.281 kB / 433.6 MB, free: 14.5 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.FirstOrderHold): time 0.001635/0.001657, allocations: 1.513 MB / 435.1 MB, free: 12.97 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006491/0.002317, allocations: 0.5249 MB / 435.6 MB, free: 12.44 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.233e-05/0.00237, allocations: 3.938 kB / 435.6 MB, free: 12.43 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 3.191e-05/0.002408, allocations: 7.922 kB / 435.6 MB, free: 12.43 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.337e-05/0.002487, allocations: 23.8 kB / 435.7 MB, free: 12.4 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000166/0.002667, allocations: 31.89 kB / 435.7 MB, free: 12.37 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 8.74e-05/0.002762, allocations: 95.69 kB / 435.8 MB, free: 12.28 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.633e-05/0.002854, allocations: 16 kB / 435.8 MB, free: 12.26 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.511e-05/0.002945, allocations: 47.77 kB / 435.8 MB, free: 12.21 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.293e-05/0.003005, allocations: 35.84 kB / 435.9 MB, free: 12.18 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.642e-05/0.003027, allocations: 8 kB / 435.9 MB, free: 12.17 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.159e-05/0.003043, allocations: 8 kB / 435.9 MB, free: 12.16 MB / 318.1 MB Notification: Performance of combineBinaries: time 7.26e-05/0.003119, allocations: 122.6 kB / 436 MB, free: 12.04 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 1.825e-05/0.003142, allocations: 67.03 kB / 436.1 MB, free: 11.98 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.618e-05/0.003173, allocations: 11.94 kB / 436.1 MB, free: 11.96 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.11e-05/0.003188, allocations: 4 kB / 436.1 MB, free: 11.96 MB / 318.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 Bindings: time 0.0003176/0.00351, allocations: 463.2 kB / 436.5 MB, free: 11.41 MB / 318.1 MB Notification: Performance of FunctionAlias: time 5.359e-05/0.003569, allocations: 35.86 kB / 436.6 MB, free: 11.37 MB / 318.1 MB Notification: Performance of Early Inline: time 0.0001333/0.003708, allocations: 224.2 kB / 436.8 MB, free: 11.12 MB / 318.1 MB Notification: Performance of simplify1: time 2.225e-05/0.003736, allocations: 23.95 kB / 436.8 MB, free: 11.1 MB / 318.1 MB Notification: Performance of Alias: time 0.0002299/0.00397, allocations: 212.8 kB / 437 MB, free: 10.85 MB / 318.1 MB Notification: Performance of simplify2: time 1.289e-05/0.003991, allocations: 19.95 kB / 437.1 MB, free: 10.83 MB / 318.1 MB Notification: Performance of Events: time 7.61e-05/0.004072, allocations: 72.94 kB / 437.1 MB, free: 10.76 MB / 318.1 MB Notification: Performance of Detect States: time 0.0001466/0.004224, allocations: 165.6 kB / 437.3 MB, free: 10.58 MB / 318.1 MB Notification: Performance of Partitioning: time 9.502e-05/0.004326, allocations: 104 kB / 437.4 MB, free: 10.47 MB / 318.1 MB Notification: Performance of Causalize: time 0.0003927/0.004725, allocations: 0.545 MB / 437.9 MB, free: 9.926 MB / 318.1 MB Notification: Performance of After Index Reduction Inline: time 0.0001562/0.004889, allocations: 292.1 kB / 438.2 MB, free: 9.613 MB / 318.1 MB Notification: Performance of Inline: time 0.000297/0.005191, allocations: 462.9 kB / 438.7 MB, free: 9.125 MB / 318.1 MB Notification: Performance of Partitioning: time 2.346e-05/0.005223, allocations: 32.06 kB / 438.7 MB, free: 9.086 MB / 318.1 MB Notification: Performance of Cleanup: time 1.974e-05/0.005247, allocations: 23.97 kB / 438.7 MB, free: 9.062 MB / 318.1 MB Notification: Performance of Causalize: time 0.0004492/0.0057, allocations: 0.7183 MB / 439.4 MB, free: 8.348 MB / 318.1 MB Notification: Performance of Tearing: time 4.809e-06/0.005713, allocations: 0 / 439.4 MB, free: 8.348 MB / 318.1 MB Notification: Performance of Initialization: time 3.3e-07/0.005718, allocations: 0 / 439.4 MB, free: 8.348 MB / 318.1 MB Notification: Performance of Tearing: time 8.52e-07/0.005722, allocations: 0 / 439.4 MB, free: 8.348 MB / 318.1 MB Notification: Performance of Categorize: time 5.711e-06/0.005732, allocations: 3.938 kB / 439.4 MB, free: 8.344 MB / 318.1 MB Notification: Performance of Solve: time 8.395e-05/0.00582, allocations: 77.67 kB / 439.5 MB, free: 8.266 MB / 318.1 MB Notification: Performance of Jacobian: time 2.545e-06/0.005828, allocations: 4.156 kB / 439.5 MB, free: 8.262 MB / 318.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.tSample, firstOrderHold.uSample, firstOrderHold.c, firstOrderHold.pre_uSample, zeroOrderHold.firstTrigger, zeroOrderHold.ySample} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 10 (10) {zeroOrderHold.sampleTrigger, firstOrderHold.sampleTrigger, $TEV_7, $TEV_6, $TEV_5, $TEV_4, $TEV_3, $TEV_2, $TEV_1, $TEV_0} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 14 (scalar:14, 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 (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: ........... 29 (scalar:29, 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 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 3.455e-05/0.005866, allocations: 27.7 kB / 439.6 MB, free: 8.234 MB / 318.1 MB Notification: Performance of SimCode: time 0.0003337/0.006205, allocations: 0.9244 MB / 440.5 MB, free: 7.293 MB / 318.1 MB Notification: Performance of Templates: time 0.002397/0.008612, allocations: 0.9825 MB / 441.5 MB, free: 6.316 MB / 318.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Blocks.FirstOrderHold.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Blocks.FirstOrderHold.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Blocks.FirstOrderHold.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Blocks.FirstOrderHold.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Blocks.FirstOrderHold.sim & ./ModelicaTest_3.2.1_ModelicaTest.Blocks.FirstOrderHold -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Blocks.FirstOrderHold.pipe 2>&1)