Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.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.CombiTable2Ds.Test33,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test33") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test33,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test33") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001007/0.001007, allocations: 105.4 kB / 18.4 MB, free: 4.57 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.000973/0.000973, allocations: 188 kB / 19.34 MB, free: 3.641 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.462/1.462, allocations: 222.9 MB / 243 MB, free: 15.15 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.2433/0.2433, allocations: 44.17 MB / 337.4 MB, free: 2.73 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001253, allocations: 66.67 kB / 409.9 MB, free: 26.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1519/0.1532, allocations: 60.82 MB / 470.7 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test33): time 0.00365/0.1569, allocations: 1.817 MB / 472.5 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001426/0.1583, allocations: 0.8652 MB / 473.4 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.699e-05/0.1584, allocations: 0 / 473.4 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002497/0.1587, allocations: 63.73 kB / 473.5 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002564/0.159, allocations: 75.59 kB / 473.5 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003983/0.1594, allocations: 159.1 kB / 473.7 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002815/0.1597, allocations: 199.4 kB / 473.9 MB, free: 10.49 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001257/0.1598, allocations: 21.06 kB / 473.9 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001366/0.1599, allocations: 87.67 kB / 474 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001573/0.1601, allocations: 99.62 kB / 474.1 MB, free: 10.28 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.148e-05/0.1601, allocations: 16 kB / 474.1 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.264e-05/0.1602, allocations: 32 kB / 474.1 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001121/0.1604, allocations: 43.83 kB / 474.2 MB, free: 10.19 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.643e-05/0.1605, allocations: 75.58 kB / 474.2 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000264/0.1607, allocations: 183.4 kB / 474.4 MB, free: 9.938 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.1607, allocations: 0 / 474.4 MB, free: 9.938 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.1607, allocations: 0 / 474.4 MB, free: 9.938 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.25e-06/0.1608, allocations: 0 / 474.4 MB, free: 9.938 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.00108/0.1618, allocations: 0.5604 MB / 475 MB, free: 9.316 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.843e-05/0.1619, allocations: 12.03 kB / 475 MB, free: 9.305 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.349e-05/0.162, allocations: 16.75 kB / 475 MB, free: 9.289 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002722/0.1622, allocations: 221 kB / 475.2 MB, free: 9.031 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.882e-05/0.1623, allocations: 12.36 kB / 475.2 MB, free: 9.02 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.172e-05/0.1623, allocations: 8.125 kB / 475.2 MB, free: 9.012 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004543/0.1628, allocations: 141.5 kB / 475.4 MB, free: 8.867 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.1628, allocations: 4 kB / 475.4 MB, free: 8.863 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.71e-05/0.1628, allocations: 4 kB / 475.4 MB, free: 8.859 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.1628, allocations: 0 / 475.4 MB, free: 8.859 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006332/0.1635, allocations: 163.8 kB / 475.6 MB, free: 8.699 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005043/0.164, allocations: 364.5 kB / 475.9 MB, free: 8.293 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000683/0.1647, allocations: 190.4 kB / 476.1 MB, free: 8.098 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003315/0.165, allocations: 92.75 kB / 476.2 MB, free: 8.004 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.339e-05/0.1651, allocations: 0 / 476.2 MB, free: 8.004 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005316/0.1656, allocations: 171.3 kB / 476.4 MB, free: 7.824 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 3.376e-06/0.1656, allocations: 3.984 kB / 476.4 MB, free: 7.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.003196/0.1688, allocations: 0.8085 MB / 477.2 MB, free: 7.004 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.334e-05/0.1689, allocations: 71.27 kB / 477.2 MB, free: 6.922 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00023/0.1691, allocations: 232 kB / 477.5 MB, free: 6.688 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.918e-05/0.1691, allocations: 29.7 kB / 477.5 MB, free: 6.652 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.519e-05/0.1692, allocations: 124.1 kB / 477.6 MB, free: 6.527 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.626e-05/0.1693, allocations: 35.45 kB / 477.6 MB, free: 6.492 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.878e-05/0.1694, allocations: 33.7 kB / 477.7 MB, free: 6.453 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001324/0.1695, allocations: 334.8 kB / 478 MB, free: 6.117 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000618/0.1701, allocations: 159.8 kB / 478.2 MB, free: 5.961 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005893/0.1707, allocations: 175.9 kB / 478.3 MB, free: 5.789 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001132/0.1719, allocations: 363.8 kB / 478.7 MB, free: 5.418 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.1719, allocations: 0 / 478.7 MB, free: 5.418 MB / 350.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001316/0.1732, allocations: 458.5 kB / 479.1 MB, free: 4.953 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.869e-05/0.1733, allocations: 63.41 kB / 479.2 MB, free: 4.879 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.1733, allocations: 0 / 479.2 MB, free: 4.879 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/0.1733, allocations: 4 kB / 479.2 MB, free: 4.875 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003831/0.1737, allocations: 67.89 kB / 479.3 MB, free: 4.809 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.051e-05/0.1737, allocations: 7.938 kB / 479.3 MB, free: 4.801 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003563/0.1741, allocations: 67.91 kB / 479.3 MB, free: 4.734 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.543e-05/0.1741, allocations: 8 kB / 479.4 MB, free: 4.727 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.0001376/0.1743, allocations: 133.8 kB / 479.5 MB, free: 4.586 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.445e-05/0.1743, allocations: 15.81 kB / 479.5 MB, free: 4.57 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001317/0.1756, allocations: 398.7 kB / 479.9 MB, free: 4.18 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.1757, allocations: 8 kB / 479.9 MB, free: 4.172 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.563e-06/0.1757, allocations: 3.938 kB / 479.9 MB, free: 4.168 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.1757, allocations: 0 / 479.9 MB, free: 4.168 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001545/0.1772, allocations: 0.6934 MB / 480.6 MB, free: 3.418 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.1772, allocations: 3.984 kB / 480.6 MB, free: 3.414 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003249/0.1776, allocations: 71.91 kB / 480.7 MB, free: 3.344 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.909e-06/0.1776, allocations: 3.938 kB / 480.7 MB, free: 3.34 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.867e-05/0.1776, allocations: 0 / 480.7 MB, free: 3.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.1776, allocations: 0 / 480.7 MB, free: 3.34 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.1776, allocations: 4 kB / 480.7 MB, free: 3.336 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001236/0.1789, allocations: 481.9 kB / 481.1 MB, free: 2.852 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.037e-05/0.1789, allocations: 92.86 kB / 481.2 MB, free: 2.742 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.051e-05/0.179, allocations: 4 kB / 481.2 MB, free: 2.738 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003652/0.1793, allocations: 63.84 kB / 481.3 MB, free: 2.676 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001717/0.1795, allocations: 51.94 kB / 481.4 MB, free: 2.625 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.86e-05/0.1796, allocations: 4 kB / 481.4 MB, free: 2.621 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001625/0.1797, allocations: 180.3 kB / 481.5 MB, free: 2.445 MB / 350.1 MB Notification: Performance of sort global known variables: time 4.91e-07/0.1797, allocations: 0 / 481.5 MB, free: 2.445 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003374/0.1801, allocations: 47.89 kB / 481.6 MB, free: 2.398 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.00101/0.1811, allocations: 414 kB / 482 MB, free: 2.145 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001394/0.1825, allocations: 474.4 kB / 482.4 MB, free: 1.656 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.1825, allocations: 0 / 482.4 MB, free: 1.656 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006432/0.1832, allocations: 183.8 kB / 482.6 MB, free: 1.477 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003859/0.1836, allocations: 40.5 kB / 482.7 MB, free: 1.441 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009187/0.1845, allocations: 346.8 kB / 483 MB, free: 1.078 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003028/0.1848, allocations: 0.7201 MB / 483.7 MB, free: 340 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001035/0.1849, allocations: 21.41 kB / 483.7 MB, free: 316 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.338e-05/0.185, allocations: 19.44 kB / 483.8 MB, free: 296 kB / 350.1 MB Notification: Performance of SimCode: time 1.032e-06/0.185, allocations: 0 / 483.8 MB, free: 296 kB / 350.1 MB Notification: Performance of Templates: time 0.007083/0.1921, allocations: 3.493 MB / 487.3 MB, free: 12.81 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test33.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test33.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test33 -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe 2>&1)