Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test27.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.Test27,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test27") translateModel(ModelicaTest.Tables.CombiTimeTable.Test27,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002567/0.002567, allocations: 181.7 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.72/1.72, allocations: 194.3 MB / 207.5 MB, free: 3.383 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.001706/0.001706, allocations: 115.6 kB / 252.6 MB, free: 4.812 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.216/0.216, allocations: 39.93 MB / 337.5 MB, free: 472 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.962e-05/3.964e-05, allocations: 4 kB / 400.3 MB, free: 69.87 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1094/0.1094, allocations: 54.86 MB / 455.2 MB, free: 14.98 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4489/0.5584, allocations: 82.03 MB / 0.5246 GB, free: 9.109 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002122/0.5587, allocations: 69.84 kB / 0.5247 GB, free: 9.078 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.011/0.5697, allocations: 4.468 MB / 0.529 GB, free: 5.555 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.264e-06/0.5697, allocations: 3.938 kB / 0.529 GB, free: 5.551 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.264e-05/0.5697, allocations: 4 kB / 0.529 GB, free: 5.547 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.0004483/0.5702, allocations: 450.8 kB / 0.5295 GB, free: 5.059 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.257e-05/0.5702, allocations: 12.03 kB / 0.5295 GB, free: 5.047 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.554e-05/0.5703, allocations: 7.906 kB / 0.5295 GB, free: 5.039 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002337/0.5705, allocations: 211.5 kB / 0.5297 GB, free: 4.805 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.86e-05/0.5706, allocations: 7.125 kB / 0.5297 GB, free: 4.801 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.177e-05/0.5706, allocations: 4 kB / 0.5297 GB, free: 4.797 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001093/0.5707, allocations: 56.8 kB / 0.5297 GB, free: 4.742 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.5707, allocations: 0 / 0.5297 GB, free: 4.742 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/0.5707, allocations: 7.953 kB / 0.5297 GB, free: 4.734 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.5708, allocations: 0 / 0.5297 GB, free: 4.734 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.347e-05/0.5708, allocations: 19.88 kB / 0.5298 GB, free: 4.723 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003031/0.5711, allocations: 312.2 kB / 0.5301 GB, free: 4.391 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001027/0.5712, allocations: 59.56 kB / 0.5301 GB, free: 4.336 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.328e-05/0.5713, allocations: 19.86 kB / 0.5301 GB, free: 4.316 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.491e-05/0.5713, allocations: 3.25 kB / 0.5301 GB, free: 4.316 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001166/0.5714, allocations: 70.09 kB / 0.5302 GB, free: 4.242 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.433e-06/0.5714, allocations: 0 / 0.5302 GB, free: 4.242 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004046/0.5718, allocations: 155.8 kB / 0.5304 GB, free: 4.113 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.785e-05/0.5719, allocations: 63.39 kB / 0.5304 GB, free: 4.039 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001154/0.572, allocations: 168.2 kB / 0.5306 GB, free: 3.887 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.502e-05/0.572, allocations: 33.08 kB / 0.5306 GB, free: 3.852 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.309e-05/0.5721, allocations: 105.1 kB / 0.5307 GB, free: 3.754 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.86e-05/0.5721, allocations: 19.16 kB / 0.5307 GB, free: 3.738 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.452e-06/0.5721, allocations: 0 / 0.5307 GB, free: 3.738 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.819e-05/0.5722, allocations: 330 kB / 0.531 GB, free: 3.414 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.519e-05/0.5722, allocations: 33.19 kB / 0.5311 GB, free: 3.395 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.312e-05/0.5723, allocations: 50.58 kB / 0.5311 GB, free: 3.352 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.179e-05/0.5724, allocations: 74.44 kB / 0.5312 GB, free: 3.289 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.5724, allocations: 0 / 0.5312 GB, free: 3.289 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001915/0.5726, allocations: 183 kB / 0.5314 GB, free: 3.129 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.592e-05/0.5726, allocations: 36.89 kB / 0.5314 GB, free: 3.09 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.5726, allocations: 0 / 0.5314 GB, free: 3.09 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.5726, allocations: 0 / 0.5314 GB, free: 3.09 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.843e-05/0.5727, allocations: 19.98 kB / 0.5314 GB, free: 3.07 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.5728, allocations: 0 / 0.5314 GB, free: 3.07 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.24e-05/0.5728, allocations: 4 kB / 0.5314 GB, free: 3.066 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.435e-05/0.5728, allocations: 11.28 kB / 0.5314 GB, free: 3.059 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.297e-05/0.5729, allocations: 112.9 kB / 0.5315 GB, free: 2.941 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.784e-05/0.5729, allocations: 23.94 kB / 0.5316 GB, free: 2.918 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001817/0.5731, allocations: 117.3 kB / 0.5317 GB, free: 2.82 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.5731, allocations: 0 / 0.5317 GB, free: 2.82 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.5731, allocations: 7.984 kB / 0.5317 GB, free: 2.812 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.5731, allocations: 0 / 0.5317 GB, free: 2.812 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003152/0.5735, allocations: 416 kB / 0.5321 GB, free: 2.391 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.5735, allocations: 0 / 0.5321 GB, free: 2.391 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.716e-05/0.5735, allocations: 11.98 kB / 0.5321 GB, free: 2.379 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.5735, allocations: 0 / 0.5321 GB, free: 2.379 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.106e-05/0.5735, allocations: 7.5 kB / 0.5321 GB, free: 2.375 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.5735, allocations: 0 / 0.5321 GB, free: 2.375 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.5735, allocations: 0 / 0.5321 GB, free: 2.375 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001507/0.5737, allocations: 222.8 kB / 0.5323 GB, free: 2.152 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.41e-05/0.5738, allocations: 96.91 kB / 0.5324 GB, free: 2.039 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.408e-05/0.5738, allocations: 7.875 kB / 0.5324 GB, free: 2.035 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.975e-05/0.5739, allocations: 3.984 kB / 0.5324 GB, free: 2.031 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.231e-05/0.5739, allocations: 7.938 kB / 0.5324 GB, free: 2.023 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.798e-06/0.5739, allocations: 6.812 kB / 0.5324 GB, free: 2.02 MB / 346.7 MB Notification: Performance of sorting global known variables: time 7.975e-05/0.574, allocations: 137.3 kB / 0.5326 GB, free: 1.902 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.574, allocations: 8 kB / 0.5326 GB, free: 1.895 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000243/0.5743, allocations: 30.75 kB / 0.5326 GB, free: 1.867 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.0007952/0.5751, allocations: 390.7 kB / 0.533 GB, free: 1.551 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001908/0.5753, allocations: 161.2 kB / 0.5331 GB, free: 1.422 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.5753, allocations: 0 / 0.5331 GB, free: 1.422 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.085e-05/0.5753, allocations: 36.84 kB / 0.5332 GB, free: 1.398 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002166/0.5756, allocations: 28.28 kB / 0.5332 GB, free: 1.375 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000367/0.5759, allocations: 159.2 kB / 0.5333 GB, free: 1.211 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000145/0.5761, allocations: 0.7082 MB / 0.534 GB, free: 488 kB / 346.7 MB Notification: Performance of simCode: alias equations: time 5.004e-05/0.5762, allocations: 16.41 kB / 0.534 GB, free: 472 kB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.566e-05/0.5762, allocations: 18.94 kB / 0.5341 GB, free: 456 kB / 346.7 MB Notification: Performance of SimCode: time 2.41e-07/0.5762, allocations: 4 kB / 0.5341 GB, free: 452 kB / 346.7 MB Notification: Performance of Templates: time 0.004296/0.5805, allocations: 1.737 MB / 0.5358 GB, free: 14.73 MB / 362.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test27.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test27.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test27.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test27 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test27.pipe 2>&1)