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.001218/0.001219, allocations: 181.9 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.766/1.766, allocations: 194.3 MB / 207.5 MB, free: 3.465 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.001618/0.001617, allocations: 110.8 kB / 252.6 MB, free: 4.855 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.2188/0.2188, allocations: 39.94 MB / 337.5 MB, free: 488 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.225e-05/4.241e-05, allocations: 8 kB / 400.3 MB, free: 69.86 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1261/0.1262, allocations: 54.85 MB / 455.1 MB, free: 14.97 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.417/0.5433, allocations: 82.07 MB / 0.5246 GB, free: 9.059 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002204/0.5436, allocations: 72.28 kB / 0.5247 GB, free: 9.023 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.01138/0.555, allocations: 4.902 MB / 0.5295 GB, free: 5.113 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.555, allocations: 4 kB / 0.5295 GB, free: 5.109 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.126e-05/0.555, allocations: 4 kB / 0.5295 GB, free: 5.105 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.0003941/0.5554, allocations: 477.2 kB / 0.5299 GB, free: 4.59 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.5555, allocations: 8.031 kB / 0.53 GB, free: 4.582 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.52e-05/0.5555, allocations: 19.62 kB / 0.53 GB, free: 4.566 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002538/0.5558, allocations: 222.2 kB / 0.5302 GB, free: 4.316 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.783e-05/0.5558, allocations: 3.75 kB / 0.5302 GB, free: 4.316 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.307e-05/0.5558, allocations: 4 kB / 0.5302 GB, free: 4.312 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001053/0.556, allocations: 61.23 kB / 0.5302 GB, free: 4.254 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.556, allocations: 0 / 0.5302 GB, free: 4.254 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.051e-05/0.556, allocations: 3.953 kB / 0.5303 GB, free: 4.25 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.556, allocations: 0 / 0.5303 GB, free: 4.25 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.774e-05/0.5561, allocations: 23.67 kB / 0.5303 GB, free: 4.234 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003338/0.5564, allocations: 331 kB / 0.5306 GB, free: 3.891 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.965e-05/0.5565, allocations: 58.06 kB / 0.5306 GB, free: 3.836 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.255e-05/0.5566, allocations: 16.8 kB / 0.5307 GB, free: 3.82 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.9e-05/0.5566, allocations: 0 / 0.5307 GB, free: 3.82 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001397/0.5567, allocations: 74.97 kB / 0.5307 GB, free: 3.742 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.262e-06/0.5567, allocations: 0 / 0.5307 GB, free: 3.742 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004047/0.5572, allocations: 175.6 kB / 0.5309 GB, free: 3.594 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.162e-05/0.5572, allocations: 51.41 kB / 0.5309 GB, free: 3.531 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001935/0.5574, allocations: 241.7 kB / 0.5312 GB, free: 3.324 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.414e-05/0.5574, allocations: 37.52 kB / 0.5312 GB, free: 3.285 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.411e-05/0.5575, allocations: 119.4 kB / 0.5313 GB, free: 3.184 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.85e-05/0.5575, allocations: 23.39 kB / 0.5314 GB, free: 3.164 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.741e-06/0.5575, allocations: 0 / 0.5314 GB, free: 3.164 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.144e-05/0.5576, allocations: 330.3 kB / 0.5317 GB, free: 2.84 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.6e-05/0.5576, allocations: 35.06 kB / 0.5317 GB, free: 2.82 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.098e-05/0.5577, allocations: 57.02 kB / 0.5318 GB, free: 2.773 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.289e-05/0.5578, allocations: 72.75 kB / 0.5318 GB, free: 2.711 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.5578, allocations: 0 / 0.5318 GB, free: 2.711 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001956/0.558, allocations: 181.1 kB / 0.532 GB, free: 2.551 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.653e-05/0.558, allocations: 37.58 kB / 0.532 GB, free: 2.512 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.558, allocations: 0 / 0.532 GB, free: 2.512 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.16e-05/0.558, allocations: 0 / 0.532 GB, free: 2.512 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.552e-05/0.5581, allocations: 19.98 kB / 0.5321 GB, free: 2.492 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.5581, allocations: 4.062 kB / 0.5321 GB, free: 2.488 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.487e-05/0.5582, allocations: 8.031 kB / 0.5321 GB, free: 2.48 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.182e-05/0.5582, allocations: 4 kB / 0.5321 GB, free: 2.477 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.042e-05/0.5583, allocations: 112.4 kB / 0.5322 GB, free: 2.363 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.136e-05/0.5583, allocations: 23.94 kB / 0.5322 GB, free: 2.34 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001996/0.5585, allocations: 125.9 kB / 0.5323 GB, free: 2.223 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.5585, allocations: 4 kB / 0.5323 GB, free: 2.219 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.5585, allocations: 4 kB / 0.5323 GB, free: 2.215 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.5585, allocations: 0 / 0.5323 GB, free: 2.215 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003495/0.5589, allocations: 444.4 kB / 0.5327 GB, free: 1.773 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.5589, allocations: 0 / 0.5327 GB, free: 1.773 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.552e-05/0.5589, allocations: 8 kB / 0.5328 GB, free: 1.766 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.559, allocations: 4 kB / 0.5328 GB, free: 1.762 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.012e-05/0.559, allocations: 3.984 kB / 0.5328 GB, free: 1.758 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.559, allocations: 0 / 0.5328 GB, free: 1.758 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.559, allocations: 4 kB / 0.5328 GB, free: 1.754 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001558/0.5591, allocations: 224.8 kB / 0.533 GB, free: 1.527 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.01e-05/0.5592, allocations: 104.8 kB / 0.5331 GB, free: 1.41 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.599e-05/0.5592, allocations: 7.938 kB / 0.5331 GB, free: 1.406 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.409e-05/0.5593, allocations: 7.984 kB / 0.5331 GB, free: 1.398 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.008e-05/0.5594, allocations: 3.938 kB / 0.5331 GB, free: 1.395 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.075e-06/0.5594, allocations: 4 kB / 0.5331 GB, free: 1.391 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001285/0.5595, allocations: 207.5 kB / 0.5333 GB, free: 1.227 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.5595, allocations: 0 / 0.5333 GB, free: 1.227 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002461/0.5598, allocations: 43.94 kB / 0.5333 GB, free: 1.188 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.000779/0.5606, allocations: 388.6 kB / 0.5337 GB, free: 0.875 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002131/0.5608, allocations: 165.6 kB / 0.5339 GB, free: 0.7422 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.195e-06/0.5608, allocations: 0 / 0.5339 GB, free: 0.7422 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.969e-05/0.5608, allocations: 27.5 kB / 0.5339 GB, free: 0.7227 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002201/0.5611, allocations: 31.27 kB / 0.5339 GB, free: 0.6992 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003632/0.5614, allocations: 241 kB / 0.5342 GB, free: 480 kB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002274/0.5617, allocations: 0.7238 MB / 0.5349 GB, free: 15.72 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.028e-05/0.5617, allocations: 28.38 kB / 0.5349 GB, free: 15.7 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.038e-05/0.5618, allocations: 15.44 kB / 0.5349 GB, free: 15.68 MB / 362.7 MB Notification: Performance of SimCode: time 2.61e-07/0.5618, allocations: 0 / 0.5349 GB, free: 15.68 MB / 362.7 MB Notification: Performance of Templates: time 0.004512/0.5663, allocations: 1.906 MB / 0.5368 GB, free: 13.79 MB / 362.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)