Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test56.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.Test56,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test56") translateModel(ModelicaTest.Tables.CombiTimeTable.Test56,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test56") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001758/0.001758, allocations: 181.6 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.778/1.778, allocations: 194.3 MB / 207.5 MB, free: 3.453 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.001781/0.001781, allocations: 114.1 kB / 252.6 MB, free: 4.828 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.2252/0.2252, allocations: 39.93 MB / 337.5 MB, free: 480 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 5.7e-05/5.711e-05, allocations: 7.984 kB / 400.3 MB, free: 69.86 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1164/0.1165, allocations: 54.86 MB / 455.1 MB, free: 14.97 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4289/0.5455, allocations: 82.27 MB / 0.5248 GB, free: 8.898 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002468/0.5458, allocations: 72.41 kB / 0.5249 GB, free: 8.863 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.01553/0.5613, allocations: 4.966 MB / 0.5297 GB, free: 5.191 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.394e-06/0.5613, allocations: 0 / 0.5297 GB, free: 5.191 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.654e-05/0.5614, allocations: 3.938 kB / 0.5297 GB, free: 5.188 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.0005536/0.5619, allocations: 444.4 kB / 0.5302 GB, free: 4.703 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.389e-05/0.562, allocations: 8.031 kB / 0.5302 GB, free: 4.695 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.768e-05/0.5621, allocations: 7.906 kB / 0.5302 GB, free: 4.688 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003182/0.5624, allocations: 209.1 kB / 0.5304 GB, free: 4.453 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.303e-05/0.5624, allocations: 4 kB / 0.5304 GB, free: 4.449 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.976e-05/0.5625, allocations: 7.25 kB / 0.5304 GB, free: 4.445 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000171/0.5627, allocations: 66.33 kB / 0.5305 GB, free: 4.375 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/0.5627, allocations: 0 / 0.5305 GB, free: 4.375 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.818e-05/0.5627, allocations: 7.078 kB / 0.5305 GB, free: 4.371 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.082e-06/0.5627, allocations: 4 kB / 0.5305 GB, free: 4.367 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.037e-05/0.5628, allocations: 22.48 kB / 0.5305 GB, free: 4.348 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004195/0.5632, allocations: 296 kB / 0.5308 GB, free: 4.031 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001394/0.5634, allocations: 56.09 kB / 0.5308 GB, free: 3.98 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.882e-05/0.5635, allocations: 19.28 kB / 0.5308 GB, free: 3.961 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.928e-05/0.5635, allocations: 4 kB / 0.5309 GB, free: 3.957 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001413/0.5636, allocations: 76.97 kB / 0.5309 GB, free: 3.879 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.553e-06/0.5636, allocations: 0 / 0.5309 GB, free: 3.879 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005627/0.5642, allocations: 163.2 kB / 0.5311 GB, free: 3.738 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.343e-05/0.5643, allocations: 80.3 kB / 0.5312 GB, free: 3.645 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001226/0.5644, allocations: 135.9 kB / 0.5313 GB, free: 3.516 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.673e-05/0.5644, allocations: 29.7 kB / 0.5313 GB, free: 3.48 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.295e-05/0.5645, allocations: 94.66 kB / 0.5314 GB, free: 3.391 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.52e-05/0.5645, allocations: 23.23 kB / 0.5314 GB, free: 3.375 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.067e-06/0.5645, allocations: 4 kB / 0.5314 GB, free: 3.371 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.565e-05/0.5646, allocations: 322.1 kB / 0.5317 GB, free: 3.051 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.431e-05/0.5647, allocations: 31.69 kB / 0.5318 GB, free: 3.031 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.312e-05/0.5648, allocations: 50.75 kB / 0.5318 GB, free: 2.984 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.713e-05/0.5649, allocations: 63.56 kB / 0.5319 GB, free: 2.93 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.71e-07/0.5649, allocations: 0 / 0.5319 GB, free: 2.93 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002682/0.5652, allocations: 165.9 kB / 0.532 GB, free: 2.781 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.323e-05/0.5652, allocations: 33.75 kB / 0.5321 GB, free: 2.742 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.5652, allocations: 8.062 kB / 0.5321 GB, free: 2.734 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.5652, allocations: 4 kB / 0.5321 GB, free: 2.73 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001129/0.5654, allocations: 12 kB / 0.5321 GB, free: 2.719 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.636e-06/0.5654, allocations: 8 kB / 0.5321 GB, free: 2.711 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.523e-05/0.5655, allocations: 11.3 kB / 0.5321 GB, free: 2.703 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.525e-05/0.5655, allocations: 4 kB / 0.5321 GB, free: 2.699 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 6.669e-05/0.5656, allocations: 113.9 kB / 0.5322 GB, free: 2.586 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.481e-05/0.5656, allocations: 15.8 kB / 0.5322 GB, free: 2.57 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002624/0.5659, allocations: 121 kB / 0.5324 GB, free: 2.473 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.5659, allocations: 0 / 0.5324 GB, free: 2.473 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.191e-06/0.5659, allocations: 0 / 0.5324 GB, free: 2.473 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.5659, allocations: 0 / 0.5324 GB, free: 2.473 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000433/0.5663, allocations: 398.3 kB / 0.5327 GB, free: 2.066 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.5664, allocations: 0 / 0.5327 GB, free: 2.066 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.42e-05/0.5664, allocations: 11.98 kB / 0.5327 GB, free: 2.055 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.5664, allocations: 0 / 0.5327 GB, free: 2.055 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.383e-05/0.5665, allocations: 8.031 kB / 0.5328 GB, free: 2.047 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.5665, allocations: 0 / 0.5328 GB, free: 2.047 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.5665, allocations: 0 / 0.5328 GB, free: 2.047 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002237/0.5667, allocations: 219.9 kB / 0.533 GB, free: 1.828 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.037e-05/0.5668, allocations: 96.75 kB / 0.5331 GB, free: 1.719 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.861e-05/0.5668, allocations: 3.938 kB / 0.5331 GB, free: 1.715 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001177/0.5669, allocations: 15.61 kB / 0.5331 GB, free: 1.703 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.316e-05/0.567, allocations: 4 kB / 0.5331 GB, free: 1.699 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.192e-05/0.567, allocations: 7.938 kB / 0.5331 GB, free: 1.691 MB / 346.7 MB Notification: Performance of sorting global known variables: time 8.058e-05/0.5671, allocations: 117.8 kB / 0.5332 GB, free: 1.59 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.5671, allocations: 0 / 0.5332 GB, free: 1.59 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000464/0.5676, allocations: 55.52 kB / 0.5332 GB, free: 1.539 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.00144/0.569, allocations: 482.2 kB / 0.5337 GB, free: 1.152 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002674/0.5693, allocations: 144.3 kB / 0.5338 GB, free: 1.031 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.5693, allocations: 4.25 kB / 0.5338 GB, free: 1.027 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 7.405e-05/0.5694, allocations: 35.17 kB / 0.5339 GB, free: 1 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003131/0.5697, allocations: 23.61 kB / 0.5339 GB, free: 0.9805 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003626/0.5701, allocations: 128.6 kB / 0.534 GB, free: 0.8438 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001512/0.5703, allocations: 0.7004 MB / 0.5347 GB, free: 120 kB / 346.7 MB Notification: Performance of simCode: alias equations: time 7.908e-05/0.5704, allocations: 20.48 kB / 0.5347 GB, free: 96 kB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.538e-05/0.5704, allocations: 15.44 kB / 0.5347 GB, free: 84 kB / 346.7 MB Notification: Performance of SimCode: time 3.71e-07/0.5704, allocations: 0 / 0.5347 GB, free: 84 kB / 346.7 MB Notification: Performance of Templates: time 0.006441/0.5769, allocations: 1.967 MB / 0.5367 GB, free: 14.14 MB / 362.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test56.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test56.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test56.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test56 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test56.pipe 2>&1)