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.007204/0.007204, allocations: 173.7 kB / 15.12 MB, free: 5.973 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.745/1.745, allocations: 194.5 MB / 210.3 MB, free: 8.508 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.001666/0.001666, allocations: 112.6 kB / 255.6 MB, free: 11.13 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2088/0.2088, allocations: 40.02 MB / 340.8 MB, free: 11.52 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003915/0.0003915, allocations: 15.17 kB / 406.2 MB, free: 52 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1276/0.128, allocations: 54.88 MB / 461 MB, free: 3.402 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1303/0.2584, allocations: 82.19 MB / 0.5305 GB, free: 1.094 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002756/0.2587, allocations: 75.91 kB / 0.5306 GB, free: 1.02 MB / 378.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.3011/0.5598, allocations: 5.159 MB / 0.5356 GB, free: 82.91 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.745e-06/0.5599, allocations: 0 / 0.5356 GB, free: 82.91 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.527e-05/0.5599, allocations: 3.188 kB / 0.5356 GB, free: 82.91 MB / 378.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.0006541/0.5606, allocations: 0.4901 MB / 0.5361 GB, free: 82.43 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.945e-05/0.5606, allocations: 8.625 kB / 0.5361 GB, free: 82.43 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.599e-05/0.5607, allocations: 15.94 kB / 0.5361 GB, free: 82.43 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003547/0.5611, allocations: 231.5 kB / 0.5363 GB, free: 82.21 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.561e-05/0.5611, allocations: 5.031 kB / 0.5363 GB, free: 82.21 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.247e-05/0.5611, allocations: 5.641 kB / 0.5363 GB, free: 82.21 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000196/0.5613, allocations: 72.67 kB / 0.5364 GB, free: 82.17 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.634e-05/0.5614, allocations: 5.328 kB / 0.5364 GB, free: 82.17 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.507e-05/0.5614, allocations: 0.6094 kB / 0.5364 GB, free: 82.17 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.773e-06/0.5614, allocations: 1.625 kB / 0.5364 GB, free: 82.17 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001243/0.5615, allocations: 43.34 kB / 0.5365 GB, free: 82.16 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005163/0.562, allocations: 351.6 kB / 0.5368 GB, free: 81.89 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002236/0.5623, allocations: 85.62 kB / 0.5369 GB, free: 81.86 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.443e-05/0.5623, allocations: 2.281 kB / 0.5369 GB, free: 81.86 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001721/0.5625, allocations: 77.72 kB / 0.537 GB, free: 81.82 MB / 378.7 MB Notification: Performance of pre-optimization done (n=8): time 1.393e-06/0.5625, allocations: 4 kB / 0.537 GB, free: 81.81 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.0007541/0.5633, allocations: 246.6 kB / 0.5372 GB, free: 81.75 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.96e-05/0.5633, allocations: 53.5 kB / 0.5372 GB, free: 81.69 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000265/0.5636, allocations: 221.3 kB / 0.5375 GB, free: 81.59 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.922e-05/0.5636, allocations: 31.67 kB / 0.5375 GB, free: 81.56 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.515e-05/0.5637, allocations: 106.2 kB / 0.5376 GB, free: 81.48 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.778e-05/0.5637, allocations: 40.78 kB / 0.5376 GB, free: 81.45 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.888e-06/0.5637, allocations: 2.5 kB / 0.5376 GB, free: 81.45 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.68e-05/0.5638, allocations: 336.4 kB / 0.5379 GB, free: 81.13 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001078/0.5639, allocations: 50.22 kB / 0.538 GB, free: 81.13 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001145/0.564, allocations: 63.55 kB / 0.5381 GB, free: 81.12 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001369/0.5642, allocations: 91.28 kB / 0.5381 GB, free: 81.08 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.01e-07/0.5642, allocations: 1.062 kB / 0.5381 GB, free: 81.08 MB / 378.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003407/0.5645, allocations: 218.6 kB / 0.5384 GB, free: 81 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.018e-05/0.5646, allocations: 39.02 kB / 0.5384 GB, free: 80.97 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.83e-06/0.5646, allocations: 5.094 kB / 0.5384 GB, free: 80.97 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.785e-05/0.5646, allocations: 1.188 kB / 0.5384 GB, free: 80.97 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001132/0.5647, allocations: 24.38 kB / 0.5384 GB, free: 80.96 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/0.5648, allocations: 1.797 kB / 0.5384 GB, free: 80.96 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.338e-05/0.5648, allocations: 9.672 kB / 0.5384 GB, free: 80.96 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.686e-05/0.5648, allocations: 9.328 kB / 0.5384 GB, free: 80.96 MB / 378.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 () * Number of clocked 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 9.873e-05/0.565, allocations: 135.2 kB / 0.5386 GB, free: 80.85 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.623e-05/0.565, allocations: 17.7 kB / 0.5386 GB, free: 80.84 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003262/0.5653, allocations: 170.3 kB / 0.5387 GB, free: 80.79 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.943e-06/0.5653, allocations: 6.609 kB / 0.5388 GB, free: 80.79 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.5653, allocations: 0 / 0.5388 GB, free: 80.79 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.5654, allocations: 1.031 kB / 0.5388 GB, free: 80.79 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006054/0.566, allocations: 495.4 kB / 0.5392 GB, free: 80.48 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.674e-06/0.566, allocations: 0 / 0.5392 GB, free: 80.48 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.482e-05/0.5661, allocations: 27.98 kB / 0.5393 GB, free: 80.47 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.5661, allocations: 1.344 kB / 0.5393 GB, free: 80.47 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.483e-05/0.5661, allocations: 3.172 kB / 0.5393 GB, free: 80.47 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.5661, allocations: 1.781 kB / 0.5393 GB, free: 80.47 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.5661, allocations: 0 / 0.5393 GB, free: 80.47 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003114/0.5664, allocations: 264.9 kB / 0.5395 GB, free: 80.3 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.451e-05/0.5665, allocations: 113.3 kB / 0.5396 GB, free: 80.19 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.204e-05/0.5666, allocations: 5.281 kB / 0.5396 GB, free: 80.19 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.864e-05/0.5666, allocations: 5.203 kB / 0.5396 GB, free: 80.19 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.816e-05/0.5667, allocations: 9.359 kB / 0.5396 GB, free: 80.19 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.577e-05/0.5667, allocations: 5.922 kB / 0.5396 GB, free: 80.19 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001903/0.5669, allocations: 182 kB / 0.5398 GB, free: 80.12 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5669, allocations: 0 / 0.5398 GB, free: 80.12 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00033/0.5673, allocations: 47.23 kB / 0.5399 GB, free: 80.11 MB / 378.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) * Number of clocked states: 0 () * 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.001005/0.5683, allocations: 460.8 kB / 0.5403 GB, free: 79.8 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003753/0.5687, allocations: 197 kB / 0.5405 GB, free: 79.74 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.5687, allocations: 1.219 kB / 0.5405 GB, free: 79.74 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001143/0.5688, allocations: 50.95 kB / 0.5405 GB, free: 79.73 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002597/0.5691, allocations: 22.12 kB / 0.5406 GB, free: 79.73 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006418/0.5697, allocations: 342.7 kB / 0.5409 GB, free: 79.53 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000253/0.57, allocations: 0.7265 MB / 0.5416 GB, free: 78.83 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.126e-05/0.5701, allocations: 21.31 kB / 0.5416 GB, free: 78.82 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.917e-05/0.5701, allocations: 20.59 kB / 0.5416 GB, free: 78.82 MB / 378.7 MB Notification: Performance of SimCode: time 7.01e-07/0.5701, allocations: 0 / 0.5416 GB, free: 78.82 MB / 378.7 MB Notification: Performance of Templates: time 0.00585/0.576, allocations: 2.072 MB / 0.5437 GB, free: 78.35 MB / 378.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)