Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test25.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.Test25,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test25") translateModel(ModelicaTest.Tables.CombiTimeTable.Test25,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test25") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.01047/0.01047, allocations: 174.9 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.755/1.755, allocations: 194.5 MB / 210.3 MB, free: 8.777 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.001847/0.001847, allocations: 116.6 kB / 255.6 MB, free: 11.4 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.2102/0.2102, allocations: 40.01 MB / 340.8 MB, free: 11.56 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004113/0.0004113, allocations: 18.06 kB / 406.2 MB, free: 52.11 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1241/0.1245, allocations: 54.87 MB / 461 MB, free: 3.438 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1202/0.2448, allocations: 82.14 MB / 0.5305 GB, free: 1.18 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002847/0.2451, allocations: 75.97 kB / 0.5305 GB, free: 1.105 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.2332/0.4783, allocations: 4.62 MB / 0.535 GB, free: 82.96 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.355e-06/0.4783, allocations: 1.469 kB / 0.535 GB, free: 82.96 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.182e-05/0.4784, allocations: 5.438 kB / 0.535 GB, free: 82.95 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.0005115/0.4789, allocations: 483.5 kB / 0.5355 GB, free: 82.48 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.384e-05/0.4789, allocations: 9.656 kB / 0.5355 GB, free: 82.48 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.926e-05/0.479, allocations: 10.2 kB / 0.5355 GB, free: 82.47 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002792/0.4793, allocations: 204.8 kB / 0.5357 GB, free: 82.27 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.325e-05/0.4793, allocations: 7.672 kB / 0.5357 GB, free: 82.27 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.779e-05/0.4793, allocations: 4.562 kB / 0.5357 GB, free: 82.27 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001488/0.4795, allocations: 57.94 kB / 0.5358 GB, free: 82.23 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.4795, allocations: 1.031 kB / 0.5358 GB, free: 82.23 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.664e-05/0.4795, allocations: 11.02 kB / 0.5358 GB, free: 82.23 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/0.4796, allocations: 0.9688 kB / 0.5358 GB, free: 82.23 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000111/0.4797, allocations: 25.56 kB / 0.5358 GB, free: 82.22 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004179/0.4801, allocations: 315.9 kB / 0.5361 GB, free: 81.95 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001777/0.4803, allocations: 62.41 kB / 0.5362 GB, free: 81.93 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.888e-05/0.4803, allocations: 5 kB / 0.5362 GB, free: 81.92 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001515/0.4805, allocations: 73.09 kB / 0.5363 GB, free: 81.87 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.392e-06/0.4805, allocations: 1.219 kB / 0.5363 GB, free: 81.87 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006161/0.4811, allocations: 182.4 kB / 0.5364 GB, free: 81.82 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.769e-05/0.4812, allocations: 53.17 kB / 0.5365 GB, free: 81.76 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001919/0.4814, allocations: 179.9 kB / 0.5367 GB, free: 81.65 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.905e-05/0.4814, allocations: 31.39 kB / 0.5367 GB, free: 81.62 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.229e-05/0.4814, allocations: 100.3 kB / 0.5368 GB, free: 81.54 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.809e-05/0.4815, allocations: 21.16 kB / 0.5368 GB, free: 81.53 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.333e-06/0.4815, allocations: 2.219 kB / 0.5368 GB, free: 81.53 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.454e-05/0.4816, allocations: 324.1 kB / 0.5371 GB, free: 81.21 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.099e-05/0.4817, allocations: 41.39 kB / 0.5371 GB, free: 81.21 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001039/0.4818, allocations: 54.25 kB / 0.5372 GB, free: 81.2 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001125/0.4819, allocations: 81.25 kB / 0.5373 GB, free: 81.16 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.4819, allocations: 0 / 0.5373 GB, free: 81.16 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000287/0.4822, allocations: 182.8 kB / 0.5375 GB, free: 81.08 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.092e-05/0.4822, allocations: 39.36 kB / 0.5375 GB, free: 81.05 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.4823, allocations: 1.797 kB / 0.5375 GB, free: 81.05 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.4823, allocations: 1.406 kB / 0.5375 GB, free: 81.05 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.345e-05/0.4824, allocations: 23.17 kB / 0.5375 GB, free: 81.04 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.157e-05/0.4824, allocations: 5.719 kB / 0.5375 GB, free: 81.04 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.796e-05/0.4825, allocations: 11.97 kB / 0.5375 GB, free: 81.03 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.606e-05/0.4825, allocations: 10.3 kB / 0.5375 GB, free: 81.03 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 8.492e-05/0.4826, allocations: 127.8 kB / 0.5377 GB, free: 80.91 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.09e-05/0.4826, allocations: 8.891 kB / 0.5377 GB, free: 80.91 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002647/0.4829, allocations: 129.2 kB / 0.5378 GB, free: 80.86 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.4829, allocations: 1.188 kB / 0.5378 GB, free: 80.86 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.4829, allocations: 0 / 0.5378 GB, free: 80.86 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.4829, allocations: 1.75 kB / 0.5378 GB, free: 80.86 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004771/0.4834, allocations: 426.2 kB / 0.5382 GB, free: 80.54 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.4834, allocations: 0 / 0.5382 GB, free: 80.54 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.435e-05/0.4834, allocations: 11.41 kB / 0.5382 GB, free: 80.54 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.4835, allocations: 1.5 kB / 0.5382 GB, free: 80.54 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.529e-05/0.4835, allocations: 2.531 kB / 0.5382 GB, free: 80.54 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.4835, allocations: 384 / 0.5382 GB, free: 80.54 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-06/0.4835, allocations: 2.359 kB / 0.5382 GB, free: 80.54 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002515/0.4838, allocations: 228.5 kB / 0.5384 GB, free: 80.37 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.439e-05/0.4838, allocations: 105.4 kB / 0.5385 GB, free: 80.27 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.764e-05/0.4839, allocations: 2.219 kB / 0.5385 GB, free: 80.27 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.63e-05/0.484, allocations: 3.094 kB / 0.5385 GB, free: 80.27 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.428e-05/0.484, allocations: 14 kB / 0.5386 GB, free: 80.26 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.051e-05/0.484, allocations: 3.359 kB / 0.5386 GB, free: 80.26 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001259/0.4842, allocations: 147.9 kB / 0.5387 GB, free: 80.18 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4842, allocations: 1.219 kB / 0.5387 GB, free: 80.18 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002922/0.4845, allocations: 43.77 kB / 0.5387 GB, free: 80.17 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.0009524/0.4854, allocations: 427.2 kB / 0.5392 GB, free: 79.89 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003011/0.4857, allocations: 170.3 kB / 0.5393 GB, free: 79.82 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.4857, allocations: 64 / 0.5393 GB, free: 79.82 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.674e-05/0.4858, allocations: 42.48 kB / 0.5394 GB, free: 79.81 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002508/0.4861, allocations: 25.02 kB / 0.5394 GB, free: 79.8 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004978/0.4866, allocations: 253.7 kB / 0.5396 GB, free: 79.64 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001951/0.4868, allocations: 0.7111 MB / 0.5403 GB, free: 78.95 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.803e-05/0.4869, allocations: 20.23 kB / 0.5403 GB, free: 78.93 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.884e-05/0.4869, allocations: 16.31 kB / 0.5404 GB, free: 78.93 MB / 378.7 MB Notification: Performance of SimCode: time 2.51e-07/0.4869, allocations: 0 / 0.5404 GB, free: 78.93 MB / 378.7 MB Notification: Performance of Templates: time 0.00485/0.4918, allocations: 1.751 MB / 0.5421 GB, free: 78.74 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test25.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test25.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test25.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test25 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test25.pipe 2>&1)