Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test6.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.Test6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test6") translateModel(ModelicaTest.Tables.CombiTimeTable.Test6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.009561/0.009561, allocations: 175.2 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.765/1.765, allocations: 194.5 MB / 210.3 MB, free: 8.789 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.002015/0.002015, allocations: 120.6 kB / 255.6 MB, free: 11.4 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.225/0.225, allocations: 40.01 MB / 340.8 MB, free: 11.57 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004492/0.0004491, allocations: 16.59 kB / 406.2 MB, free: 52.09 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.134/0.1344, allocations: 54.87 MB / 461 MB, free: 3.441 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1382/0.2727, allocations: 82.15 MB / 0.5305 GB, free: 1.18 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002937/0.2731, allocations: 79.95 kB / 0.5305 GB, free: 1.102 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.3343/0.6074, allocations: 4.933 MB / 0.5353 GB, free: 82.93 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.254e-06/0.6074, allocations: 0 / 0.5353 GB, free: 82.93 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.318e-05/0.6075, allocations: 2.188 kB / 0.5354 GB, free: 82.93 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.0005623/0.608, allocations: 0.4997 MB / 0.5358 GB, free: 82.43 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.351e-05/0.6081, allocations: 9.312 kB / 0.5358 GB, free: 82.43 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.709e-05/0.6081, allocations: 15.38 kB / 0.5359 GB, free: 82.43 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003208/0.6085, allocations: 219.3 kB / 0.5361 GB, free: 82.22 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.155e-05/0.6085, allocations: 2.406 kB / 0.5361 GB, free: 82.22 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.966e-05/0.6085, allocations: 8.953 kB / 0.5361 GB, free: 82.21 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001518/0.6087, allocations: 57.64 kB / 0.5361 GB, free: 82.18 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.6087, allocations: 0 / 0.5361 GB, free: 82.18 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.288e-05/0.6087, allocations: 5.797 kB / 0.5361 GB, free: 82.18 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.6087, allocations: 5.031 kB / 0.5361 GB, free: 82.18 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.766e-05/0.6088, allocations: 20.45 kB / 0.5362 GB, free: 82.18 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005683/0.6094, allocations: 329.8 kB / 0.5365 GB, free: 81.91 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001948/0.6096, allocations: 58.36 kB / 0.5365 GB, free: 81.89 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.998e-05/0.6097, allocations: 1 kB / 0.5365 GB, free: 81.89 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000208/0.6099, allocations: 78 kB / 0.5366 GB, free: 81.83 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 3.066e-06/0.6099, allocations: 0 / 0.5366 GB, free: 81.83 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007956/0.6107, allocations: 197.8 kB / 0.5368 GB, free: 81.77 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.744e-05/0.6107, allocations: 56.81 kB / 0.5369 GB, free: 81.7 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000379/0.6111, allocations: 243.4 kB / 0.5371 GB, free: 81.6 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.91e-05/0.6112, allocations: 31.36 kB / 0.5371 GB, free: 81.57 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.242e-05/0.6112, allocations: 118.2 kB / 0.5372 GB, free: 81.48 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.894e-05/0.6113, allocations: 25.11 kB / 0.5373 GB, free: 81.46 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.394e-06/0.6113, allocations: 1.281 kB / 0.5373 GB, free: 81.46 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.444e-05/0.6114, allocations: 327.6 kB / 0.5376 GB, free: 81.15 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001027/0.6115, allocations: 37.14 kB / 0.5376 GB, free: 81.15 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001064/0.6116, allocations: 54.81 kB / 0.5377 GB, free: 81.14 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00012/0.6117, allocations: 74.58 kB / 0.5377 GB, free: 81.11 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.6118, allocations: 4 kB / 0.5377 GB, free: 81.1 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003134/0.6121, allocations: 185.1 kB / 0.5379 GB, free: 81.02 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.467e-05/0.6121, allocations: 39.83 kB / 0.5379 GB, free: 80.99 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.6121, allocations: 0.75 kB / 0.5379 GB, free: 80.99 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.6122, allocations: 1.594 kB / 0.5379 GB, free: 80.99 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001217/0.6123, allocations: 23.34 kB / 0.538 GB, free: 80.98 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.728e-06/0.6123, allocations: 0.9062 kB / 0.538 GB, free: 80.98 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.099e-05/0.6124, allocations: 10.47 kB / 0.538 GB, free: 80.98 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.818e-05/0.6124, allocations: 8.016 kB / 0.538 GB, free: 80.98 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.0001533/0.6126, allocations: 144.2 kB / 0.5381 GB, free: 80.86 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.291e-05/0.6126, allocations: 15.62 kB / 0.5381 GB, free: 80.85 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003146/0.6129, allocations: 130.9 kB / 0.5383 GB, free: 80.8 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.613, allocations: 1.531 kB / 0.5383 GB, free: 80.8 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/0.613, allocations: 2.375 kB / 0.5383 GB, free: 80.8 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.882e-06/0.613, allocations: 0.7031 kB / 0.5383 GB, free: 80.8 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006118/0.6136, allocations: 441.6 kB / 0.5387 GB, free: 80.49 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.095e-06/0.6136, allocations: 1.344 kB / 0.5387 GB, free: 80.49 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.513e-05/0.6137, allocations: 9.688 kB / 0.5387 GB, free: 80.49 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.6137, allocations: 1.156 kB / 0.5387 GB, free: 80.49 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.51e-05/0.6137, allocations: 2.891 kB / 0.5387 GB, free: 80.49 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.848e-06/0.6137, allocations: 1.828 kB / 0.5387 GB, free: 80.49 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/0.6137, allocations: 1.031 kB / 0.5387 GB, free: 80.49 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002771/0.614, allocations: 240.1 kB / 0.5389 GB, free: 80.31 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001032/0.6141, allocations: 104.3 kB / 0.539 GB, free: 80.21 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.952e-05/0.6141, allocations: 3.406 kB / 0.539 GB, free: 80.21 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.896e-05/0.6142, allocations: 8.203 kB / 0.539 GB, free: 80.21 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.86e-05/0.6143, allocations: 5.438 kB / 0.5391 GB, free: 80.21 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.169e-05/0.6143, allocations: 4.188 kB / 0.5391 GB, free: 80.21 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000261/0.6146, allocations: 195.2 kB / 0.5392 GB, free: 80.14 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.6146, allocations: 4 kB / 0.5392 GB, free: 80.13 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003283/0.6149, allocations: 45.55 kB / 0.5393 GB, free: 80.12 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.001077/0.616, allocations: 434.9 kB / 0.5397 GB, free: 79.84 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003187/0.6163, allocations: 173.7 kB / 0.5399 GB, free: 79.77 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.6163, allocations: 192 / 0.5399 GB, free: 79.77 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.397e-05/0.6164, allocations: 33.42 kB / 0.5399 GB, free: 79.77 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002568/0.6167, allocations: 30.55 kB / 0.5399 GB, free: 79.75 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006059/0.6173, allocations: 333.8 kB / 0.5402 GB, free: 79.56 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002154/0.6175, allocations: 0.7269 MB / 0.541 GB, free: 78.86 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.217e-05/0.6176, allocations: 15.41 kB / 0.541 GB, free: 78.86 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.529e-05/0.6177, allocations: 18.03 kB / 0.541 GB, free: 78.85 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.6177, allocations: 4.969 kB / 0.541 GB, free: 78.85 MB / 378.7 MB Notification: Performance of Templates: time 0.005287/0.623, allocations: 1.901 MB / 0.5429 GB, free: 78.64 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test6.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test6.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test6.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test6 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test6.pipe 2>&1)