Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test33.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test33,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test33") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test33,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test33") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001095/0.001095, allocations: 107.3 kB / 18.4 MB, free: 4.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001084/0.001084, allocations: 188 kB / 19.34 MB, free: 3.77 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.548/1.548, allocations: 222.9 MB / 243 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2825/0.2825, allocations: 44.17 MB / 337.4 MB, free: 2.719 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001996/0.001996, allocations: 62.12 kB / 409.9 MB, free: 26.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1497/0.1517, allocations: 60.84 MB / 470.7 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test33): time 0.004493/0.1563, allocations: 1.805 MB / 472.5 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00142/0.1577, allocations: 0.8887 MB / 473.4 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.498e-05/0.1578, allocations: 7.938 kB / 473.4 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002297/0.1581, allocations: 59.72 kB / 473.5 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002474/0.1583, allocations: 71.61 kB / 473.5 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005097/0.1589, allocations: 214 kB / 473.8 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002753/0.1592, allocations: 187.5 kB / 473.9 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001105/0.1593, allocations: 37.41 kB / 474 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001343/0.1594, allocations: 75.75 kB / 474.1 MB, free: 10.31 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001465/0.1596, allocations: 99.62 kB / 474.1 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.027e-05/0.1596, allocations: 12 kB / 474.2 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.528e-05/0.1597, allocations: 44 kB / 474.2 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.565e-05/0.1598, allocations: 51.75 kB / 474.3 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.054e-05/0.1599, allocations: 67.59 kB / 474.3 MB, free: 10.04 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002395/0.1601, allocations: 179.5 kB / 474.5 MB, free: 9.863 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.1601, allocations: 0 / 474.5 MB, free: 9.863 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1602, allocations: 0 / 474.5 MB, free: 9.863 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.176e-05/0.1602, allocations: 4 kB / 474.5 MB, free: 9.859 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0009732/0.1612, allocations: 0.5643 MB / 475.1 MB, free: 9.234 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.296e-05/0.1612, allocations: 8.031 kB / 475.1 MB, free: 9.227 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.462e-05/0.1613, allocations: 16.75 kB / 475.1 MB, free: 9.211 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002295/0.1615, allocations: 228.8 kB / 475.3 MB, free: 8.949 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.602e-05/0.1615, allocations: 12.38 kB / 475.3 MB, free: 8.938 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.425e-05/0.1616, allocations: 12.03 kB / 475.3 MB, free: 8.926 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004587/0.162, allocations: 141.5 kB / 475.5 MB, free: 8.781 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.162, allocations: 3.984 kB / 475.5 MB, free: 8.777 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.358e-05/0.1621, allocations: 0 / 475.5 MB, free: 8.777 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.1621, allocations: 8 kB / 475.5 MB, free: 8.77 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006335/0.1627, allocations: 171.7 kB / 475.7 MB, free: 8.602 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007428/0.1635, allocations: 432.5 kB / 476.1 MB, free: 8.129 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006651/0.1641, allocations: 198.4 kB / 476.3 MB, free: 7.926 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003242/0.1645, allocations: 92.77 kB / 476.4 MB, free: 7.832 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.848e-05/0.1645, allocations: 0 / 476.4 MB, free: 7.832 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004966/0.165, allocations: 171.1 kB / 476.5 MB, free: 7.652 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.383e-06/0.165, allocations: 0 / 476.5 MB, free: 7.652 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.003147/0.1682, allocations: 0.832 MB / 477.4 MB, free: 6.812 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.536e-05/0.1682, allocations: 67.28 kB / 477.4 MB, free: 6.734 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002103/0.1685, allocations: 235.1 kB / 477.7 MB, free: 6.496 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.746e-05/0.1685, allocations: 29.7 kB / 477.7 MB, free: 6.461 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.984e-05/0.1686, allocations: 128 kB / 477.8 MB, free: 6.332 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.301e-05/0.1686, allocations: 35.69 kB / 477.8 MB, free: 6.297 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.595e-05/0.1687, allocations: 33.7 kB / 477.9 MB, free: 6.258 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001198/0.1688, allocations: 338.8 kB / 478.2 MB, free: 5.918 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005943/0.1694, allocations: 163.8 kB / 478.4 MB, free: 5.758 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005924/0.17, allocations: 179.8 kB / 478.5 MB, free: 5.582 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001095/0.1711, allocations: 378.4 kB / 478.9 MB, free: 5.199 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.1712, allocations: 0 / 478.9 MB, free: 5.199 MB / 350.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001304/0.1725, allocations: 468.4 kB / 479.4 MB, free: 4.723 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.057e-05/0.1725, allocations: 67.39 kB / 479.4 MB, free: 4.645 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.1725, allocations: 0 / 479.4 MB, free: 4.645 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.1726, allocations: 0 / 479.4 MB, free: 4.645 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003624/0.1729, allocations: 67.91 kB / 479.5 MB, free: 4.578 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.153e-05/0.1729, allocations: 7.938 kB / 479.5 MB, free: 4.57 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003353/0.1733, allocations: 59.91 kB / 479.6 MB, free: 4.512 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.319e-05/0.1733, allocations: 8 kB / 479.6 MB, free: 4.504 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 (trapezoid2.count,$PRE.trapezoid2.count,trapezoid2.T_start,$PRE.trapezoid2.T_start,trapezoid1.count,$PRE.trapezoid1.count,trapezoid1.T_start,$PRE.trapezoid1.T_start,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001222/0.1734, allocations: 137.8 kB / 479.7 MB, free: 4.359 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.368e-05/0.1735, allocations: 15.81 kB / 479.7 MB, free: 4.344 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001298/0.1748, allocations: 421.6 kB / 480.1 MB, free: 3.934 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/0.1748, allocations: 8 kB / 480.1 MB, free: 3.926 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.1748, allocations: 3.938 kB / 480.1 MB, free: 3.922 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.244e-06/0.1748, allocations: 0.6719 kB / 480.1 MB, free: 3.922 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00171/0.1765, allocations: 0.7167 MB / 480.9 MB, free: 3.148 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.1766, allocations: 0 / 480.9 MB, free: 3.148 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003357/0.1769, allocations: 67.91 kB / 480.9 MB, free: 3.082 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.512e-06/0.1769, allocations: 7.938 kB / 480.9 MB, free: 3.074 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.937e-05/0.1769, allocations: 4 kB / 480.9 MB, free: 3.07 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.826e-06/0.1769, allocations: 3.938 kB / 480.9 MB, free: 3.066 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.177, allocations: 0 / 480.9 MB, free: 3.066 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001682/0.1786, allocations: 487 kB / 481.4 MB, free: 2.574 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004555/0.1791, allocations: 92.86 kB / 481.5 MB, free: 2.465 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.9e-05/0.1792, allocations: 4 kB / 481.5 MB, free: 2.461 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003738/0.1795, allocations: 71.84 kB / 481.6 MB, free: 2.391 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001573/0.1797, allocations: 47.94 kB / 481.6 MB, free: 2.344 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.942e-05/0.1797, allocations: 4 kB / 481.6 MB, free: 2.34 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003379/0.1801, allocations: 180.4 kB / 481.8 MB, free: 2.164 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1801, allocations: 0 / 481.8 MB, free: 2.164 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003129/0.1804, allocations: 51.98 kB / 481.9 MB, free: 2.113 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,trapezoid2.T_start,trapezoid2.count) * Number of discrete states: 2 (trapezoid2.count,trapezoid1.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001322/0.1817, allocations: 408.6 kB / 482.3 MB, free: 1.863 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002454/0.1842, allocations: 490.3 kB / 482.7 MB, free: 1.359 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.1842, allocations: 0 / 482.7 MB, free: 1.359 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000691/0.1849, allocations: 187.8 kB / 482.9 MB, free: 1.176 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006002/0.1855, allocations: 41.3 kB / 483 MB, free: 1.141 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001281/0.1868, allocations: 367 kB / 483.3 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001375/0.1882, allocations: 0.7279 MB / 484.1 MB, free: 4 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000145/0.1884, allocations: 33.39 kB / 484.1 MB, free: 15.97 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004279/0.1888, allocations: 15.44 kB / 484.1 MB, free: 15.95 MB / 366.1 MB Notification: Performance of SimCode: time 6.31e-07/0.1888, allocations: 0 / 484.1 MB, free: 15.95 MB / 366.1 MB Notification: Performance of Templates: time 0.01031/0.1991, allocations: 3.531 MB / 487.6 MB, free: 12.44 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test33.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test33.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test33 -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe 2>&1)