Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test7.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.Test7,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test7") translateModel(ModelicaTest.Tables.CombiTimeTable.Test7,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.008253/0.008253, allocations: 175.9 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.828/1.828, allocations: 194.5 MB / 210.3 MB, free: 8.59 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.001731/0.001731, allocations: 108.6 kB / 255.6 MB, free: 11.2 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.1862/0.1862, allocations: 40.01 MB / 340.8 MB, free: 11.54 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005125/0.0005126, allocations: 14 kB / 406.2 MB, free: 52.07 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1352/0.1358, allocations: 54.87 MB / 461 MB, free: 3.414 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1309/0.2667, allocations: 82.15 MB / 0.5305 GB, free: 1.145 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002582/0.2671, allocations: 79.89 kB / 0.5305 GB, free: 1.066 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.2809/0.548, allocations: 4.839 MB / 0.5353 GB, free: 82.95 MB / 378.7 MB Notification: Performance of FrontEnd: time 4.138e-06/0.548, allocations: 0.7031 kB / 0.5353 GB, free: 82.95 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.585e-05/0.548, allocations: 6.75 kB / 0.5353 GB, free: 82.94 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000665/0.5487, allocations: 494.8 kB / 0.5357 GB, free: 82.46 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.509e-05/0.5487, allocations: 9.188 kB / 0.5357 GB, free: 82.46 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.081e-05/0.5488, allocations: 10.48 kB / 0.5358 GB, free: 82.46 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003715/0.5492, allocations: 224.8 kB / 0.536 GB, free: 82.24 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.654e-05/0.5492, allocations: 2.812 kB / 0.536 GB, free: 82.24 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.286e-05/0.5493, allocations: 14.23 kB / 0.536 GB, free: 82.23 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001774/0.5495, allocations: 55.48 kB / 0.536 GB, free: 82.2 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.431e-05/0.5495, allocations: 0 / 0.536 GB, free: 82.2 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.589e-05/0.5495, allocations: 6.422 kB / 0.536 GB, free: 82.2 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.5495, allocations: 0 / 0.536 GB, free: 82.2 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.691e-05/0.5496, allocations: 24.69 kB / 0.5361 GB, free: 82.2 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004766/0.5501, allocations: 320.9 kB / 0.5364 GB, free: 81.93 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000183/0.5503, allocations: 61.34 kB / 0.5364 GB, free: 81.9 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.367e-05/0.5503, allocations: 5.125 kB / 0.5364 GB, free: 81.9 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001557/0.5505, allocations: 71.17 kB / 0.5365 GB, free: 81.85 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.352e-06/0.5505, allocations: 0 / 0.5365 GB, free: 81.85 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006299/0.5511, allocations: 196 kB / 0.5367 GB, free: 81.79 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.969e-05/0.5512, allocations: 56.22 kB / 0.5367 GB, free: 81.72 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002666/0.5515, allocations: 209 kB / 0.5369 GB, free: 81.63 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.056e-05/0.5515, allocations: 31.77 kB / 0.537 GB, free: 81.6 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.638e-05/0.5516, allocations: 107.6 kB / 0.5371 GB, free: 81.52 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.256e-05/0.5516, allocations: 23.14 kB / 0.5371 GB, free: 81.5 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.115e-06/0.5516, allocations: 5.531 kB / 0.5371 GB, free: 81.5 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.1e-05/0.5517, allocations: 324.2 kB / 0.5374 GB, free: 81.19 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.585e-05/0.5518, allocations: 43 kB / 0.5375 GB, free: 81.19 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.856e-05/0.5519, allocations: 59.39 kB / 0.5375 GB, free: 81.17 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001164/0.552, allocations: 71.81 kB / 0.5376 GB, free: 81.14 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.71e-07/0.5521, allocations: 0 / 0.5376 GB, free: 81.14 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003252/0.5524, allocations: 183 kB / 0.5378 GB, free: 81.06 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.917e-05/0.5524, allocations: 39.27 kB / 0.5378 GB, free: 81.03 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.817e-06/0.5524, allocations: 2.078 kB / 0.5378 GB, free: 81.03 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.707e-05/0.5525, allocations: 4.031 kB / 0.5378 GB, free: 81.02 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001001/0.5526, allocations: 17.03 kB / 0.5378 GB, free: 81.02 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/0.5526, allocations: 0.7969 kB / 0.5378 GB, free: 81.02 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.302e-05/0.5527, allocations: 8.969 kB / 0.5378 GB, free: 81.02 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.794e-05/0.5527, allocations: 12.88 kB / 0.5378 GB, free: 81.02 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 (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 0.0001132/0.5528, allocations: 133.3 kB / 0.538 GB, free: 80.9 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.545e-05/0.5528, allocations: 14.03 kB / 0.538 GB, free: 80.89 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002854/0.5531, allocations: 133.5 kB / 0.5381 GB, free: 80.84 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.5531, allocations: 1.219 kB / 0.5381 GB, free: 80.84 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.5532, allocations: 0 / 0.5381 GB, free: 80.84 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.571e-06/0.5532, allocations: 0.7031 kB / 0.5381 GB, free: 80.84 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005248/0.5537, allocations: 429.1 kB / 0.5385 GB, free: 80.54 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-06/0.5537, allocations: 1.875 kB / 0.5385 GB, free: 80.54 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.3e-05/0.5538, allocations: 13.2 kB / 0.5385 GB, free: 80.53 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.5538, allocations: 1.125 kB / 0.5385 GB, free: 80.53 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.427e-05/0.5538, allocations: 11.28 kB / 0.5385 GB, free: 80.52 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.5538, allocations: 0.9375 kB / 0.5385 GB, free: 80.52 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.5538, allocations: 1.922 kB / 0.5385 GB, free: 80.52 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002429/0.5541, allocations: 230 kB / 0.5388 GB, free: 80.36 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.323e-05/0.5542, allocations: 107.7 kB / 0.5389 GB, free: 80.25 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.785e-05/0.5542, allocations: 2.766 kB / 0.5389 GB, free: 80.25 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.585e-05/0.5543, allocations: 10.98 kB / 0.5389 GB, free: 80.25 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.443e-05/0.5543, allocations: 6.75 kB / 0.5389 GB, free: 80.25 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.129e-05/0.5543, allocations: 2.781 kB / 0.5389 GB, free: 80.25 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000164/0.5545, allocations: 178.6 kB / 0.5391 GB, free: 80.17 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5545, allocations: 0 / 0.5391 GB, free: 80.17 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002968/0.5548, allocations: 47.2 kB / 0.5391 GB, free: 80.16 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 (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.0009544/0.5558, allocations: 441.2 kB / 0.5395 GB, free: 79.87 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002991/0.5561, allocations: 168.1 kB / 0.5397 GB, free: 79.8 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.5561, allocations: 192 / 0.5397 GB, free: 79.8 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.24e-05/0.5562, allocations: 34.77 kB / 0.5397 GB, free: 79.8 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006205/0.5568, allocations: 29.55 kB / 0.5397 GB, free: 79.79 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009764/0.5578, allocations: 301.9 kB / 0.54 GB, free: 79.61 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002693/0.5581, allocations: 0.7172 MB / 0.5407 GB, free: 78.91 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001159/0.5583, allocations: 17.69 kB / 0.5408 GB, free: 78.9 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.113e-05/0.5584, allocations: 16.78 kB / 0.5408 GB, free: 78.9 MB / 378.7 MB Notification: Performance of SimCode: time 1.162e-06/0.5584, allocations: 0 / 0.5408 GB, free: 78.9 MB / 378.7 MB Notification: Performance of Templates: time 0.006752/0.5651, allocations: 1.843 MB / 0.5426 GB, free: 78.69 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test7.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test7.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test7 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1)