Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test40.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test40,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test40") translateModel(ModelicaTest.Tables.CombiTimeTable.Test40,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test40") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001267/0.001267, allocations: 181.8 kB / 12.74 MB, free: 2.582 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.795/1.795, allocations: 194.3 MB / 207.5 MB, free: 3.395 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001607/0.001607, allocations: 114.7 kB / 252.6 MB, free: 4.828 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2175/0.2175, allocations: 39.94 MB / 337.5 MB, free: 476 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.148e-05/4.161e-05, allocations: 4 kB / 400.3 MB, free: 69.87 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.114/0.1141, allocations: 54.87 MB / 455.2 MB, free: 14.96 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4295/0.5436, allocations: 82.04 MB / 0.5246 GB, free: 9.086 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000323/0.5441, allocations: 74.2 kB / 0.5247 GB, free: 9.047 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2312:7-2313:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableValue. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2358:7-2359:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableTimeTmin. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2369:7-2370:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableTimeTmax. Notification: Performance of FrontEnd - DAE generated: time 0.01149/0.5556, allocations: 4.673 MB / 0.5292 GB, free: 5.348 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.264e-06/0.5556, allocations: 0 / 0.5292 GB, free: 5.348 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.117e-05/0.5556, allocations: 7.938 kB / 0.5293 GB, free: 5.34 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004101/0.556, allocations: 460.8 kB / 0.5297 GB, free: 4.844 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/0.5561, allocations: 11.97 kB / 0.5297 GB, free: 4.832 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.917e-05/0.5561, allocations: 7.906 kB / 0.5297 GB, free: 4.824 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002435/0.5564, allocations: 212.2 kB / 0.5299 GB, free: 4.586 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.21e-05/0.5564, allocations: 4 kB / 0.5299 GB, free: 4.582 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.229e-05/0.5564, allocations: 8 kB / 0.5299 GB, free: 4.574 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001102/0.5566, allocations: 57.23 kB / 0.53 GB, free: 4.52 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.5566, allocations: 0 / 0.53 GB, free: 4.52 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.369e-05/0.5566, allocations: 3.953 kB / 0.53 GB, free: 4.516 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.5566, allocations: 0 / 0.53 GB, free: 4.516 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.732e-05/0.5567, allocations: 27.73 kB / 0.53 GB, free: 4.496 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003075/0.557, allocations: 315.5 kB / 0.5303 GB, free: 4.164 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.979e-05/0.5571, allocations: 58.12 kB / 0.5304 GB, free: 4.109 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.37e-05/0.5571, allocations: 20.41 kB / 0.5304 GB, free: 4.09 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.375e-05/0.5572, allocations: 0 / 0.5304 GB, free: 4.09 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001168/0.5573, allocations: 71.11 kB / 0.5305 GB, free: 4.016 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.513e-06/0.5573, allocations: 0 / 0.5305 GB, free: 4.016 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004079/0.5577, allocations: 164.5 kB / 0.5306 GB, free: 3.875 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.232e-05/0.5577, allocations: 63.34 kB / 0.5307 GB, free: 3.801 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001439/0.5579, allocations: 193.1 kB / 0.5309 GB, free: 3.629 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.384e-05/0.5579, allocations: 29.52 kB / 0.5309 GB, free: 3.598 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.412e-05/0.558, allocations: 107.5 kB / 0.531 GB, free: 3.5 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.993e-05/0.558, allocations: 23.25 kB / 0.531 GB, free: 3.484 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.172e-06/0.558, allocations: 0 / 0.531 GB, free: 3.484 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.393e-05/0.558, allocations: 326.4 kB / 0.5313 GB, free: 3.164 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.515e-05/0.5581, allocations: 35.55 kB / 0.5314 GB, free: 3.141 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.873e-05/0.5582, allocations: 53.09 kB / 0.5314 GB, free: 3.098 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.013e-05/0.5583, allocations: 73.11 kB / 0.5315 GB, free: 3.035 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.5583, allocations: 3.938 kB / 0.5315 GB, free: 3.031 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001892/0.5585, allocations: 178.1 kB / 0.5316 GB, free: 2.875 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.476e-05/0.5585, allocations: 37.69 kB / 0.5317 GB, free: 2.832 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.5585, allocations: 4 kB / 0.5317 GB, free: 2.828 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.038e-05/0.5585, allocations: 0 / 0.5317 GB, free: 2.828 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.055e-05/0.5586, allocations: 15.88 kB / 0.5317 GB, free: 2.816 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.5586, allocations: 8.031 kB / 0.5317 GB, free: 2.809 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.255e-05/0.5587, allocations: 7.984 kB / 0.5317 GB, free: 2.801 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.29e-05/0.5587, allocations: 7.984 kB / 0.5317 GB, free: 2.793 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.986e-05/0.5588, allocations: 116.7 kB / 0.5318 GB, free: 2.676 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.749e-05/0.5588, allocations: 19.77 kB / 0.5319 GB, free: 2.656 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001832/0.559, allocations: 116.9 kB / 0.532 GB, free: 2.555 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.559, allocations: 0 / 0.532 GB, free: 2.555 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.559, allocations: 4 kB / 0.532 GB, free: 2.551 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.559, allocations: 4 kB / 0.532 GB, free: 2.547 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003219/0.5593, allocations: 415.7 kB / 0.5324 GB, free: 2.129 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.5593, allocations: 0 / 0.5324 GB, free: 2.129 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.596e-05/0.5594, allocations: 8 kB / 0.5324 GB, free: 2.121 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.5594, allocations: 4 kB / 0.5324 GB, free: 2.117 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.025e-05/0.5594, allocations: 3.984 kB / 0.5324 GB, free: 2.113 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.5594, allocations: 0 / 0.5324 GB, free: 2.113 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.5594, allocations: 4 kB / 0.5324 GB, free: 2.109 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001507/0.5596, allocations: 225.5 kB / 0.5326 GB, free: 1.883 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.77e-05/0.5596, allocations: 102.2 kB / 0.5327 GB, free: 1.77 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.473e-05/0.5597, allocations: 4 kB / 0.5327 GB, free: 1.766 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.908e-05/0.5597, allocations: 0 / 0.5327 GB, free: 1.766 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.261e-05/0.5598, allocations: 11.73 kB / 0.5327 GB, free: 1.758 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.736e-06/0.5598, allocations: 4 kB / 0.5327 GB, free: 1.754 MB / 346.7 MB Notification: Performance of sorting global known variables: time 9.801e-05/0.5599, allocations: 154.1 kB / 0.5329 GB, free: 1.625 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5599, allocations: 288 / 0.5329 GB, free: 1.625 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002448/0.5602, allocations: 42.98 kB / 0.5329 GB, free: 1.586 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008959/0.5611, allocations: 397.3 kB / 0.5333 GB, free: 1.27 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002095/0.5613, allocations: 162.6 kB / 0.5334 GB, free: 1.137 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.5613, allocations: 0 / 0.5334 GB, free: 1.137 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.262e-05/0.5614, allocations: 35.81 kB / 0.5335 GB, free: 1.109 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002296/0.5616, allocations: 31.34 kB / 0.5335 GB, free: 1.086 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003299/0.5619, allocations: 182.5 kB / 0.5337 GB, free: 0.8945 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001523/0.5621, allocations: 0.7113 MB / 0.5344 GB, free: 164 kB / 346.7 MB Notification: Performance of simCode: alias equations: time 5.112e-05/0.5622, allocations: 24.47 kB / 0.5344 GB, free: 140 kB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.284e-05/0.5622, allocations: 11.44 kB / 0.5344 GB, free: 128 kB / 346.7 MB Notification: Performance of SimCode: time 2.3e-07/0.5622, allocations: 4 kB / 0.5344 GB, free: 124 kB / 346.7 MB Notification: Performance of Templates: time 0.004345/0.5665, allocations: 1.789 MB / 0.5362 GB, free: 14.36 MB / 362.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test40.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test40.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test40.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test40 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test40.pipe 2>&1)