Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test55.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.Test55,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test55") translateModel(ModelicaTest.Tables.CombiTimeTable.Test55,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test55") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001567/0.001567, allocations: 181.8 kB / 12.74 MB, free: 2.582 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.84/1.84, allocations: 194.3 MB / 207.5 MB, free: 3.457 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.00171/0.00171, allocations: 111.1 kB / 252.6 MB, free: 4.832 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2273/0.2273, allocations: 39.93 MB / 337.5 MB, free: 492 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.211e-05/4.213e-05, allocations: 8 kB / 400.3 MB, free: 69.86 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1192/0.1192, allocations: 54.87 MB / 455.2 MB, free: 14.96 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4311/0.5504, allocations: 82.27 MB / 0.5248 GB, free: 8.852 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002373/0.5507, allocations: 73.39 kB / 0.5249 GB, free: 8.812 MB / 346.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.01278/0.5635, allocations: 4.957 MB / 0.5297 GB, free: 5.152 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.246e-06/0.5635, allocations: 0 / 0.5297 GB, free: 5.152 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.584e-05/0.5636, allocations: 3.938 kB / 0.5297 GB, free: 5.148 MB / 346.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.0005124/0.5641, allocations: 448.5 kB / 0.5302 GB, free: 4.664 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.433e-05/0.5641, allocations: 8.031 kB / 0.5302 GB, free: 4.656 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.211e-05/0.5642, allocations: 11.91 kB / 0.5302 GB, free: 4.645 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002465/0.5645, allocations: 202.6 kB / 0.5304 GB, free: 4.414 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.937e-05/0.5645, allocations: 8 kB / 0.5304 GB, free: 4.406 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.411e-05/0.5645, allocations: 4 kB / 0.5304 GB, free: 4.402 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001332/0.5647, allocations: 65.77 kB / 0.5305 GB, free: 4.336 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.5647, allocations: 4 kB / 0.5305 GB, free: 4.332 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.412e-05/0.5647, allocations: 3.953 kB / 0.5305 GB, free: 4.328 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.489e-06/0.5647, allocations: 0 / 0.5305 GB, free: 4.328 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.525e-05/0.5648, allocations: 22.55 kB / 0.5305 GB, free: 4.312 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003505/0.5651, allocations: 303.7 kB / 0.5308 GB, free: 3.992 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001191/0.5653, allocations: 53.34 kB / 0.5308 GB, free: 3.941 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.781e-05/0.5653, allocations: 20.8 kB / 0.5308 GB, free: 3.922 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.764e-05/0.5653, allocations: 0 / 0.5308 GB, free: 3.922 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001613/0.5655, allocations: 81.59 kB / 0.5309 GB, free: 3.84 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.473e-06/0.5655, allocations: 7.938 kB / 0.5309 GB, free: 3.832 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.000449/0.566, allocations: 155.5 kB / 0.5311 GB, free: 3.699 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.326e-05/0.566, allocations: 77.11 kB / 0.5312 GB, free: 3.605 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.819e-05/0.5661, allocations: 138.8 kB / 0.5313 GB, free: 3.473 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.495e-05/0.5661, allocations: 32.95 kB / 0.5313 GB, free: 3.438 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.108e-05/0.5662, allocations: 98.22 kB / 0.5314 GB, free: 3.344 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.016e-05/0.5662, allocations: 18.88 kB / 0.5314 GB, free: 3.328 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.371e-06/0.5662, allocations: 0 / 0.5314 GB, free: 3.328 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.65e-05/0.5663, allocations: 329 kB / 0.5317 GB, free: 3.004 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.893e-05/0.5663, allocations: 25.81 kB / 0.5318 GB, free: 2.988 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.556e-05/0.5664, allocations: 51.56 kB / 0.5318 GB, free: 2.941 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.779e-05/0.5665, allocations: 62.69 kB / 0.5319 GB, free: 2.887 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.5665, allocations: 0 / 0.5319 GB, free: 2.887 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001779/0.5667, allocations: 163.3 kB / 0.532 GB, free: 2.738 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.36e-05/0.5667, allocations: 40.94 kB / 0.5321 GB, free: 2.695 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.92e-06/0.5667, allocations: 4 kB / 0.5321 GB, free: 2.691 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.5667, allocations: 0 / 0.5321 GB, free: 2.691 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.079e-05/0.5668, allocations: 12 kB / 0.5321 GB, free: 2.68 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.234e-06/0.5668, allocations: 4 kB / 0.5321 GB, free: 2.676 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.107e-05/0.5669, allocations: 7.984 kB / 0.5321 GB, free: 2.668 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.333e-05/0.5669, allocations: 6.875 kB / 0.5321 GB, free: 2.664 MB / 346.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 () * 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 5.679e-05/0.567, allocations: 113.6 kB / 0.5322 GB, free: 2.551 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.71e-05/0.567, allocations: 11.86 kB / 0.5322 GB, free: 2.539 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000196/0.5672, allocations: 120.2 kB / 0.5323 GB, free: 2.441 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.5672, allocations: 0 / 0.5323 GB, free: 2.441 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.5672, allocations: 0 / 0.5323 GB, free: 2.441 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.5672, allocations: 3.984 kB / 0.5323 GB, free: 2.438 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003113/0.5676, allocations: 398.4 kB / 0.5327 GB, free: 2.031 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.5676, allocations: 0 / 0.5327 GB, free: 2.031 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.711e-05/0.5676, allocations: 11.98 kB / 0.5327 GB, free: 2.02 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.5676, allocations: 4 kB / 0.5327 GB, free: 2.016 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.022e-05/0.5676, allocations: 4.031 kB / 0.5327 GB, free: 2.012 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.5676, allocations: 160 / 0.5327 GB, free: 2.012 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.5676, allocations: 4 kB / 0.5327 GB, free: 2.008 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001593/0.5678, allocations: 230.1 kB / 0.533 GB, free: 1.781 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.626e-05/0.5679, allocations: 92.19 kB / 0.5331 GB, free: 1.676 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.28e-05/0.5679, allocations: 7.062 kB / 0.5331 GB, free: 1.672 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.147e-05/0.568, allocations: 11.98 kB / 0.5331 GB, free: 1.66 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.109e-05/0.568, allocations: 4 kB / 0.5331 GB, free: 1.656 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.109e-05/0.568, allocations: 11.42 kB / 0.5331 GB, free: 1.648 MB / 346.7 MB Notification: Performance of sorting global known variables: time 5.819e-05/0.5681, allocations: 113.1 kB / 0.5332 GB, free: 1.551 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5681, allocations: 0 / 0.5332 GB, free: 1.551 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002775/0.5684, allocations: 55.52 kB / 0.5332 GB, free: 1.5 MB / 346.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) * 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.001058/0.5695, allocations: 479.3 kB / 0.5337 GB, free: 1.113 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002011/0.5697, allocations: 148.2 kB / 0.5338 GB, free: 0.9883 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.5697, allocations: 8.062 kB / 0.5339 GB, free: 0.9805 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.285e-05/0.5697, allocations: 33.81 kB / 0.5339 GB, free: 0.957 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002299/0.57, allocations: 15.92 kB / 0.5339 GB, free: 0.9453 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002881/0.5703, allocations: 123.8 kB / 0.534 GB, free: 0.8086 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001268/0.5704, allocations: 0.7043 MB / 0.5347 GB, free: 80 kB / 346.7 MB Notification: Performance of simCode: alias equations: time 6.23e-05/0.5705, allocations: 24.61 kB / 0.5347 GB, free: 52 kB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.581e-05/0.5705, allocations: 19.42 kB / 0.5347 GB, free: 36 kB / 346.7 MB Notification: Performance of SimCode: time 5.01e-07/0.5705, allocations: 0 / 0.5347 GB, free: 36 kB / 346.7 MB Notification: Performance of Templates: time 0.005172/0.5757, allocations: 1.968 MB / 0.5367 GB, free: 14.1 MB / 362.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test55.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test55.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test55.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test55 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test55.pipe 2>&1)