Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test12.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.Test12,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test12") translateModel(ModelicaTest.Tables.CombiTimeTable.Test12,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.01393/0.01393, allocations: 176 kB / 15.12 MB, free: 5.969 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.59 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.001697/0.001697, allocations: 116.6 kB / 255.6 MB, free: 11.2 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.2054/0.2054, allocations: 40.02 MB / 340.8 MB, free: 11.53 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004656/0.0004653, allocations: 16.38 kB / 406.2 MB, free: 52.08 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1101/0.1106, allocations: 54.87 MB / 461 MB, free: 3.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1244/0.235, allocations: 82.9 MB / 0.5312 GB, free: 420 kB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002371/0.2353, allocations: 75.95 kB / 0.5313 GB, free: 344 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2346:7-2347:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getDerTableValue. [/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.2353/0.4706, allocations: 3.626 MB / 0.5348 GB, free: 83.39 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.564e-06/0.4706, allocations: 0 / 0.5348 GB, free: 83.39 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.884e-05/0.4707, allocations: 1.281 kB / 0.5348 GB, free: 83.39 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0008071/0.4715, allocations: 0.5161 MB / 0.5353 GB, free: 82.89 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.735e-05/0.4715, allocations: 13.22 kB / 0.5353 GB, free: 82.89 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.555e-05/0.4716, allocations: 19.08 kB / 0.5353 GB, free: 82.88 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003649/0.472, allocations: 214.5 kB / 0.5355 GB, free: 82.66 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.514e-05/0.472, allocations: 8.906 kB / 0.5356 GB, free: 82.66 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.835e-05/0.4721, allocations: 8.781 kB / 0.5356 GB, free: 82.66 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002384/0.4723, allocations: 83.81 kB / 0.5356 GB, free: 82.62 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.869e-06/0.4723, allocations: 0 / 0.5356 GB, free: 82.62 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.565e-05/0.4724, allocations: 1.922 kB / 0.5356 GB, free: 82.62 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.4724, allocations: 5.016 kB / 0.5356 GB, free: 82.62 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001633/0.4725, allocations: 52.92 kB / 0.5357 GB, free: 82.62 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005573/0.4731, allocations: 369.5 kB / 0.536 GB, free: 82.35 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003529/0.4735, allocations: 102.3 kB / 0.5361 GB, free: 82.31 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.439e-05/0.4735, allocations: 1.469 kB / 0.5361 GB, free: 82.31 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002024/0.4737, allocations: 88 kB / 0.5362 GB, free: 82.26 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 1.413e-06/0.4737, allocations: 0 / 0.5362 GB, free: 82.26 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004477/0.4742, allocations: 158.4 kB / 0.5364 GB, free: 82.21 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.77e-05/0.4742, allocations: 52.34 kB / 0.5364 GB, free: 82.15 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002296/0.4745, allocations: 156.4 kB / 0.5366 GB, free: 82.06 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.146e-05/0.4745, allocations: 31.77 kB / 0.5366 GB, free: 82.03 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.226e-05/0.4746, allocations: 105.6 kB / 0.5367 GB, free: 81.94 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.096e-05/0.4746, allocations: 25.81 kB / 0.5367 GB, free: 81.93 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.065e-06/0.4746, allocations: 6.188 kB / 0.5367 GB, free: 81.92 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.311e-05/0.4747, allocations: 327.2 kB / 0.5371 GB, free: 81.61 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001426/0.4749, allocations: 45.23 kB / 0.5371 GB, free: 81.61 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001556/0.475, allocations: 71.23 kB / 0.5372 GB, free: 81.58 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001604/0.4752, allocations: 87.31 kB / 0.5372 GB, free: 81.55 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.4752, allocations: 5.188 kB / 0.5373 GB, free: 81.54 MB / 378.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004093/0.4756, allocations: 204.8 kB / 0.5374 GB, free: 81.46 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.948e-05/0.4757, allocations: 39.16 kB / 0.5375 GB, free: 81.43 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.4757, allocations: 0.8438 kB / 0.5375 GB, free: 81.43 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.4757, allocations: 1.5 kB / 0.5375 GB, free: 81.43 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001033/0.4758, allocations: 28.5 kB / 0.5375 GB, free: 81.43 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.205e-06/0.4759, allocations: 2.906 kB / 0.5375 GB, free: 81.43 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.679e-05/0.4759, allocations: 20.27 kB / 0.5375 GB, free: 81.41 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.681e-05/0.476, allocations: 8.484 kB / 0.5375 GB, free: 81.41 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (13): * Single equations (assignments): 12 * 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.668e-05/0.4761, allocations: 129.4 kB / 0.5377 GB, free: 81.3 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.152e-05/0.4761, allocations: 14.14 kB / 0.5377 GB, free: 81.29 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003001/0.4764, allocations: 138.6 kB / 0.5378 GB, free: 81.25 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.4764, allocations: 0 / 0.5378 GB, free: 81.25 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.4764, allocations: 1.438 kB / 0.5378 GB, free: 81.25 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.4764, allocations: 0.5625 kB / 0.5378 GB, free: 81.25 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001694/0.4766, allocations: 211.5 kB / 0.538 GB, free: 81.05 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.4766, allocations: 5.281 kB / 0.538 GB, free: 81.05 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.461e-05/0.4767, allocations: 13.8 kB / 0.538 GB, free: 81.05 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.4767, allocations: 1.094 kB / 0.538 GB, free: 81.05 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.879e-05/0.4767, allocations: 9.719 kB / 0.538 GB, free: 81.05 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.514e-06/0.4767, allocations: 4.562 kB / 0.5381 GB, free: 81.04 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.4768, allocations: 1.188 kB / 0.5381 GB, free: 81.04 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004323/0.4772, allocations: 189.9 kB / 0.5382 GB, free: 80.97 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.556e-05/0.4773, allocations: 104.2 kB / 0.5383 GB, free: 80.87 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.683e-05/0.4773, allocations: 1.094 kB / 0.5383 GB, free: 80.87 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.111e-05/0.4774, allocations: 19.72 kB / 0.5384 GB, free: 80.86 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.053e-05/0.4774, allocations: 6.922 kB / 0.5384 GB, free: 80.86 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.199e-05/0.4775, allocations: 7.062 kB / 0.5384 GB, free: 80.86 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001084/0.4776, allocations: 132.1 kB / 0.5385 GB, free: 80.78 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4776, allocations: 1.469 kB / 0.5385 GB, free: 80.78 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000252/0.4778, allocations: 40.12 kB / 0.5385 GB, free: 80.77 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.0008495/0.4787, allocations: 397.8 kB / 0.5389 GB, free: 80.52 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003459/0.4791, allocations: 191.1 kB / 0.5391 GB, free: 80.45 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.4791, allocations: 1.062 kB / 0.5391 GB, free: 80.45 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001141/0.4792, allocations: 38.14 kB / 0.5391 GB, free: 80.45 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002427/0.4794, allocations: 28.67 kB / 0.5392 GB, free: 80.44 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005297/0.48, allocations: 285.5 kB / 0.5394 GB, free: 80.26 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001707/0.4802, allocations: 0.712 MB / 0.5401 GB, free: 79.56 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.536e-05/0.4802, allocations: 16 kB / 0.5401 GB, free: 79.56 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.171e-05/0.4803, allocations: 16.02 kB / 0.5402 GB, free: 79.55 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.4803, allocations: 0 / 0.5402 GB, free: 79.55 MB / 378.7 MB Notification: Performance of Templates: time 0.005227/0.4855, allocations: 1.794 MB / 0.5419 GB, free: 79.35 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test12.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test12.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test12 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1)