Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test24.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.Test24,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test24") translateModel(ModelicaTest.Tables.CombiTimeTable.Test24,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.01119/0.01119, allocations: 175.2 kB / 15.12 MB, free: 6.039 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.852/1.852, allocations: 194.5 MB / 210.3 MB, free: 8.598 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.00216/0.00216, allocations: 116.6 kB / 255.6 MB, free: 11.21 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.2346/0.2346, allocations: 40.02 MB / 340.8 MB, free: 11.53 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003837/0.0003837, allocations: 14.59 kB / 406.2 MB, free: 52.02 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1331/0.1335, allocations: 54.88 MB / 461 MB, free: 3.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1231/0.2566, allocations: 82.11 MB / 0.5304 GB, free: 1.199 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002627/0.2569, allocations: 75.97 kB / 0.5305 GB, free: 1.125 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.2401/0.497, allocations: 4.526 MB / 0.5349 GB, free: 82.89 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.497, allocations: 0 / 0.5349 GB, free: 82.89 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.232e-05/0.4971, allocations: 6.094 kB / 0.5349 GB, free: 82.88 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.0005281/0.4976, allocations: 488.7 kB / 0.5354 GB, free: 82.41 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.502e-05/0.4977, allocations: 9.75 kB / 0.5354 GB, free: 82.41 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.954e-05/0.4977, allocations: 9.344 kB / 0.5354 GB, free: 82.4 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002696/0.498, allocations: 206.6 kB / 0.5356 GB, free: 82.2 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.172e-05/0.498, allocations: 2.219 kB / 0.5356 GB, free: 82.2 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.845e-05/0.4981, allocations: 5.688 kB / 0.5356 GB, free: 82.2 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001574/0.4982, allocations: 59.09 kB / 0.5357 GB, free: 82.16 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.4982, allocations: 0 / 0.5357 GB, free: 82.16 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.372e-05/0.4983, allocations: 5.203 kB / 0.5357 GB, free: 82.16 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.4983, allocations: 0 / 0.5357 GB, free: 82.16 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.988e-05/0.4984, allocations: 29.42 kB / 0.5357 GB, free: 82.16 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000411/0.4988, allocations: 313.5 kB / 0.536 GB, free: 81.89 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001931/0.499, allocations: 64.59 kB / 0.5361 GB, free: 81.86 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.01e-05/0.499, allocations: 3 kB / 0.5361 GB, free: 81.86 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000154/0.4992, allocations: 72.12 kB / 0.5361 GB, free: 81.8 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.403e-06/0.4992, allocations: 0 / 0.5361 GB, free: 81.8 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006053/0.4998, allocations: 184.1 kB / 0.5363 GB, free: 81.75 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.29e-05/0.4998, allocations: 52.94 kB / 0.5364 GB, free: 81.69 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001824/0.5, allocations: 180.9 kB / 0.5365 GB, free: 81.59 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.861e-05/0.5001, allocations: 31.05 kB / 0.5366 GB, free: 81.55 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.958e-05/0.5001, allocations: 99.45 kB / 0.5366 GB, free: 81.47 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.109e-05/0.5002, allocations: 23.97 kB / 0.5367 GB, free: 81.46 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.374e-06/0.5002, allocations: 1.438 kB / 0.5367 GB, free: 81.46 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.658e-05/0.5002, allocations: 325.2 kB / 0.537 GB, free: 81.15 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.7e-05/0.5003, allocations: 38.75 kB / 0.537 GB, free: 81.14 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.499e-05/0.5004, allocations: 57.83 kB / 0.5371 GB, free: 81.13 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001069/0.5006, allocations: 72.69 kB / 0.5371 GB, free: 81.09 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.5006, allocations: 0 / 0.5371 GB, free: 81.09 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002994/0.5009, allocations: 190.4 kB / 0.5373 GB, free: 81.01 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.086e-05/0.5009, allocations: 39.73 kB / 0.5374 GB, free: 80.98 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.5009, allocations: 0 / 0.5374 GB, free: 80.98 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.501, allocations: 1.531 kB / 0.5374 GB, free: 80.98 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.344e-05/0.5011, allocations: 22.05 kB / 0.5374 GB, free: 80.97 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.5011, allocations: 0.5625 kB / 0.5374 GB, free: 80.97 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.111e-05/0.5011, allocations: 10.27 kB / 0.5374 GB, free: 80.97 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.581e-05/0.5012, allocations: 8.016 kB / 0.5374 GB, free: 80.97 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 9.872e-05/0.5013, allocations: 126.8 kB / 0.5375 GB, free: 80.86 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.182e-05/0.5013, allocations: 9.953 kB / 0.5375 GB, free: 80.85 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002755/0.5016, allocations: 129.7 kB / 0.5377 GB, free: 80.8 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.5016, allocations: 1.312 kB / 0.5377 GB, free: 80.8 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.5016, allocations: 1.375 kB / 0.5377 GB, free: 80.8 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.5016, allocations: 0.7969 kB / 0.5377 GB, free: 80.8 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004805/0.5021, allocations: 426.3 kB / 0.5381 GB, free: 80.48 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.5021, allocations: 0 / 0.5381 GB, free: 80.48 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.463e-05/0.5022, allocations: 10.44 kB / 0.5381 GB, free: 80.48 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.609e-06/0.5022, allocations: 1.766 kB / 0.5381 GB, free: 80.48 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.667e-05/0.5022, allocations: 6.422 kB / 0.5381 GB, free: 80.48 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.5022, allocations: 1.125 kB / 0.5381 GB, free: 80.48 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.5022, allocations: 0.5625 kB / 0.5381 GB, free: 80.48 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002435/0.5025, allocations: 227 kB / 0.5383 GB, free: 80.31 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.845e-05/0.5026, allocations: 100.8 kB / 0.5384 GB, free: 80.21 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.504e-05/0.5026, allocations: 3.453 kB / 0.5384 GB, free: 80.21 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.465e-05/0.5027, allocations: 4.156 kB / 0.5384 GB, free: 80.21 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.198e-05/0.5027, allocations: 16.09 kB / 0.5384 GB, free: 80.2 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.169e-05/0.5027, allocations: 9.219 kB / 0.5384 GB, free: 80.2 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001175/0.5029, allocations: 142.9 kB / 0.5386 GB, free: 80.12 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5029, allocations: 0 / 0.5386 GB, free: 80.12 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002808/0.5032, allocations: 45.38 kB / 0.5386 GB, free: 80.11 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.0009436/0.5041, allocations: 439.8 kB / 0.539 GB, free: 79.82 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003343/0.5044, allocations: 167.9 kB / 0.5392 GB, free: 79.75 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.5045, allocations: 0.9688 kB / 0.5392 GB, free: 79.75 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.176e-05/0.5046, allocations: 37.14 kB / 0.5392 GB, free: 79.74 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002462/0.5048, allocations: 25.22 kB / 0.5393 GB, free: 79.73 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004872/0.5053, allocations: 259.9 kB / 0.5395 GB, free: 79.57 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001867/0.5055, allocations: 0.7072 MB / 0.5402 GB, free: 78.88 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.702e-05/0.5056, allocations: 12.3 kB / 0.5402 GB, free: 78.87 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.929e-05/0.5056, allocations: 16.12 kB / 0.5402 GB, free: 78.87 MB / 378.7 MB Notification: Performance of SimCode: time 2.4e-07/0.5056, allocations: 1.219 kB / 0.5402 GB, free: 78.87 MB / 378.7 MB Notification: Performance of Templates: time 0.004885/0.5105, allocations: 1.755 MB / 0.5419 GB, free: 78.67 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test24.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test24.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test24.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test24 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test24.pipe 2>&1)