Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test35.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.Test35,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test35") translateModel(ModelicaTest.Tables.CombiTimeTable.Test35,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test35") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00559/0.00559, allocations: 174.8 kB / 15.12 MB, free: 5.984 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.703/1.703, allocations: 194.5 MB / 210.3 MB, free: 7.539 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.001904/0.001904, allocations: 120.6 kB / 255.6 MB, free: 10.14 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.2096/0.2096, allocations: 40.02 MB / 340.8 MB, free: 11.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004383/0.0004383, allocations: 13.72 kB / 406.2 MB, free: 51.86 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1408/0.1412, allocations: 54.87 MB / 461 MB, free: 3.312 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1306/0.2719, allocations: 82.14 MB / 0.5304 GB, free: 1.055 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002814/0.2723, allocations: 79.89 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.2976/0.57, allocations: 4.781 MB / 0.5352 GB, free: 83.04 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.294e-06/0.57, allocations: 0 / 0.5352 GB, free: 83.04 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.276e-05/0.57, allocations: 2.125 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.0005359/0.5705, allocations: 488.1 kB / 0.5357 GB, free: 82.57 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.15e-05/0.5706, allocations: 13.09 kB / 0.5357 GB, free: 82.56 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.28e-05/0.5707, allocations: 14.64 kB / 0.5357 GB, free: 82.55 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003158/0.571, allocations: 215 kB / 0.5359 GB, free: 82.35 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.287e-05/0.571, allocations: 3.031 kB / 0.5359 GB, free: 82.35 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.283e-05/0.5711, allocations: 5.312 kB / 0.5359 GB, free: 82.35 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001791/0.5713, allocations: 59.8 kB / 0.536 GB, free: 82.31 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.5713, allocations: 0.875 kB / 0.536 GB, free: 82.31 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.43e-05/0.5713, allocations: 4.75 kB / 0.536 GB, free: 82.31 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.229e-06/0.5713, allocations: 6 kB / 0.536 GB, free: 82.3 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.514e-05/0.5714, allocations: 27.12 kB / 0.536 GB, free: 82.3 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004779/0.5719, allocations: 313.2 kB / 0.5363 GB, free: 82.04 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001878/0.5721, allocations: 61.02 kB / 0.5364 GB, free: 82.01 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.043e-05/0.5721, allocations: 0 / 0.5364 GB, free: 82.01 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001737/0.5723, allocations: 84.16 kB / 0.5364 GB, free: 81.95 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.543e-06/0.5723, allocations: 1.188 kB / 0.5364 GB, free: 81.95 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006544/0.573, allocations: 188.3 kB / 0.5366 GB, free: 81.89 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.753e-05/0.573, allocations: 52.02 kB / 0.5367 GB, free: 81.83 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000269/0.5733, allocations: 201.2 kB / 0.5369 GB, free: 81.74 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.187e-05/0.5733, allocations: 28.64 kB / 0.5369 GB, free: 81.71 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.696e-05/0.5734, allocations: 108.8 kB / 0.537 GB, free: 81.62 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.219e-05/0.5735, allocations: 30.97 kB / 0.537 GB, free: 81.6 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.268e-06/0.5735, allocations: 2.375 kB / 0.537 GB, free: 81.6 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.11e-05/0.5736, allocations: 325.2 kB / 0.5373 GB, free: 81.29 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.858e-05/0.5737, allocations: 38.97 kB / 0.5374 GB, free: 81.29 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001067/0.5738, allocations: 52.98 kB / 0.5374 GB, free: 81.27 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001214/0.5739, allocations: 70.52 kB / 0.5375 GB, free: 81.24 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.5739, allocations: 0 / 0.5375 GB, free: 81.24 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003166/0.5743, allocations: 191.8 kB / 0.5377 GB, free: 81.16 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.308e-05/0.5743, allocations: 39.36 kB / 0.5377 GB, free: 81.12 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.401e-06/0.5743, allocations: 0 / 0.5377 GB, free: 81.12 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.737e-05/0.5743, allocations: 5.094 kB / 0.5377 GB, free: 81.12 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001019/0.5745, allocations: 15.48 kB / 0.5377 GB, free: 81.12 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.5745, allocations: 1.891 kB / 0.5377 GB, free: 81.12 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.952e-05/0.5745, allocations: 9.797 kB / 0.5377 GB, free: 81.12 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.557e-05/0.5746, allocations: 4.859 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.0001097/0.5747, allocations: 137.8 kB / 0.5379 GB, free: 81 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.502e-05/0.5747, allocations: 13.91 kB / 0.5379 GB, free: 80.99 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003009/0.575, allocations: 130.7 kB / 0.538 GB, free: 80.94 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.575, allocations: 1.25 kB / 0.538 GB, free: 80.94 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.575, allocations: 1.969 kB / 0.538 GB, free: 80.94 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.575, allocations: 0.7031 kB / 0.538 GB, free: 80.94 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005373/0.5756, allocations: 422.3 kB / 0.5384 GB, free: 80.63 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.5756, allocations: 4.031 kB / 0.5384 GB, free: 80.63 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.268e-05/0.5757, allocations: 10.72 kB / 0.5384 GB, free: 80.63 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.5757, allocations: 1.406 kB / 0.5384 GB, free: 80.63 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.389e-05/0.5757, allocations: 6.594 kB / 0.5384 GB, free: 80.62 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.5757, allocations: 5 kB / 0.5384 GB, free: 80.62 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.5757, allocations: 1.25 kB / 0.5384 GB, free: 80.62 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002484/0.576, allocations: 232.1 kB / 0.5387 GB, free: 80.45 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.032e-05/0.5761, allocations: 102.5 kB / 0.5388 GB, free: 80.35 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.823e-05/0.5761, allocations: 1.984 kB / 0.5388 GB, free: 80.35 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.508e-05/0.5762, allocations: 4.234 kB / 0.5388 GB, free: 80.35 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.83e-05/0.5762, allocations: 9.469 kB / 0.5388 GB, free: 80.35 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.093e-05/0.5762, allocations: 3.406 kB / 0.5388 GB, free: 80.35 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001618/0.5764, allocations: 162.4 kB / 0.5389 GB, free: 80.27 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.5764, allocations: 0 / 0.5389 GB, free: 80.27 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002853/0.5767, allocations: 42.53 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.001016/0.5777, allocations: 452.9 kB / 0.5394 GB, free: 79.97 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000329/0.5781, allocations: 163.5 kB / 0.5396 GB, free: 79.91 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.5781, allocations: 3.938 kB / 0.5396 GB, free: 79.9 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.86e-05/0.5782, allocations: 31.52 kB / 0.5396 GB, free: 79.9 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002611/0.5785, allocations: 25.72 kB / 0.5396 GB, free: 79.89 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005837/0.5791, allocations: 287 kB / 0.5399 GB, free: 79.71 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002523/0.5793, allocations: 0.7207 MB / 0.5406 GB, free: 79.01 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.409e-05/0.5794, allocations: 17.52 kB / 0.5406 GB, free: 79 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.131e-05/0.5794, allocations: 16.48 kB / 0.5406 GB, free: 79 MB / 378.7 MB Notification: Performance of SimCode: time 4.1e-07/0.5794, allocations: 0.7188 kB / 0.5406 GB, free: 79 MB / 378.7 MB Notification: Performance of Templates: time 0.005379/0.5848, allocations: 1.803 MB / 0.5424 GB, free: 78.8 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test35.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test35.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test35.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test35 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test35.pipe 2>&1)