Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test6.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test6") translateModel(ModelicaTest.Tables.CombiTimeTable.Test6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.0009851/0.0009851, allocations: 170.4 kB / 12.72 MB, free: 2.594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.383/1.383, allocations: 170.6 MB / 183.8 MB, free: 11.43 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001594/0.001594, allocations: 102.8 kB / 223.2 MB, free: 4.051 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.1847/0.1847, allocations: 37.98 MB / 300.4 MB, free: 5.348 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.349e-05/3.361e-05, allocations: 4 kB / 357 MB, free: 32.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08327/0.08333, allocations: 48.69 MB / 405.7 MB, free: 15.64 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3524/0.4358, allocations: 75.77 MB / 481.5 MB, free: 18.53 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002223/0.436, allocations: 68.41 kB / 481.5 MB, free: 18.53 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01121/0.4473, allocations: 4.362 MB / 485.9 MB, free: 17.98 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.4473, allocations: 0 / 485.9 MB, free: 17.98 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.055e-05/0.4473, allocations: 3.906 kB / 485.9 MB, free: 17.98 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003706/0.4477, allocations: 432 kB / 486.3 MB, free: 17.55 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.333e-05/0.4477, allocations: 15.59 kB / 486.3 MB, free: 17.55 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.774e-05/0.4478, allocations: 13.55 kB / 486.4 MB, free: 17.54 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002441/0.448, allocations: 212.6 kB / 486.6 MB, free: 17.33 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.394e-05/0.4481, allocations: 3.906 kB / 486.6 MB, free: 17.33 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.311e-05/0.4481, allocations: 0 / 486.6 MB, free: 17.33 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.853e-05/0.4482, allocations: 45.94 kB / 486.6 MB, free: 17.3 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/0.4482, allocations: 0 / 486.6 MB, free: 17.3 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.179e-05/0.4482, allocations: 3.812 kB / 486.6 MB, free: 17.3 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.4483, allocations: 1.781 kB / 486.6 MB, free: 17.3 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.824e-05/0.4483, allocations: 17.92 kB / 486.6 MB, free: 17.29 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003399/0.4487, allocations: 311 kB / 486.9 MB, free: 17.02 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001792/0.4488, allocations: 44.12 kB / 487 MB, free: 17 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.676e-05/0.4489, allocations: 16.17 kB / 487 MB, free: 16.99 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.037e-05/0.4489, allocations: 0 / 487 MB, free: 16.99 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.778e-05/0.449, allocations: 69.22 kB / 487.1 MB, free: 16.93 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.449, allocations: 0 / 487.1 MB, free: 16.93 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003387/0.4494, allocations: 111 kB / 487.2 MB, free: 16.89 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.331e-05/0.4494, allocations: 51.41 kB / 487.2 MB, free: 16.82 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002168/0.4496, allocations: 242.7 kB / 487.5 MB, free: 16.72 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.483e-05/0.4496, allocations: 33.27 kB / 487.5 MB, free: 16.69 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.289e-05/0.4497, allocations: 117.7 kB / 487.6 MB, free: 16.6 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.869e-05/0.4497, allocations: 12.59 kB / 487.6 MB, free: 16.59 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.951e-06/0.4497, allocations: 3.812 kB / 487.6 MB, free: 16.59 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.032e-05/0.4498, allocations: 326.6 kB / 487.9 MB, free: 16.28 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.372e-05/0.4498, allocations: 26.47 kB / 488 MB, free: 16.27 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.438e-05/0.4499, allocations: 24.86 kB / 488 MB, free: 16.27 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.67e-05/0.4499, allocations: 47.23 kB / 488 MB, free: 16.24 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.45, allocations: 3.844 kB / 488 MB, free: 16.24 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000152/0.4501, allocations: 132.2 kB / 488.2 MB, free: 16.17 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.862e-05/0.4502, allocations: 43.31 kB / 488.2 MB, free: 16.13 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.4502, allocations: 160 / 488.2 MB, free: 16.13 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/0.4502, allocations: 0 / 488.2 MB, free: 16.13 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.15e-05/0.4502, allocations: 13.72 kB / 488.2 MB, free: 16.13 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.173e-06/0.4502, allocations: 3.984 kB / 488.2 MB, free: 16.12 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.073e-05/0.4503, allocations: 7.281 kB / 488.2 MB, free: 16.12 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.217e-05/0.4503, allocations: 7.922 kB / 488.3 MB, free: 16.12 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * 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.215e-05/0.4504, allocations: 108.9 kB / 488.4 MB, free: 16.02 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.998e-05/0.4504, allocations: 13.66 kB / 488.4 MB, free: 16.01 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001672/0.4506, allocations: 95.62 kB / 488.5 MB, free: 15.97 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.4506, allocations: 0 / 488.5 MB, free: 15.97 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.4506, allocations: 4 kB / 488.5 MB, free: 15.96 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.4506, allocations: 0 / 488.5 MB, free: 15.96 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003019/0.4509, allocations: 384.5 kB / 488.8 MB, free: 15.66 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.4509, allocations: 1.828 kB / 488.8 MB, free: 15.66 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.058e-05/0.4509, allocations: 7.781 kB / 488.9 MB, free: 15.66 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.451, allocations: 0 / 488.9 MB, free: 15.66 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.052e-05/0.451, allocations: 9 kB / 488.9 MB, free: 15.66 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.451, allocations: 0 / 488.9 MB, free: 15.66 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.451, allocations: 0 / 488.9 MB, free: 15.66 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001297/0.4511, allocations: 183 kB / 489 MB, free: 15.52 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.057e-05/0.4512, allocations: 98.5 kB / 489.1 MB, free: 15.41 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.476e-05/0.4512, allocations: 3.969 kB / 489.1 MB, free: 15.41 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.142e-05/0.4513, allocations: 2.062 kB / 489.1 MB, free: 15.41 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.651e-05/0.4513, allocations: 3.844 kB / 489.1 MB, free: 15.41 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.278e-06/0.4513, allocations: 9.484 kB / 489.2 MB, free: 15.41 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001368/0.4515, allocations: 189.5 kB / 489.3 MB, free: 15.34 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4515, allocations: 4 kB / 489.3 MB, free: 15.33 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002461/0.4518, allocations: 45.27 kB / 489.4 MB, free: 15.32 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,t_new.nextTimeEvent) * Number of discrete states: 1 (t_new.nextTimeEvent) * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0006827/0.4524, allocations: 326.4 kB / 489.7 MB, free: 15.11 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001536/0.4526, allocations: 106 kB / 489.8 MB, free: 15.05 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.4526, allocations: 3.938 kB / 489.8 MB, free: 15.04 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 4.281e-05/0.4527, allocations: 30.47 kB / 489.8 MB, free: 15.04 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002143/0.4529, allocations: 19.41 kB / 489.9 MB, free: 15.03 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003554/0.4533, allocations: 197.4 kB / 490.1 MB, free: 14.94 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001588/0.4534, allocations: 0.7191 MB / 490.8 MB, free: 14.25 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 4.373e-05/0.4535, allocations: 15.8 kB / 490.8 MB, free: 14.24 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.869e-05/0.4535, allocations: 26.14 kB / 490.8 MB, free: 14.23 MB / 330.7 MB Notification: Performance of SimCode: time 2.61e-07/0.4535, allocations: 0 / 490.8 MB, free: 14.23 MB / 330.7 MB Notification: Performance of Templates: time 0.003918/0.4575, allocations: 1.671 MB / 492.5 MB, free: 14.05 MB / 330.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test6.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test6.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test6.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test6 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test6.pipe 2>&1)