Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test36.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.Test36,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test36") translateModel(ModelicaTest.Tables.CombiTimeTable.Test36,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test36") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.008246/0.008246, allocations: 176.2 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.689/1.689, allocations: 194.5 MB / 210.3 MB, free: 7.617 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.001658/0.001658, allocations: 116.6 kB / 255.6 MB, free: 10.23 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.2255/0.2255, allocations: 40.02 MB / 340.8 MB, free: 11.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004572/0.0004571, allocations: 16.78 kB / 406.2 MB, free: 51.94 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1351/0.1356, allocations: 54.87 MB / 461 MB, free: 3.309 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1275/0.2632, allocations: 82.14 MB / 0.5304 GB, free: 1.051 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002553/0.2636, allocations: 75.95 kB / 0.5305 GB, free: 0.9766 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.3004/0.564, allocations: 4.791 MB / 0.5352 GB, free: 83.04 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.564, allocations: 1.375 kB / 0.5352 GB, free: 83.04 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.251e-05/0.564, allocations: 1.5 kB / 0.5352 GB, free: 83.04 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.0005774/0.5646, allocations: 489.3 kB / 0.5357 GB, free: 82.56 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.034e-05/0.5647, allocations: 9.281 kB / 0.5357 GB, free: 82.56 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.383e-05/0.5648, allocations: 15.23 kB / 0.5357 GB, free: 82.55 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003173/0.5651, allocations: 215.1 kB / 0.5359 GB, free: 82.34 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.229e-05/0.5651, allocations: 7.125 kB / 0.5359 GB, free: 82.34 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.801e-05/0.5652, allocations: 4.344 kB / 0.5359 GB, free: 82.34 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001649/0.5653, allocations: 57 kB / 0.536 GB, free: 82.31 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.332e-05/0.5653, allocations: 1.031 kB / 0.536 GB, free: 82.31 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.484e-05/0.5654, allocations: 4.656 kB / 0.536 GB, free: 82.31 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.5654, allocations: 0.9375 kB / 0.536 GB, free: 82.31 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.371e-05/0.5655, allocations: 19.86 kB / 0.536 GB, free: 82.31 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004616/0.5659, allocations: 323 kB / 0.5363 GB, free: 82.04 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001937/0.5661, allocations: 60.22 kB / 0.5363 GB, free: 82.02 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.869e-05/0.5662, allocations: 0 / 0.5363 GB, free: 82.02 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001696/0.5664, allocations: 77.3 kB / 0.5364 GB, free: 81.96 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.313e-06/0.5664, allocations: 4 kB / 0.5364 GB, free: 81.96 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006453/0.567, allocations: 187.4 kB / 0.5366 GB, free: 81.9 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.902e-05/0.5671, allocations: 57.3 kB / 0.5367 GB, free: 81.84 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002434/0.5673, allocations: 199 kB / 0.5369 GB, free: 81.74 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.053e-05/0.5673, allocations: 27.86 kB / 0.5369 GB, free: 81.71 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.906e-05/0.5674, allocations: 112 kB / 0.537 GB, free: 81.62 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.76e-05/0.5674, allocations: 21.38 kB / 0.537 GB, free: 81.61 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.406e-06/0.5675, allocations: 5.719 kB / 0.537 GB, free: 81.61 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.926e-05/0.5675, allocations: 327.9 kB / 0.5373 GB, free: 81.29 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.103e-05/0.5676, allocations: 36.95 kB / 0.5374 GB, free: 81.29 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.987e-05/0.5677, allocations: 52.39 kB / 0.5374 GB, free: 81.28 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000114/0.5679, allocations: 72.34 kB / 0.5375 GB, free: 81.25 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.5679, allocations: 0 / 0.5375 GB, free: 81.25 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002977/0.5682, allocations: 187.6 kB / 0.5377 GB, free: 81.17 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.218e-05/0.5682, allocations: 43.55 kB / 0.5377 GB, free: 81.13 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.5682, allocations: 0.75 kB / 0.5377 GB, free: 81.13 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.5683, allocations: 5.125 kB / 0.5377 GB, free: 81.12 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001017/0.5684, allocations: 20.23 kB / 0.5377 GB, free: 81.12 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.205e-06/0.5684, allocations: 0.6094 kB / 0.5377 GB, free: 81.12 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.357e-05/0.5685, allocations: 9 kB / 0.5377 GB, free: 81.12 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.673e-05/0.5685, allocations: 5.578 kB / 0.5377 GB, free: 81.12 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.0001271/0.5686, allocations: 136 kB / 0.5379 GB, free: 81 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.686e-05/0.5687, allocations: 18.53 kB / 0.5379 GB, free: 80.99 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003311/0.569, allocations: 129 kB / 0.538 GB, free: 80.94 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.569, allocations: 1.188 kB / 0.538 GB, free: 80.94 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.569, allocations: 0.5156 kB / 0.538 GB, free: 80.94 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.221e-06/0.569, allocations: 0.7031 kB / 0.538 GB, free: 80.94 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005344/0.5696, allocations: 423.7 kB / 0.5384 GB, free: 80.63 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.566e-06/0.5696, allocations: 1.844 kB / 0.5384 GB, free: 80.63 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.361e-05/0.5696, allocations: 14.84 kB / 0.5384 GB, free: 80.63 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.5696, allocations: 0 / 0.5384 GB, free: 80.63 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.525e-05/0.5697, allocations: 6.781 kB / 0.5384 GB, free: 80.63 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.035e-06/0.5697, allocations: 1.406 kB / 0.5384 GB, free: 80.63 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.5697, allocations: 0 / 0.5384 GB, free: 80.63 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002656/0.57, allocations: 225.8 kB / 0.5387 GB, free: 80.46 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.596e-05/0.5701, allocations: 107 kB / 0.5388 GB, free: 80.36 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.663e-05/0.5701, allocations: 7.047 kB / 0.5388 GB, free: 80.36 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.296e-05/0.5702, allocations: 4.266 kB / 0.5388 GB, free: 80.36 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.332e-05/0.5702, allocations: 6.016 kB / 0.5388 GB, free: 80.36 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.284e-05/0.5702, allocations: 7.547 kB / 0.5388 GB, free: 80.36 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001482/0.5704, allocations: 159.8 kB / 0.5389 GB, free: 80.28 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5704, allocations: 0 / 0.5389 GB, free: 80.28 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003001/0.5707, allocations: 42.33 kB / 0.539 GB, free: 80.27 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.001005/0.5717, allocations: 446.4 kB / 0.5394 GB, free: 79.98 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003088/0.572, allocations: 170.9 kB / 0.5396 GB, free: 79.91 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.572, allocations: 5.125 kB / 0.5396 GB, free: 79.91 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.514e-05/0.5721, allocations: 31.47 kB / 0.5396 GB, free: 79.91 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002439/0.5724, allocations: 25.47 kB / 0.5396 GB, free: 79.9 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005433/0.5729, allocations: 289.3 kB / 0.5399 GB, free: 79.71 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001798/0.5731, allocations: 0.7198 MB / 0.5406 GB, free: 79.01 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.824e-05/0.5732, allocations: 17.19 kB / 0.5406 GB, free: 79 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.193e-05/0.5732, allocations: 17.73 kB / 0.5406 GB, free: 79 MB / 378.7 MB Notification: Performance of SimCode: time 3.1e-07/0.5733, allocations: 0 / 0.5406 GB, free: 79 MB / 378.7 MB Notification: Performance of Templates: time 0.004827/0.5781, allocations: 1.802 MB / 0.5424 GB, free: 78.8 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test36.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test36.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test36.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test36 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test36.pipe 2>&1)