Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test45.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.Test45,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test45") translateModel(ModelicaTest.Tables.CombiTimeTable.Test45,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test45") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.01006/0.01006, allocations: 173.1 kB / 15.12 MB, free: 5.578 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.572/1.572, allocations: 194.5 MB / 210.3 MB, free: 8.582 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.001663/0.001663, allocations: 104.8 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.2197/0.2197, allocations: 40.02 MB / 340.8 MB, free: 11.51 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003926/0.0003926, allocations: 13.09 kB / 406.2 MB, free: 52.04 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.122/0.1224, allocations: 54.88 MB / 461 MB, free: 3.375 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1332/0.2557, allocations: 82.16 MB / 0.5305 GB, free: 1.102 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002649/0.256, allocations: 83.91 kB / 0.5305 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.3063/0.5623, allocations: 4.642 MB / 0.5351 GB, free: 82.89 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.895e-06/0.5623, allocations: 0 / 0.5351 GB, free: 82.89 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.825e-05/0.5624, allocations: 5.344 kB / 0.5351 GB, free: 82.88 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.0007141/0.5631, allocations: 487 kB / 0.5355 GB, free: 82.41 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.816e-05/0.5632, allocations: 6.594 kB / 0.5355 GB, free: 82.41 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.823e-05/0.5632, allocations: 10.59 kB / 0.5356 GB, free: 82.4 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000352/0.5636, allocations: 207.7 kB / 0.5358 GB, free: 82.2 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.905e-05/0.5636, allocations: 2.812 kB / 0.5358 GB, free: 82.2 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.381e-05/0.5637, allocations: 4.781 kB / 0.5358 GB, free: 82.2 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001937/0.5639, allocations: 61.27 kB / 0.5358 GB, free: 82.16 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.711e-05/0.5639, allocations: 3.938 kB / 0.5358 GB, free: 82.16 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.667e-05/0.5639, allocations: 3.953 kB / 0.5358 GB, free: 82.16 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-06/0.564, allocations: 1.453 kB / 0.5358 GB, free: 82.16 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.89e-05/0.5641, allocations: 24.86 kB / 0.5359 GB, free: 82.16 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006274/0.5647, allocations: 313.8 kB / 0.5362 GB, free: 81.89 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002024/0.5649, allocations: 66.25 kB / 0.5362 GB, free: 81.86 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.652e-05/0.5649, allocations: 1.922 kB / 0.5362 GB, free: 81.86 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002179/0.5652, allocations: 70.67 kB / 0.5363 GB, free: 81.8 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.773e-06/0.5652, allocations: 7.875 kB / 0.5363 GB, free: 81.8 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.000808/0.566, allocations: 181.8 kB / 0.5365 GB, free: 81.75 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.97e-05/0.5661, allocations: 55.44 kB / 0.5365 GB, free: 81.68 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002764/0.5664, allocations: 180.9 kB / 0.5367 GB, free: 81.58 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.264e-05/0.5664, allocations: 28.17 kB / 0.5367 GB, free: 81.55 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.086e-05/0.5665, allocations: 99.38 kB / 0.5368 GB, free: 81.46 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.847e-05/0.5665, allocations: 26.14 kB / 0.5368 GB, free: 81.45 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.965e-06/0.5665, allocations: 1.469 kB / 0.5368 GB, free: 81.45 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001029/0.5666, allocations: 325.5 kB / 0.5372 GB, free: 81.14 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001029/0.5667, allocations: 37.19 kB / 0.5372 GB, free: 81.14 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001131/0.5669, allocations: 53.58 kB / 0.5372 GB, free: 81.12 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001257/0.567, allocations: 76.05 kB / 0.5373 GB, free: 81.09 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.567, allocations: 0 / 0.5373 GB, free: 81.09 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003292/0.5673, allocations: 183.9 kB / 0.5375 GB, free: 81.01 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.187e-05/0.5674, allocations: 42.84 kB / 0.5375 GB, free: 80.98 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.5674, allocations: 1.25 kB / 0.5375 GB, free: 80.98 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.5674, allocations: 0 / 0.5375 GB, free: 80.98 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.945e-05/0.5675, allocations: 23.94 kB / 0.5376 GB, free: 80.97 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.627e-06/0.5676, allocations: 2.234 kB / 0.5376 GB, free: 80.97 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.664e-05/0.5676, allocations: 8.75 kB / 0.5376 GB, free: 80.96 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.648e-05/0.5676, allocations: 10.14 kB / 0.5376 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 (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 9.677e-05/0.5677, allocations: 132 kB / 0.5377 GB, free: 80.84 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.043e-05/0.5678, allocations: 9.312 kB / 0.5377 GB, free: 80.84 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002926/0.5681, allocations: 127.1 kB / 0.5378 GB, free: 80.79 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.5681, allocations: 1.188 kB / 0.5378 GB, free: 80.79 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.5681, allocations: 1.031 kB / 0.5378 GB, free: 80.79 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.5681, allocations: 0.7031 kB / 0.5378 GB, free: 80.79 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004818/0.5686, allocations: 425.9 kB / 0.5382 GB, free: 80.46 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.5686, allocations: 0 / 0.5382 GB, free: 80.46 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.826e-05/0.5687, allocations: 10.92 kB / 0.5382 GB, free: 80.46 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.149e-06/0.5687, allocations: 1.625 kB / 0.5382 GB, free: 80.46 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.547e-05/0.5687, allocations: 5.25 kB / 0.5383 GB, free: 80.46 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.61e-06/0.5687, allocations: 1.578 kB / 0.5383 GB, free: 80.46 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.5687, allocations: 8.969 kB / 0.5383 GB, free: 80.46 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002945/0.569, allocations: 226.6 kB / 0.5385 GB, free: 80.29 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.736e-05/0.5691, allocations: 104.8 kB / 0.5386 GB, free: 80.18 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.213e-05/0.5692, allocations: 6.109 kB / 0.5386 GB, free: 80.18 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.231e-05/0.5692, allocations: 3.469 kB / 0.5386 GB, free: 80.18 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.09e-05/0.5693, allocations: 5.797 kB / 0.5386 GB, free: 80.18 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.453e-05/0.5693, allocations: 7.922 kB / 0.5386 GB, free: 80.18 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000184/0.5695, allocations: 148.2 kB / 0.5387 GB, free: 80.11 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5695, allocations: 0 / 0.5387 GB, free: 80.11 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003178/0.5698, allocations: 39.83 kB / 0.5388 GB, free: 80.1 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.001214/0.5711, allocations: 435 kB / 0.5392 GB, free: 79.82 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003765/0.5715, allocations: 165.8 kB / 0.5394 GB, free: 79.76 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.5715, allocations: 4.062 kB / 0.5394 GB, free: 79.75 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.985e-05/0.5716, allocations: 34.19 kB / 0.5394 GB, free: 79.75 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002556/0.5718, allocations: 21.61 kB / 0.5394 GB, free: 79.75 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005924/0.5724, allocations: 254.5 kB / 0.5397 GB, free: 79.59 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002764/0.5727, allocations: 0.7086 MB / 0.5403 GB, free: 78.89 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.979e-05/0.5728, allocations: 12.19 kB / 0.5404 GB, free: 78.89 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.183e-05/0.5729, allocations: 19.02 kB / 0.5404 GB, free: 78.88 MB / 378.7 MB Notification: Performance of SimCode: time 2.41e-07/0.5729, allocations: 0 / 0.5404 GB, free: 78.88 MB / 378.7 MB Notification: Performance of Templates: time 0.006329/0.5792, allocations: 1.764 MB / 0.5421 GB, free: 78.68 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test45.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test45.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test45.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test45 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test45.pipe 2>&1)