Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test48.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.Test48,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test48") translateModel(ModelicaTest.Tables.CombiTimeTable.Test48,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test48") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.008462/0.008462, allocations: 175.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.679/1.679, allocations: 194.5 MB / 210.3 MB, free: 8.594 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.001677/0.001677, allocations: 120.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.2186/0.2186, allocations: 40 MB / 340.8 MB, free: 11.54 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003971/0.0003972, allocations: 12.75 kB / 406.2 MB, free: 52.12 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1474/0.1478, allocations: 54.88 MB / 461 MB, free: 3.422 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1338/0.2817, allocations: 82.15 MB / 0.5305 GB, free: 1.156 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002812/0.282, allocations: 71.95 kB / 0.5305 GB, free: 1.086 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.2877/0.5697, allocations: 4.897 MB / 0.5353 GB, free: 82.96 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.5697, allocations: 0 / 0.5353 GB, free: 82.96 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.624e-05/0.5697, allocations: 2.406 kB / 0.5353 GB, free: 82.96 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.000612/0.5704, allocations: 0.5011 MB / 0.5358 GB, free: 82.47 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.5e-05/0.5704, allocations: 9.031 kB / 0.5358 GB, free: 82.47 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.941e-05/0.5705, allocations: 14.88 kB / 0.5358 GB, free: 82.46 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003072/0.5708, allocations: 216.7 kB / 0.536 GB, free: 82.26 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.333e-05/0.5708, allocations: 2.312 kB / 0.536 GB, free: 82.26 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.851e-05/0.5709, allocations: 4.344 kB / 0.536 GB, free: 82.26 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001662/0.5711, allocations: 57.09 kB / 0.5361 GB, free: 82.23 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.5711, allocations: 4.969 kB / 0.5361 GB, free: 82.22 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.561e-05/0.5711, allocations: 8.547 kB / 0.5361 GB, free: 82.21 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.5711, allocations: 5 kB / 0.5361 GB, free: 82.21 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.952e-05/0.5712, allocations: 23.75 kB / 0.5361 GB, free: 82.21 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004851/0.5717, allocations: 328.4 kB / 0.5364 GB, free: 81.94 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001775/0.5719, allocations: 62.28 kB / 0.5365 GB, free: 81.91 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.213e-05/0.5719, allocations: 0 / 0.5365 GB, free: 81.91 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001654/0.5721, allocations: 73.97 kB / 0.5366 GB, free: 81.86 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.334e-06/0.5721, allocations: 0 / 0.5366 GB, free: 81.86 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006687/0.5728, allocations: 199 kB / 0.5368 GB, free: 81.8 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.537e-05/0.5728, allocations: 52.81 kB / 0.5368 GB, free: 81.73 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003297/0.5732, allocations: 235 kB / 0.537 GB, free: 81.63 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.526e-05/0.5732, allocations: 32.83 kB / 0.5371 GB, free: 81.6 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.351e-05/0.5733, allocations: 109.8 kB / 0.5372 GB, free: 81.51 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.588e-05/0.5733, allocations: 26.08 kB / 0.5372 GB, free: 81.5 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.675e-06/0.5734, allocations: 1.406 kB / 0.5372 GB, free: 81.5 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.707e-05/0.5735, allocations: 327.6 kB / 0.5375 GB, free: 81.19 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.671e-05/0.5736, allocations: 35.05 kB / 0.5376 GB, free: 81.19 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001211/0.5737, allocations: 58.33 kB / 0.5376 GB, free: 81.17 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001217/0.5738, allocations: 69.31 kB / 0.5377 GB, free: 81.14 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.5738, allocations: 4 kB / 0.5377 GB, free: 81.14 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003326/0.5742, allocations: 184.5 kB / 0.5379 GB, free: 81.06 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.556e-05/0.5742, allocations: 40.09 kB / 0.5379 GB, free: 81.03 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.5742, allocations: 0 / 0.5379 GB, free: 81.03 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.5743, allocations: 1.188 kB / 0.5379 GB, free: 81.03 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001054/0.5744, allocations: 19.52 kB / 0.5379 GB, free: 81.02 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.368e-05/0.5744, allocations: 2.703 kB / 0.5379 GB, free: 81.02 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.569e-05/0.5745, allocations: 7.828 kB / 0.5379 GB, free: 81.02 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.634e-05/0.5745, allocations: 4.531 kB / 0.5379 GB, free: 81.02 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.0001443/0.5746, allocations: 143.4 kB / 0.5381 GB, free: 80.9 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.073e-05/0.5747, allocations: 15.31 kB / 0.5381 GB, free: 80.89 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00031/0.575, allocations: 132.4 kB / 0.5382 GB, free: 80.84 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.575, allocations: 1.125 kB / 0.5382 GB, free: 80.84 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.575, allocations: 0 / 0.5382 GB, free: 80.84 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.575, allocations: 0.6562 kB / 0.5382 GB, free: 80.84 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000623/0.5757, allocations: 446.2 kB / 0.5386 GB, free: 80.53 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.5757, allocations: 0.6094 kB / 0.5386 GB, free: 80.53 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.251e-05/0.5757, allocations: 10.91 kB / 0.5386 GB, free: 80.53 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.5757, allocations: 1.719 kB / 0.5386 GB, free: 80.53 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.348e-05/0.5758, allocations: 2.281 kB / 0.5386 GB, free: 80.53 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.5758, allocations: 0 / 0.5386 GB, free: 80.53 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.5758, allocations: 6.391 kB / 0.5386 GB, free: 80.52 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002781/0.5761, allocations: 230.3 kB / 0.5389 GB, free: 80.36 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001014/0.5762, allocations: 110.2 kB / 0.539 GB, free: 80.25 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3e-05/0.5762, allocations: 2.125 kB / 0.539 GB, free: 80.25 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.149e-05/0.5763, allocations: 7.109 kB / 0.539 GB, free: 80.25 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.021e-05/0.5763, allocations: 6.406 kB / 0.539 GB, free: 80.25 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.161e-05/0.5764, allocations: 3.75 kB / 0.539 GB, free: 80.25 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001816/0.5765, allocations: 190.9 kB / 0.5392 GB, free: 80.17 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5766, allocations: 0 / 0.5392 GB, free: 80.17 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003009/0.5769, allocations: 51.88 kB / 0.5392 GB, free: 80.16 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.0009752/0.5778, allocations: 442.1 kB / 0.5396 GB, free: 79.87 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000291/0.5781, allocations: 169.1 kB / 0.5398 GB, free: 79.8 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.5782, allocations: 0 / 0.5398 GB, free: 79.8 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.198e-05/0.5782, allocations: 36.7 kB / 0.5398 GB, free: 79.79 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002462/0.5785, allocations: 26.94 kB / 0.5399 GB, free: 79.78 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006049/0.5791, allocations: 319.2 kB / 0.5402 GB, free: 79.6 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002164/0.5793, allocations: 0.7208 MB / 0.5409 GB, free: 78.9 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.034e-05/0.5794, allocations: 18.77 kB / 0.5409 GB, free: 78.9 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.679e-05/0.5795, allocations: 16.95 kB / 0.5409 GB, free: 78.89 MB / 378.7 MB Notification: Performance of SimCode: time 2.2e-07/0.5795, allocations: 0 / 0.5409 GB, free: 78.89 MB / 378.7 MB Notification: Performance of Templates: time 0.00501/0.5845, allocations: 1.877 MB / 0.5427 GB, free: 78.68 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test48.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test48.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test48.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test48 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test48.pipe 2>&1)