Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test34.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.Test34,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test34") translateModel(ModelicaTest.Tables.CombiTimeTable.Test34,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test34") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.005622/0.005622, allocations: 173.8 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.771/1.771, 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.001693/0.001693, 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.2041/0.2041, allocations: 40.02 MB / 340.8 MB, free: 11.52 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004328/0.0004328, allocations: 17.47 kB / 406.2 MB, free: 52.05 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1384/0.1388, allocations: 54.88 MB / 461 MB, free: 3.398 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1369/0.2758, allocations: 82.15 MB / 0.5305 GB, free: 1.129 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002554/0.2761, allocations: 79.95 kB / 0.5305 GB, free: 1.051 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.2913/0.5674, allocations: 4.588 MB / 0.535 GB, free: 83 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.605e-06/0.5674, allocations: 0 / 0.535 GB, free: 83 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.911e-05/0.5675, allocations: 7.391 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.0006423/0.5681, allocations: 476.6 kB / 0.5355 GB, free: 82.53 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.734e-05/0.5682, allocations: 6.656 kB / 0.5355 GB, free: 82.53 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.635e-05/0.5683, allocations: 9.5 kB / 0.5355 GB, free: 82.53 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003277/0.5686, allocations: 205.5 kB / 0.5357 GB, free: 82.32 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.6e-05/0.5686, allocations: 4.531 kB / 0.5357 GB, free: 82.32 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.196e-05/0.5687, allocations: 6.594 kB / 0.5357 GB, free: 82.32 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001684/0.5689, allocations: 56.75 kB / 0.5358 GB, free: 82.29 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.419e-05/0.5689, allocations: 3.938 kB / 0.5358 GB, free: 82.29 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.491e-05/0.5689, allocations: 5.016 kB / 0.5358 GB, free: 82.28 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.65e-06/0.5689, allocations: 1 kB / 0.5358 GB, free: 82.28 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.353e-05/0.569, allocations: 24.22 kB / 0.5358 GB, free: 82.28 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004694/0.5695, allocations: 307.6 kB / 0.5361 GB, free: 82.02 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001851/0.5697, allocations: 64.48 kB / 0.5361 GB, free: 81.99 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.954e-05/0.5697, allocations: 0 / 0.5361 GB, free: 81.99 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000176/0.5699, allocations: 69.73 kB / 0.5362 GB, free: 81.94 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.282e-06/0.5699, allocations: 5.219 kB / 0.5362 GB, free: 81.93 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006953/0.5706, allocations: 186.3 kB / 0.5364 GB, free: 81.88 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.912e-05/0.5707, allocations: 52.53 kB / 0.5364 GB, free: 81.82 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001924/0.5709, allocations: 167.2 kB / 0.5366 GB, free: 81.72 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.264e-05/0.5709, allocations: 27.7 kB / 0.5366 GB, free: 81.69 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.146e-05/0.571, allocations: 102 kB / 0.5367 GB, free: 81.61 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.199e-05/0.571, allocations: 27.17 kB / 0.5367 GB, free: 81.59 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.137e-05/0.5711, allocations: 9.219 kB / 0.5368 GB, free: 81.59 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001091/0.5712, allocations: 325.7 kB / 0.5371 GB, free: 81.27 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001002/0.5713, allocations: 36.78 kB / 0.5371 GB, free: 81.27 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000109/0.5714, allocations: 56.06 kB / 0.5372 GB, free: 81.25 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001191/0.5715, allocations: 72.86 kB / 0.5372 GB, free: 81.22 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.5715, allocations: 3.938 kB / 0.5372 GB, free: 81.22 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003106/0.5718, allocations: 173.9 kB / 0.5374 GB, free: 81.15 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.899e-05/0.5719, allocations: 48.16 kB / 0.5374 GB, free: 81.11 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.084e-06/0.5719, allocations: 0 / 0.5374 GB, free: 81.11 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/0.5719, allocations: 1.469 kB / 0.5374 GB, free: 81.11 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001051/0.5721, allocations: 19.39 kB / 0.5375 GB, free: 81.11 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.267e-06/0.5721, allocations: 2.203 kB / 0.5375 GB, free: 81.11 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.018e-05/0.5721, allocations: 4.547 kB / 0.5375 GB, free: 81.11 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.987e-05/0.5722, allocations: 5.359 kB / 0.5375 GB, free: 81.11 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.0001066/0.5723, allocations: 126.4 kB / 0.5376 GB, free: 80.99 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.227e-05/0.5723, allocations: 9.547 kB / 0.5376 GB, free: 80.99 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003255/0.5726, allocations: 134.3 kB / 0.5377 GB, free: 80.93 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.5727, allocations: 1 kB / 0.5377 GB, free: 80.93 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.5727, allocations: 0.6094 kB / 0.5377 GB, free: 80.93 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.964e-06/0.5727, allocations: 5.953 kB / 0.5377 GB, free: 80.93 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005222/0.5732, allocations: 410 kB / 0.5381 GB, free: 80.62 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.522e-06/0.5732, allocations: 0 / 0.5381 GB, free: 80.62 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.361e-05/0.5733, allocations: 9.953 kB / 0.5381 GB, free: 80.62 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.5733, allocations: 5.312 kB / 0.5381 GB, free: 80.61 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.013e-05/0.5733, allocations: 3.641 kB / 0.5381 GB, free: 80.61 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.5733, allocations: 3.938 kB / 0.5382 GB, free: 80.61 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.5733, allocations: 1.75 kB / 0.5382 GB, free: 80.61 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002938/0.5736, allocations: 229.6 kB / 0.5384 GB, free: 80.44 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.867e-05/0.5737, allocations: 104.5 kB / 0.5385 GB, free: 80.34 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.93e-05/0.5738, allocations: 2.766 kB / 0.5385 GB, free: 80.34 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.273e-05/0.5738, allocations: 6.953 kB / 0.5385 GB, free: 80.34 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.523e-05/0.5739, allocations: 5.625 kB / 0.5385 GB, free: 80.34 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.374e-05/0.5739, allocations: 3.547 kB / 0.5385 GB, free: 80.34 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000143/0.5741, allocations: 143.2 kB / 0.5386 GB, free: 80.25 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.5741, allocations: 0 / 0.5386 GB, free: 80.25 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000321/0.5744, allocations: 44.28 kB / 0.5387 GB, free: 80.24 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.001066/0.5755, allocations: 435.9 kB / 0.5391 GB, free: 79.95 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003497/0.5758, allocations: 169.5 kB / 0.5392 GB, free: 79.89 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.5758, allocations: 0.9688 kB / 0.5392 GB, free: 79.89 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.516e-05/0.576, allocations: 35.31 kB / 0.5393 GB, free: 79.88 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000259/0.5762, allocations: 25.72 kB / 0.5393 GB, free: 79.88 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005398/0.5768, allocations: 251.9 kB / 0.5395 GB, free: 79.7 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002309/0.577, allocations: 0.7099 MB / 0.5402 GB, free: 79 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.584e-05/0.5771, allocations: 16.23 kB / 0.5403 GB, free: 78.99 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.168e-05/0.5771, allocations: 15.19 kB / 0.5403 GB, free: 78.99 MB / 378.7 MB Notification: Performance of SimCode: time 2.1e-07/0.5771, allocations: 0 / 0.5403 GB, free: 78.99 MB / 378.7 MB Notification: Performance of Templates: time 0.00549/0.5826, allocations: 1.73 MB / 0.542 GB, free: 78.8 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test34.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test34.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test34.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test34 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test34.pipe 2>&1)