Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test8.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.Test8,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test8") translateModel(ModelicaTest.Tables.CombiTimeTable.Test8,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.007826/0.007826, allocations: 173.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.698/1.698, allocations: 194.5 MB / 210.3 MB, free: 7.625 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.001655/0.001655, allocations: 124.5 kB / 255.6 MB, free: 10.23 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.1926/0.1926, allocations: 40.01 MB / 340.8 MB, free: 11.41 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000427/0.0004271, allocations: 16.28 kB / 406.2 MB, free: 51.85 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1337/0.1342, allocations: 54.88 MB / 461 MB, free: 3.324 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1301/0.2643, allocations: 82.15 MB / 0.5305 GB, free: 1.055 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002689/0.2646, allocations: 75.95 kB / 0.5305 GB, free: 0.9805 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.2974/0.562, allocations: 5.086 MB / 0.5355 GB, free: 83.01 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.305e-06/0.562, allocations: 1.844 kB / 0.5355 GB, free: 83.01 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.226e-05/0.562, allocations: 5.219 kB / 0.5355 GB, free: 83 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005351/0.5626, allocations: 497.8 kB / 0.536 GB, free: 82.52 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.988e-05/0.5626, allocations: 8.625 kB / 0.536 GB, free: 82.52 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.025e-05/0.5627, allocations: 17.41 kB / 0.536 GB, free: 82.52 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003043/0.563, allocations: 217.5 kB / 0.5362 GB, free: 82.31 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.557e-05/0.5631, allocations: 5.969 kB / 0.5362 GB, free: 82.31 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.73e-05/0.5631, allocations: 9.391 kB / 0.5362 GB, free: 82.3 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001666/0.5633, allocations: 68 kB / 0.5363 GB, free: 82.27 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.342e-05/0.5633, allocations: 5.734 kB / 0.5363 GB, free: 82.27 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.126e-05/0.5633, allocations: 0 / 0.5363 GB, free: 82.27 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.5633, allocations: 0.8125 kB / 0.5363 GB, free: 82.27 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001144/0.5634, allocations: 34.53 kB / 0.5363 GB, free: 82.27 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004577/0.5639, allocations: 338.6 kB / 0.5367 GB, free: 82 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002127/0.5641, allocations: 79.73 kB / 0.5367 GB, free: 81.97 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.387e-05/0.5642, allocations: 4.891 kB / 0.5367 GB, free: 81.96 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001708/0.5643, allocations: 74.91 kB / 0.5368 GB, free: 81.92 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 1.363e-06/0.5643, allocations: 1.062 kB / 0.5368 GB, free: 81.92 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.0006703/0.565, allocations: 224 kB / 0.537 GB, free: 81.86 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.866e-05/0.5651, allocations: 57.56 kB / 0.5371 GB, free: 81.79 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002477/0.5653, allocations: 222.1 kB / 0.5373 GB, free: 81.7 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.153e-05/0.5654, allocations: 33.45 kB / 0.5373 GB, free: 81.66 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.528e-05/0.5654, allocations: 105.5 kB / 0.5374 GB, free: 81.58 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.124e-05/0.5655, allocations: 31.02 kB / 0.5375 GB, free: 81.56 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.586e-06/0.5655, allocations: 8.25 kB / 0.5375 GB, free: 81.56 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.103e-05/0.5655, allocations: 326.2 kB / 0.5378 GB, free: 81.25 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.752e-05/0.5656, allocations: 41.77 kB / 0.5378 GB, free: 81.25 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000111/0.5658, allocations: 65.28 kB / 0.5379 GB, free: 81.23 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001217/0.5659, allocations: 78.88 kB / 0.5379 GB, free: 81.2 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.5659, allocations: 0 / 0.5379 GB, free: 81.2 MB / 378.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003098/0.5662, allocations: 208.4 kB / 0.5381 GB, free: 81.11 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.012e-05/0.5663, allocations: 35.7 kB / 0.5382 GB, free: 81.08 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.5663, allocations: 1.156 kB / 0.5382 GB, free: 81.08 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.5663, allocations: 1.75 kB / 0.5382 GB, free: 81.08 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001055/0.5664, allocations: 25.53 kB / 0.5382 GB, free: 81.07 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.293e-06/0.5664, allocations: 1.125 kB / 0.5382 GB, free: 81.07 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.134e-05/0.5665, allocations: 8.344 kB / 0.5382 GB, free: 81.07 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.658e-05/0.5665, allocations: 6.656 kB / 0.5382 GB, free: 81.07 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 (12): * Single equations (assignments): 11 * 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.0001068/0.5666, allocations: 141.4 kB / 0.5384 GB, free: 80.95 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.623e-05/0.5667, allocations: 14.77 kB / 0.5384 GB, free: 80.95 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003187/0.567, allocations: 156.7 kB / 0.5385 GB, free: 80.9 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.858e-06/0.567, allocations: 2.25 kB / 0.5385 GB, free: 80.9 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.567, allocations: 4 kB / 0.5385 GB, free: 80.89 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.567, allocations: 4.594 kB / 0.5385 GB, free: 80.89 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005507/0.5676, allocations: 468.1 kB / 0.539 GB, free: 80.58 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.5676, allocations: 1.562 kB / 0.539 GB, free: 80.58 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.333e-05/0.5677, allocations: 12.03 kB / 0.539 GB, free: 80.58 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.856e-06/0.5677, allocations: 1.031 kB / 0.539 GB, free: 80.58 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.292e-05/0.5677, allocations: 3 kB / 0.539 GB, free: 80.58 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.5677, allocations: 1.719 kB / 0.539 GB, free: 80.58 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.5677, allocations: 8.719 kB / 0.539 GB, free: 80.57 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002864/0.568, allocations: 246.6 kB / 0.5392 GB, free: 80.4 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.041e-05/0.5681, allocations: 107.6 kB / 0.5393 GB, free: 80.3 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.185e-05/0.5681, allocations: 4.234 kB / 0.5393 GB, free: 80.3 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.718e-05/0.5682, allocations: 5.375 kB / 0.5394 GB, free: 80.3 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.157e-05/0.5683, allocations: 12.62 kB / 0.5394 GB, free: 80.3 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.372e-05/0.5683, allocations: 4.797 kB / 0.5394 GB, free: 80.3 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001911/0.5685, allocations: 181.5 kB / 0.5395 GB, free: 80.22 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5685, allocations: 0 / 0.5395 GB, free: 80.22 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002978/0.5688, allocations: 44.66 kB / 0.5396 GB, free: 80.21 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 (11): * Single equations (assignments): 9 * 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.0009866/0.5698, allocations: 441.5 kB / 0.54 GB, free: 79.93 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000327/0.5701, allocations: 187 kB / 0.5402 GB, free: 79.86 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.5701, allocations: 0 / 0.5402 GB, free: 79.86 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.919e-05/0.5702, allocations: 43.83 kB / 0.5402 GB, free: 79.86 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002555/0.5705, allocations: 27.03 kB / 0.5403 GB, free: 79.85 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005714/0.5711, allocations: 331.5 kB / 0.5406 GB, free: 79.65 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00018/0.5713, allocations: 0.7219 MB / 0.5413 GB, free: 78.96 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.804e-05/0.5714, allocations: 21.7 kB / 0.5413 GB, free: 78.95 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.576e-05/0.5714, allocations: 19.88 kB / 0.5413 GB, free: 78.94 MB / 378.7 MB Notification: Performance of SimCode: time 4.51e-07/0.5714, allocations: 1.25 kB / 0.5413 GB, free: 78.94 MB / 378.7 MB Notification: Performance of Templates: time 0.004956/0.5764, allocations: 1.964 MB / 0.5432 GB, free: 78.56 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test8.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test8.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test8 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1)