Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test26.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.Test26,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test26") translateModel(ModelicaTest.Tables.CombiTimeTable.Test26,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test26") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.01139/0.01139, allocations: 174.4 kB / 15.12 MB, free: 5.988 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.762/1.762, allocations: 194.5 MB / 210.3 MB, free: 7.613 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.001664/0.001664, allocations: 128.5 kB / 255.6 MB, free: 10.22 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.1942/0.1942, allocations: 40.01 MB / 340.8 MB, free: 11.41 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003972/0.0003972, allocations: 12.38 kB / 406.2 MB, free: 51.87 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1152/0.1156, allocations: 54.88 MB / 461 MB, free: 3.324 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1206/0.2362, allocations: 82.16 MB / 0.5305 GB, free: 1.051 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003601/0.2367, allocations: 67.97 kB / 0.5305 GB, free: 0.9844 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.2312/0.4679, allocations: 4.616 MB / 0.535 GB, free: 83 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.975e-06/0.4679, allocations: 0 / 0.535 GB, free: 83 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.782e-05/0.4679, allocations: 1.312 kB / 0.535 GB, free: 83 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005876/0.4685, allocations: 489 kB / 0.5355 GB, free: 82.52 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.376e-05/0.4686, allocations: 13.59 kB / 0.5355 GB, free: 82.52 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.656e-05/0.4687, allocations: 9.438 kB / 0.5355 GB, free: 82.52 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003061/0.469, allocations: 199.7 kB / 0.5357 GB, free: 82.32 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.492e-05/0.469, allocations: 8.297 kB / 0.5357 GB, free: 82.31 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.141e-05/0.4691, allocations: 5.781 kB / 0.5357 GB, free: 82.31 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001698/0.4692, allocations: 56.91 kB / 0.5358 GB, free: 82.28 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.334e-05/0.4693, allocations: 4.969 kB / 0.5358 GB, free: 82.28 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.417e-05/0.4693, allocations: 3.953 kB / 0.5358 GB, free: 82.27 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.052e-06/0.4693, allocations: 1.766 kB / 0.5358 GB, free: 82.27 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.822e-05/0.4694, allocations: 26.94 kB / 0.5358 GB, free: 82.27 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004396/0.4698, allocations: 317.7 kB / 0.5361 GB, free: 82 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001746/0.47, allocations: 62.45 kB / 0.5362 GB, free: 81.97 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.917e-05/0.4701, allocations: 0 / 0.5362 GB, free: 81.97 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000163/0.4702, allocations: 77.17 kB / 0.5363 GB, free: 81.92 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.974e-06/0.4702, allocations: 0 / 0.5363 GB, free: 81.92 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006278/0.4709, allocations: 187.8 kB / 0.5364 GB, free: 81.86 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.277e-05/0.4709, allocations: 53.17 kB / 0.5365 GB, free: 81.8 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002045/0.4711, allocations: 177 kB / 0.5367 GB, free: 81.7 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.811e-05/0.4712, allocations: 30.55 kB / 0.5367 GB, free: 81.66 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.789e-05/0.4712, allocations: 101.4 kB / 0.5368 GB, free: 81.58 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.842e-05/0.4713, allocations: 23.38 kB / 0.5368 GB, free: 81.57 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.714e-06/0.4713, allocations: 6.094 kB / 0.5368 GB, free: 81.57 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.767e-05/0.4713, allocations: 322 kB / 0.5371 GB, free: 81.25 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001012/0.4714, allocations: 39.05 kB / 0.5372 GB, free: 81.25 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001014/0.4715, allocations: 56.8 kB / 0.5372 GB, free: 81.23 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001267/0.4717, allocations: 71.67 kB / 0.5373 GB, free: 81.2 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/0.4717, allocations: 0 / 0.5373 GB, free: 81.2 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003803/0.4721, allocations: 189.6 kB / 0.5375 GB, free: 81.12 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.246e-05/0.4721, allocations: 42.39 kB / 0.5375 GB, free: 81.09 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/0.4721, allocations: 1.094 kB / 0.5375 GB, free: 81.09 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.717e-05/0.4722, allocations: 1.094 kB / 0.5375 GB, free: 81.09 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001019/0.4723, allocations: 20.36 kB / 0.5375 GB, free: 81.08 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.4723, allocations: 1.641 kB / 0.5375 GB, free: 81.08 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.099e-05/0.4724, allocations: 4.641 kB / 0.5375 GB, free: 81.08 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.681e-05/0.4724, allocations: 5.625 kB / 0.5375 GB, free: 81.08 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 (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 0.0001095/0.4725, allocations: 128.1 kB / 0.5377 GB, free: 80.97 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.721e-05/0.4725, allocations: 13.12 kB / 0.5377 GB, free: 80.96 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002935/0.4728, allocations: 127.2 kB / 0.5378 GB, free: 80.91 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.4729, allocations: 3.656 kB / 0.5378 GB, free: 80.91 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.4729, allocations: 4 kB / 0.5378 GB, free: 80.9 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.4729, allocations: 4.5 kB / 0.5378 GB, free: 80.9 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004526/0.4733, allocations: 416.4 kB / 0.5382 GB, free: 80.59 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.4734, allocations: 5.969 kB / 0.5382 GB, free: 80.58 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.359e-05/0.4734, allocations: 13.11 kB / 0.5382 GB, free: 80.58 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.4734, allocations: 1.469 kB / 0.5382 GB, free: 80.58 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.121e-05/0.4734, allocations: 2.719 kB / 0.5382 GB, free: 80.58 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.518e-06/0.4734, allocations: 2.328 kB / 0.5382 GB, free: 80.58 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.245e-06/0.4735, allocations: 3.938 kB / 0.5382 GB, free: 80.58 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002289/0.4737, allocations: 225.8 kB / 0.5384 GB, free: 80.41 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.867e-05/0.4738, allocations: 106.3 kB / 0.5385 GB, free: 80.3 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.412e-05/0.4738, allocations: 2.078 kB / 0.5385 GB, free: 80.3 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.732e-05/0.4739, allocations: 6.891 kB / 0.5386 GB, free: 80.3 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.499e-05/0.4739, allocations: 9.703 kB / 0.5386 GB, free: 80.3 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.033e-05/0.474, allocations: 3.688 kB / 0.5386 GB, free: 80.3 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001312/0.4741, allocations: 147.1 kB / 0.5387 GB, free: 80.23 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.4741, allocations: 0 / 0.5387 GB, free: 80.23 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003193/0.4744, allocations: 41.2 kB / 0.5387 GB, free: 80.22 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 (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.001043/0.4755, allocations: 433.7 kB / 0.5392 GB, free: 79.93 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000321/0.4758, allocations: 175.8 kB / 0.5393 GB, free: 79.86 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.4758, allocations: 0 / 0.5393 GB, free: 79.86 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.434e-05/0.4759, allocations: 34.44 kB / 0.5394 GB, free: 79.86 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002733/0.4762, allocations: 25.81 kB / 0.5394 GB, free: 79.86 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005275/0.4768, allocations: 248.7 kB / 0.5396 GB, free: 79.7 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001857/0.477, allocations: 0.714 MB / 0.5403 GB, free: 79 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.421e-05/0.477, allocations: 16.8 kB / 0.5403 GB, free: 78.99 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.783e-05/0.4771, allocations: 15.2 kB / 0.5403 GB, free: 78.98 MB / 378.7 MB Notification: Performance of SimCode: time 2.9e-07/0.4771, allocations: 1.344 kB / 0.5403 GB, free: 78.98 MB / 378.7 MB Notification: Performance of Templates: time 0.005133/0.4822, allocations: 1.759 MB / 0.5421 GB, free: 78.79 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test26.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test26.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test26.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test26 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test26.pipe 2>&1)