Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test5.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.Test5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test5") translateModel(ModelicaTest.Tables.CombiTimeTable.Test5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001084/0.001084, allocations: 181.9 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.751/1.751, allocations: 194.3 MB / 207.5 MB, free: 3.465 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.001724/0.001724, allocations: 113.9 kB / 252.6 MB, free: 4.824 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.2295/0.2295, allocations: 39.93 MB / 337.5 MB, free: 480 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.541e-05/4.604e-05, allocations: 4 kB / 400.3 MB, free: 69.87 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1229/0.123, allocations: 54.86 MB / 455.2 MB, free: 14.97 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4272/0.5502, allocations: 82.1 MB / 0.5247 GB, free: 9.023 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002248/0.5505, allocations: 76.08 kB / 0.5247 GB, free: 8.984 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.01194/0.5624, allocations: 5.136 MB / 0.5297 GB, free: 4.898 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.515e-06/0.5624, allocations: 0 / 0.5297 GB, free: 4.898 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.16e-05/0.5625, allocations: 7.938 kB / 0.5298 GB, free: 4.891 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003879/0.5629, allocations: 473.2 kB / 0.5302 GB, free: 4.383 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.5629, allocations: 8.031 kB / 0.5302 GB, free: 4.375 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.881e-05/0.563, allocations: 15.81 kB / 0.5302 GB, free: 4.359 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003022/0.5633, allocations: 234.1 kB / 0.5305 GB, free: 4.105 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.873e-05/0.5633, allocations: 0 / 0.5305 GB, free: 4.105 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.524e-05/0.5633, allocations: 8 kB / 0.5305 GB, free: 4.098 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001279/0.5635, allocations: 64.92 kB / 0.5305 GB, free: 4.039 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.5635, allocations: 11.88 kB / 0.5305 GB, free: 4.027 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.284e-05/0.5635, allocations: 3.688 kB / 0.5305 GB, free: 4.027 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.5635, allocations: 0 / 0.5305 GB, free: 4.027 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.827e-05/0.5636, allocations: 39.67 kB / 0.5306 GB, free: 3.996 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003585/0.564, allocations: 346 kB / 0.5309 GB, free: 3.645 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001377/0.5641, allocations: 82.3 kB / 0.531 GB, free: 3.57 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.022e-05/0.5642, allocations: 28.41 kB / 0.531 GB, free: 3.547 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.105e-05/0.5642, allocations: 0 / 0.531 GB, free: 3.547 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001216/0.5643, allocations: 78.77 kB / 0.5311 GB, free: 3.469 MB / 346.7 MB Notification: Performance of pre-optimization done (n=8): time 1.363e-06/0.5643, allocations: 0 / 0.5311 GB, free: 3.469 MB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004826/0.5648, allocations: 223.1 kB / 0.5313 GB, free: 3.285 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.416e-05/0.5648, allocations: 51.41 kB / 0.5313 GB, free: 3.223 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001768/0.565, allocations: 228.2 kB / 0.5316 GB, free: 3.027 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.518e-05/0.565, allocations: 25.7 kB / 0.5316 GB, free: 2.996 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.566e-05/0.5651, allocations: 111.3 kB / 0.5317 GB, free: 2.898 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.591e-05/0.5651, allocations: 34.92 kB / 0.5317 GB, free: 2.871 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.253e-06/0.5651, allocations: 4 kB / 0.5317 GB, free: 2.867 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.104e-05/0.5652, allocations: 330.2 kB / 0.532 GB, free: 2.543 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.732e-05/0.5653, allocations: 47.38 kB / 0.5321 GB, free: 2.516 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.399e-05/0.5654, allocations: 64.89 kB / 0.5322 GB, free: 2.465 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.6e-05/0.5655, allocations: 84.67 kB / 0.5322 GB, free: 2.395 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.5655, allocations: 11.83 kB / 0.5322 GB, free: 2.383 MB / 346.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002269/0.5657, allocations: 205.7 kB / 0.5324 GB, free: 2.211 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.436e-05/0.5657, allocations: 33.7 kB / 0.5325 GB, free: 2.172 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.5657, allocations: 8.031 kB / 0.5325 GB, free: 2.164 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.694e-05/0.5658, allocations: 0 / 0.5325 GB, free: 2.164 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.936e-05/0.5659, allocations: 23.92 kB / 0.5325 GB, free: 2.141 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/0.5659, allocations: 4 kB / 0.5325 GB, free: 2.137 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.661e-05/0.5659, allocations: 7.938 kB / 0.5325 GB, free: 2.133 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.237e-05/0.566, allocations: 4 kB / 0.5325 GB, free: 2.129 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 (14): * Single equations (assignments): 13 * 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 5.721e-05/0.566, allocations: 113.8 kB / 0.5326 GB, free: 2.016 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.05e-05/0.5661, allocations: 23.77 kB / 0.5327 GB, free: 1.992 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000249/0.5663, allocations: 174.2 kB / 0.5328 GB, free: 1.844 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.5663, allocations: 0 / 0.5328 GB, free: 1.844 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.5663, allocations: 4 kB / 0.5328 GB, free: 1.84 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.5663, allocations: 0 / 0.5328 GB, free: 1.84 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003993/0.5667, allocations: 491.8 kB / 0.5333 GB, free: 1.363 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.5668, allocations: 0 / 0.5333 GB, free: 1.363 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.527e-05/0.5668, allocations: 23.86 kB / 0.5333 GB, free: 1.344 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.5668, allocations: 4.031 kB / 0.5333 GB, free: 1.34 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.2e-05/0.5668, allocations: 4 kB / 0.5333 GB, free: 1.336 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.5668, allocations: 0 / 0.5333 GB, free: 1.336 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.5669, allocations: 0 / 0.5333 GB, free: 1.336 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001929/0.5671, allocations: 257.4 kB / 0.5336 GB, free: 1.086 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.977e-05/0.5671, allocations: 112.2 kB / 0.5337 GB, free: 0.9648 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.692e-05/0.5672, allocations: 11.86 kB / 0.5337 GB, free: 0.957 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.04e-05/0.5672, allocations: 4 kB / 0.5337 GB, free: 0.9531 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.413e-05/0.5673, allocations: 7.984 kB / 0.5337 GB, free: 0.9453 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.076e-05/0.5673, allocations: 8 kB / 0.5337 GB, free: 0.9375 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001157/0.5674, allocations: 183 kB / 0.5339 GB, free: 0.7891 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.5674, allocations: 0 / 0.5339 GB, free: 0.7891 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002469/0.5677, allocations: 47.89 kB / 0.5339 GB, free: 0.7461 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 (13): * Single equations (assignments): 11 * 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.0008117/0.5685, allocations: 413.6 kB / 0.5343 GB, free: 428 kB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002297/0.5687, allocations: 197 kB / 0.5345 GB, free: 272 kB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.5688, allocations: 0 / 0.5345 GB, free: 272 kB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.272e-05/0.5688, allocations: 39.31 kB / 0.5345 GB, free: 244 kB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002259/0.5691, allocations: 19.73 kB / 0.5346 GB, free: 224 kB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003946/0.5695, allocations: 234 kB / 0.5348 GB, free: 15.99 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002654/0.5697, allocations: 0.7278 MB / 0.5355 GB, free: 15.24 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.53e-05/0.5698, allocations: 24.86 kB / 0.5355 GB, free: 15.21 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.49e-05/0.5699, allocations: 15.44 kB / 0.5355 GB, free: 15.2 MB / 362.7 MB Notification: Performance of SimCode: time 2.8e-07/0.5699, allocations: 4 kB / 0.5355 GB, free: 15.19 MB / 362.7 MB Notification: Performance of Templates: time 0.004641/0.5745, allocations: 2.073 MB / 0.5376 GB, free: 13.14 MB / 362.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test5.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test5.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test5 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1)