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.0009545/0.0009545, allocations: 95.75 kB / 16.98 MB, free: 6.402 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.001004/0.001004, allocations: 183.7 kB / 17.87 MB, free: 5.957 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.44/1.44, allocations: 223.2 MB / 241.8 MB, free: 376 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.2196/0.2196, allocations: 44.22 MB / 337.1 MB, free: 2.895 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003255/0.0003255, allocations: 11.94 kB / 409.5 MB, free: 27.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1357/0.136, allocations: 61.91 MB / 471.4 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test33): time 0.002201/0.1383, allocations: 1.482 MB / 472.9 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001222/0.1395, allocations: 0.7764 MB / 473.7 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.876e-05/0.1396, allocations: 0 / 473.7 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002288/0.1398, allocations: 47.86 kB / 473.7 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001919/0.14, allocations: 75.77 kB / 473.8 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003728/0.1404, allocations: 142.5 kB / 474 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001883/0.1406, allocations: 107.8 kB / 474.1 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001092/0.1407, allocations: 25.06 kB / 474.1 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001201/0.1409, allocations: 71.73 kB / 474.2 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001407/0.141, allocations: 83.7 kB / 474.2 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.258e-05/0.141, allocations: 8 kB / 474.3 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001069/0.1411, allocations: 31.92 kB / 474.3 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.872e-05/0.1412, allocations: 31.84 kB / 474.3 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.195e-05/0.1413, allocations: 45.64 kB / 474.4 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001935/0.1415, allocations: 131.9 kB / 474.5 MB, free: 10.68 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.1415, allocations: 4 kB / 474.5 MB, free: 10.68 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.1415, allocations: 0 / 474.5 MB, free: 10.68 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.568e-06/0.1415, allocations: 0 / 474.5 MB, free: 10.68 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.001148/0.1427, allocations: 0.5682 MB / 475.1 MB, free: 10.05 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/0.1427, allocations: 12.03 kB / 475.1 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.491e-05/0.1428, allocations: 15.81 kB / 475.1 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002706/0.1431, allocations: 219.8 kB / 475.3 MB, free: 9.766 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.796e-05/0.1431, allocations: 4 kB / 475.3 MB, free: 9.762 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.755e-05/0.1431, allocations: 12 kB / 475.3 MB, free: 9.75 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005077/0.1437, allocations: 173.4 kB / 475.5 MB, free: 9.574 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.325e-05/0.1437, allocations: 0 / 475.5 MB, free: 9.574 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.637e-05/0.1437, allocations: 0 / 475.5 MB, free: 9.574 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.281e-05/0.1437, allocations: 4 kB / 475.5 MB, free: 9.57 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007198/0.1444, allocations: 215.8 kB / 475.7 MB, free: 9.359 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005168/0.145, allocations: 368.6 kB / 476.1 MB, free: 8.949 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007903/0.1458, allocations: 242.3 kB / 476.3 MB, free: 8.703 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.862e-05/0.1458, allocations: 4 kB / 476.3 MB, free: 8.699 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005368/0.1464, allocations: 187.2 kB / 476.5 MB, free: 8.504 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.453e-06/0.1464, allocations: 0 / 476.5 MB, free: 8.504 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.003718/0.1501, allocations: 1.055 MB / 477.5 MB, free: 7.441 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.699e-05/0.1501, allocations: 55.41 kB / 477.6 MB, free: 7.375 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002258/0.1504, allocations: 247.2 kB / 477.8 MB, free: 7.125 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.593e-05/0.1504, allocations: 26.27 kB / 477.9 MB, free: 7.094 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.681e-05/0.1505, allocations: 124 kB / 478 MB, free: 6.969 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.517e-05/0.1506, allocations: 39.69 kB / 478 MB, free: 6.93 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.48e-05/0.1506, allocations: 4 kB / 478 MB, free: 6.926 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001268/0.1507, allocations: 334.8 kB / 478.4 MB, free: 6.59 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007003/0.1514, allocations: 211.8 kB / 478.6 MB, free: 6.383 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006739/0.1521, allocations: 223.7 kB / 478.8 MB, free: 6.164 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006984/0.1528, allocations: 261.4 kB / 479 MB, free: 5.898 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.1528, allocations: 0 / 479 MB, free: 5.898 MB / 350.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001526/0.1544, allocations: 0.5433 MB / 479.6 MB, free: 5.336 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.115e-05/0.1544, allocations: 59.41 kB / 479.6 MB, free: 5.266 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.1544, allocations: 3.984 kB / 479.6 MB, free: 5.262 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/0.1545, allocations: 112 / 479.6 MB, free: 5.262 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000444/0.1549, allocations: 99.84 kB / 479.7 MB, free: 5.164 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.896e-06/0.1549, allocations: 0 / 479.7 MB, free: 5.164 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004093/0.1553, allocations: 91.91 kB / 479.8 MB, free: 5.074 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.298e-05/0.1554, allocations: 4 kB / 479.8 MB, free: 5.07 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.0001567/0.1555, allocations: 146.2 kB / 480 MB, free: 4.918 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.433e-05/0.1556, allocations: 23.72 kB / 480 MB, free: 4.895 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001556/0.1571, allocations: 498.7 kB / 480.5 MB, free: 4.406 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.1572, allocations: 4 kB / 480.5 MB, free: 4.402 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.1572, allocations: 4 kB / 480.5 MB, free: 4.398 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.1572, allocations: 0 / 480.5 MB, free: 4.398 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001759/0.1589, allocations: 0.8011 MB / 481.3 MB, free: 3.543 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.073e-06/0.159, allocations: 0 / 481.3 MB, free: 3.543 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003672/0.1593, allocations: 87.91 kB / 481.4 MB, free: 3.457 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/0.1593, allocations: 4 kB / 481.4 MB, free: 3.453 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.019e-05/0.1594, allocations: 3.984 kB / 481.4 MB, free: 3.449 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.1594, allocations: 0 / 481.4 MB, free: 3.449 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1594, allocations: 4 kB / 481.4 MB, free: 3.445 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001496/0.1609, allocations: 0.5653 MB / 482 MB, free: 2.863 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.437e-05/0.161, allocations: 100.9 kB / 482.1 MB, free: 2.746 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.608e-05/0.161, allocations: 0 / 482.1 MB, free: 2.746 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004258/0.1614, allocations: 87.91 kB / 482.1 MB, free: 2.66 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001484/0.1616, allocations: 51.91 kB / 482.2 MB, free: 2.609 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.019e-05/0.1616, allocations: 15.98 kB / 482.2 MB, free: 2.594 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001527/0.1618, allocations: 172.7 kB / 482.4 MB, free: 2.426 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1618, allocations: 0 / 482.4 MB, free: 2.426 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002951/0.1621, allocations: 40 kB / 482.4 MB, free: 2.387 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.0009618/0.1631, allocations: 422.3 kB / 482.8 MB, free: 2.121 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001557/0.1646, allocations: 0.5647 MB / 483.4 MB, free: 1.531 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1646, allocations: 4 kB / 483.4 MB, free: 1.527 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007613/0.1654, allocations: 231.8 kB / 483.6 MB, free: 1.301 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003156/0.1657, allocations: 31.86 kB / 483.6 MB, free: 1.27 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009717/0.1667, allocations: 366.1 kB / 484 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003813/0.1671, allocations: 0.7243 MB / 484.7 MB, free: 144 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001251/0.1672, allocations: 21.42 kB / 484.8 MB, free: 120 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.244e-05/0.1673, allocations: 19.44 kB / 484.8 MB, free: 100 kB / 350.1 MB Notification: Performance of SimCode: time 5.51e-07/0.1673, allocations: 0 / 484.8 MB, free: 100 kB / 350.1 MB Notification: Performance of Templates: time 0.006463/0.1738, allocations: 3.023 MB / 487.8 MB, free: 13.09 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)