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.0008927/0.0008931, allocations: 92.92 kB / 17 MB, free: 6.355 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.0008248/0.0008248, allocations: 185.5 kB / 17.89 MB, free: 5.926 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.433/1.433, allocations: 223.2 MB / 241.9 MB, free: 352 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2189/0.2189, allocations: 44.25 MB / 337.3 MB, free: 2.852 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003625/0.0003626, allocations: 8 kB / 409.7 MB, free: 27.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1377/0.1381, allocations: 61.92 MB / 471.6 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test33): time 0.002253/0.1404, allocations: 1.497 MB / 473.1 MB, free: 12.19 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001255/0.1417, allocations: 0.7919 MB / 473.9 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.608e-05/0.1417, allocations: 0 / 473.9 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002648/0.142, allocations: 47.88 kB / 473.9 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002066/0.1422, allocations: 75.66 kB / 474 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000397/0.1426, allocations: 135.2 kB / 474.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002192/0.1429, allocations: 155.5 kB / 474.3 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001056/0.143, allocations: 29.03 kB / 474.3 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001275/0.1431, allocations: 71.75 kB / 474.4 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001491/0.1433, allocations: 91.64 kB / 474.5 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.584e-05/0.1433, allocations: 4 kB / 474.5 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.692e-05/0.1434, allocations: 31.98 kB / 474.5 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.644e-05/0.1435, allocations: 35.89 kB / 474.5 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.709e-05/0.1436, allocations: 49.58 kB / 474.6 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001969/0.1438, allocations: 123.9 kB / 474.7 MB, free: 10.55 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.69e-06/0.1438, allocations: 0 / 474.7 MB, free: 10.55 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.1438, allocations: 0 / 474.7 MB, free: 10.55 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.1438, allocations: 3.938 kB / 474.7 MB, free: 10.55 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.001069/0.1449, allocations: 0.5644 MB / 475.3 MB, free: 9.922 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.454e-05/0.1449, allocations: 8.031 kB / 475.3 MB, free: 9.914 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.244e-05/0.145, allocations: 19.8 kB / 475.3 MB, free: 9.895 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002551/0.1452, allocations: 219.7 kB / 475.5 MB, free: 9.637 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.454e-05/0.1453, allocations: 4 kB / 475.5 MB, free: 9.633 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.855e-05/0.1453, allocations: 4 kB / 475.5 MB, free: 9.629 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004776/0.1458, allocations: 169.5 kB / 475.7 MB, free: 9.457 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.1458, allocations: 0 / 475.7 MB, free: 9.457 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.435e-05/0.1458, allocations: 4 kB / 475.7 MB, free: 9.453 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.1458, allocations: 0 / 475.7 MB, free: 9.453 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006696/0.1465, allocations: 215.8 kB / 475.9 MB, free: 9.242 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004908/0.147, allocations: 372.4 kB / 476.3 MB, free: 8.828 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007494/0.1478, allocations: 246.4 kB / 476.5 MB, free: 8.578 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003501/0.1481, allocations: 116.8 kB / 476.6 MB, free: 8.461 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.285e-05/0.1482, allocations: 0 / 476.6 MB, free: 8.461 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005284/0.1487, allocations: 195.2 kB / 476.8 MB, free: 8.258 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.372e-06/0.1487, allocations: 0 / 476.8 MB, free: 8.258 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.003391/0.1521, allocations: 1.043 MB / 477.9 MB, free: 7.207 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.281e-05/0.1522, allocations: 55.41 kB / 477.9 MB, free: 7.141 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002294/0.1524, allocations: 239.9 kB / 478.1 MB, free: 6.898 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.806e-05/0.1524, allocations: 33.7 kB / 478.2 MB, free: 6.859 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.597e-05/0.1525, allocations: 120.1 kB / 478.3 MB, free: 6.738 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.273e-05/0.1526, allocations: 35.69 kB / 478.3 MB, free: 6.703 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.643e-05/0.1526, allocations: 4 kB / 478.3 MB, free: 6.699 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001932/0.1528, allocations: 335.3 kB / 478.7 MB, free: 6.363 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008804/0.1537, allocations: 219.8 kB / 478.9 MB, free: 6.148 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009077/0.1546, allocations: 215.7 kB / 479.1 MB, free: 5.938 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009121/0.1555, allocations: 265.7 kB / 479.3 MB, free: 5.668 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.1556, allocations: 0 / 479.3 MB, free: 5.668 MB / 350.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.002025/0.1576, allocations: 0.5395 MB / 479.9 MB, free: 5.109 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.69e-05/0.1577, allocations: 63.34 kB / 480 MB, free: 5.035 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/0.1577, allocations: 4 kB / 480 MB, free: 5.031 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.905e-05/0.1577, allocations: 0 / 480 MB, free: 5.031 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005308/0.1583, allocations: 95.91 kB / 480 MB, free: 4.938 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.195e-05/0.1583, allocations: 3.984 kB / 480.1 MB, free: 4.934 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005344/0.1588, allocations: 91.89 kB / 480.1 MB, free: 4.844 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.252e-05/0.1589, allocations: 4 kB / 480.1 MB, free: 4.84 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 ($whenCondition2,$whenCondition1,$PRE.trapezoid1.T_start,trapezoid1.T_start,$PRE.trapezoid1.count,trapezoid1.count,$PRE.trapezoid2.T_start,trapezoid2.T_start,$PRE.trapezoid2.count,trapezoid2.count) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001892/0.1591, allocations: 138.3 kB / 480.3 MB, free: 4.695 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.519e-05/0.1591, allocations: 15.81 kB / 480.3 MB, free: 4.68 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002026/0.1612, allocations: 0.491 MB / 480.8 MB, free: 4.188 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.009e-05/0.1612, allocations: 4 kB / 480.8 MB, free: 4.184 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.1612, allocations: 0 / 480.8 MB, free: 4.184 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.095e-05/0.1612, allocations: 8.078 kB / 480.8 MB, free: 4.176 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002303/0.1635, allocations: 0.8012 MB / 481.6 MB, free: 3.32 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/0.1635, allocations: 0 / 481.6 MB, free: 3.32 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005011/0.1641, allocations: 95.91 kB / 481.7 MB, free: 3.227 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.606e-06/0.1641, allocations: 3.984 kB / 481.7 MB, free: 3.223 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.517e-05/0.1641, allocations: 4 kB / 481.7 MB, free: 3.219 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.1641, allocations: 0 / 481.7 MB, free: 3.219 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.1641, allocations: 0 / 481.7 MB, free: 3.219 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001886/0.166, allocations: 0.5614 MB / 482.3 MB, free: 2.641 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.623e-05/0.1661, allocations: 92.91 kB / 482.4 MB, free: 2.531 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.777e-05/0.1662, allocations: 8 kB / 482.4 MB, free: 2.523 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000524/0.1667, allocations: 87.91 kB / 482.4 MB, free: 2.438 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001983/0.1669, allocations: 51.91 kB / 482.5 MB, free: 2.387 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.874e-05/0.167, allocations: 7.984 kB / 482.5 MB, free: 2.379 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002274/0.1672, allocations: 172.6 kB / 482.7 MB, free: 2.211 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1672, allocations: 0 / 482.7 MB, free: 2.211 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004644/0.1677, allocations: 47.91 kB / 482.7 MB, free: 2.164 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 (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.001504/0.1692, allocations: 417.5 kB / 483.1 MB, free: 1.906 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002047/0.1713, allocations: 0.5608 MB / 483.7 MB, free: 1.32 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.1713, allocations: 4 kB / 483.7 MB, free: 1.316 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001018/0.1723, allocations: 235.7 kB / 483.9 MB, free: 1.086 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005495/0.1729, allocations: 31.92 kB / 484 MB, free: 1.055 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001243/0.1741, allocations: 366.1 kB / 484.3 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004066/0.1745, allocations: 0.7204 MB / 485 MB, free: 15.93 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001824/0.1747, allocations: 21.42 kB / 485.1 MB, free: 15.91 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001083/0.1749, allocations: 15.44 kB / 485.1 MB, free: 15.89 MB / 366.1 MB Notification: Performance of SimCode: time 9.01e-07/0.1749, allocations: 0 / 485.1 MB, free: 15.89 MB / 366.1 MB Notification: Performance of Templates: time 0.00846/0.1833, allocations: 2.994 MB / 488.1 MB, free: 12.92 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 -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe 2>&1)