Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test3.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.Test3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test3") translateModel(ModelicaTest.Tables.CombiTimeTable.Test3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.009955/0.009955, allocations: 174.3 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.527/1.527, 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.001858/0.001858, allocations: 112.7 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.1996/0.1996, allocations: 40.02 MB / 340.8 MB, free: 11.52 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00043/0.0004299, allocations: 15 kB / 406.2 MB, free: 51.97 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1431/0.1436, allocations: 54.87 MB / 461 MB, free: 3.387 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1318/0.2755, allocations: 82.11 MB / 0.5304 GB, free: 1.164 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003073/0.2758, allocations: 71.97 kB / 0.5305 GB, free: 1.094 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.2879/0.5638, allocations: 4.39 MB / 0.5348 GB, free: 82.95 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.5638, allocations: 1.062 kB / 0.5348 GB, free: 82.95 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.218e-05/0.5638, allocations: 1.031 kB / 0.5348 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.0005439/0.5644, allocations: 471.8 kB / 0.5352 GB, free: 82.48 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.798e-05/0.5644, allocations: 10.7 kB / 0.5352 GB, free: 82.48 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.564e-05/0.5645, allocations: 8.75 kB / 0.5352 GB, free: 82.47 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000241/0.5647, allocations: 200.5 kB / 0.5354 GB, free: 82.27 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.293e-05/0.5648, allocations: 7.531 kB / 0.5354 GB, free: 82.27 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.751e-05/0.5648, allocations: 7.75 kB / 0.5354 GB, free: 82.26 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001586/0.565, allocations: 61.08 kB / 0.5355 GB, free: 82.23 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.451e-05/0.565, allocations: 0 / 0.5355 GB, free: 82.23 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.383e-05/0.565, allocations: 1.969 kB / 0.5355 GB, free: 82.23 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.109e-06/0.565, allocations: 0 / 0.5355 GB, free: 82.23 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.222e-05/0.5651, allocations: 19.12 kB / 0.5355 GB, free: 82.23 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003799/0.5655, allocations: 305.6 kB / 0.5358 GB, free: 81.96 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001745/0.5657, allocations: 68.52 kB / 0.5359 GB, free: 81.93 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.589e-05/0.5657, allocations: 0.7031 kB / 0.5359 GB, free: 81.93 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001599/0.5659, allocations: 71.27 kB / 0.5359 GB, free: 81.88 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.623e-06/0.5659, allocations: 0 / 0.5359 GB, free: 81.88 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006261/0.5665, allocations: 178.4 kB / 0.5361 GB, free: 81.83 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.308e-05/0.5666, allocations: 57.05 kB / 0.5362 GB, free: 81.77 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001374/0.5667, allocations: 153.8 kB / 0.5363 GB, free: 81.66 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.779e-05/0.5667, allocations: 27.8 kB / 0.5363 GB, free: 81.63 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.367e-05/0.5668, allocations: 93.66 kB / 0.5364 GB, free: 81.55 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.855e-05/0.5668, allocations: 24.94 kB / 0.5365 GB, free: 81.54 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.804e-06/0.5668, allocations: 1.156 kB / 0.5365 GB, free: 81.54 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.547e-05/0.5669, allocations: 324.8 kB / 0.5368 GB, free: 81.22 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.262e-05/0.567, allocations: 47.8 kB / 0.5368 GB, free: 81.21 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.255e-05/0.5671, allocations: 58.06 kB / 0.5369 GB, free: 81.19 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001068/0.5672, allocations: 70.84 kB / 0.5369 GB, free: 81.16 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.5672, allocations: 1.25 kB / 0.5369 GB, free: 81.16 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002807/0.5675, allocations: 184.4 kB / 0.5371 GB, free: 81.08 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.7e-05/0.5676, allocations: 35.19 kB / 0.5371 GB, free: 81.05 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.5676, allocations: 0 / 0.5371 GB, free: 81.05 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.684e-05/0.5676, allocations: 1.656 kB / 0.5371 GB, free: 81.05 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.384e-05/0.5677, allocations: 18.94 kB / 0.5372 GB, free: 81.05 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.662e-06/0.5677, allocations: 6.297 kB / 0.5372 GB, free: 81.04 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.931e-05/0.5678, allocations: 12.67 kB / 0.5372 GB, free: 81.04 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.419e-05/0.5678, allocations: 4.344 kB / 0.5372 GB, free: 81.04 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.543e-05/0.5679, allocations: 133.9 kB / 0.5373 GB, free: 80.92 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.92e-05/0.5679, allocations: 13.03 kB / 0.5373 GB, free: 80.91 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002541/0.5682, allocations: 118.5 kB / 0.5374 GB, free: 80.87 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.5682, allocations: 1.062 kB / 0.5374 GB, free: 80.87 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.5682, allocations: 5.656 kB / 0.5374 GB, free: 80.87 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.5682, allocations: 0.5156 kB / 0.5374 GB, free: 80.87 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004336/0.5686, allocations: 407.2 kB / 0.5378 GB, free: 80.55 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-06/0.5687, allocations: 0 / 0.5378 GB, free: 80.55 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.239e-05/0.5687, allocations: 9.75 kB / 0.5378 GB, free: 80.55 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.5687, allocations: 1.156 kB / 0.5378 GB, free: 80.55 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.088e-05/0.5687, allocations: 2.578 kB / 0.5378 GB, free: 80.55 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.5687, allocations: 1.672 kB / 0.5379 GB, free: 80.55 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.5687, allocations: 5.25 kB / 0.5379 GB, free: 80.55 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002284/0.569, allocations: 222.4 kB / 0.5381 GB, free: 80.39 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.707e-05/0.569, allocations: 97.5 kB / 0.5382 GB, free: 80.29 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.514e-05/0.5691, allocations: 6.406 kB / 0.5382 GB, free: 80.29 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.273e-05/0.5692, allocations: 3.672 kB / 0.5382 GB, free: 80.29 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.162e-05/0.5692, allocations: 9.969 kB / 0.5382 GB, free: 80.28 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.243e-05/0.5692, allocations: 8.109 kB / 0.5382 GB, free: 80.28 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.105e-05/0.5693, allocations: 116.2 kB / 0.5383 GB, free: 80.21 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5693, allocations: 0 / 0.5383 GB, free: 80.21 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002885/0.5696, allocations: 46.73 kB / 0.5383 GB, free: 80.19 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.0009585/0.5706, allocations: 433.8 kB / 0.5388 GB, free: 79.91 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003131/0.5709, allocations: 175 kB / 0.5389 GB, free: 79.84 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.5709, allocations: 0 / 0.5389 GB, free: 79.84 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.407e-05/0.571, allocations: 34.62 kB / 0.539 GB, free: 79.84 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002332/0.5712, allocations: 25.73 kB / 0.539 GB, free: 79.83 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004408/0.5717, allocations: 222.7 kB / 0.5392 GB, free: 79.67 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001711/0.5719, allocations: 0.7056 MB / 0.5399 GB, free: 78.97 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.406e-05/0.5719, allocations: 15.25 kB / 0.5399 GB, free: 78.96 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.755e-05/0.572, allocations: 15.39 kB / 0.5399 GB, free: 78.96 MB / 378.7 MB Notification: Performance of SimCode: time 2.4e-07/0.572, allocations: 4 kB / 0.5399 GB, free: 78.95 MB / 378.7 MB Notification: Performance of Templates: time 0.00525/0.5772, allocations: 1.671 MB / 0.5415 GB, free: 78.77 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test3.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test3.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test3.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test3.pipe 2>&1)