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.001077/0.001077, allocations: 94.8 kB / 17.35 MB, free: 6.344 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.001198/0.001198, allocations: 171.1 kB / 18.25 MB, free: 5.508 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.563/1.563, allocations: 223.3 MB / 242.3 MB, free: 192 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.2207/0.2207, allocations: 44.25 MB / 337.7 MB, free: 2.645 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00032/0.0003202, allocations: 8.594 kB / 410.3 MB, free: 27.29 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1265/0.1268, allocations: 61.91 MB / 472.2 MB, free: 13.35 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test33): time 0.002356/0.1292, allocations: 1.519 MB / 473.8 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001523/0.1308, allocations: 0.8655 MB / 474.6 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.038e-05/0.1309, allocations: 4 kB / 474.6 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002675/0.1311, allocations: 63.78 kB / 474.7 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002144/0.1314, allocations: 63.67 kB / 474.8 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005432/0.1319, allocations: 197.5 kB / 475 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002559/0.1322, allocations: 179.5 kB / 475.1 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001275/0.1323, allocations: 29.47 kB / 475.2 MB, free: 10.42 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001196/0.1324, allocations: 75.67 kB / 475.2 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001507/0.1326, allocations: 87.66 kB / 475.3 MB, free: 10.26 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.69e-05/0.1326, allocations: 4 kB / 475.3 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001058/0.1327, allocations: 39.97 kB / 475.4 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.43e-05/0.1328, allocations: 35.89 kB / 475.4 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.532e-05/0.133, allocations: 89.23 kB / 475.5 MB, free: 10.09 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002542/0.1332, allocations: 175.6 kB / 475.7 MB, free: 9.914 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.1332, allocations: 4 kB / 475.7 MB, free: 9.91 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.1332, allocations: 0 / 475.7 MB, free: 9.91 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.629e-06/0.1332, allocations: 0 / 475.7 MB, free: 9.91 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.001071/0.1343, allocations: 0.5568 MB / 476.2 MB, free: 9.293 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/0.1344, allocations: 15.97 kB / 476.2 MB, free: 9.277 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.162e-05/0.1344, allocations: 20.66 kB / 476.3 MB, free: 9.258 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000258/0.1347, allocations: 225 kB / 476.5 MB, free: 9 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.852e-05/0.1347, allocations: 8.312 kB / 476.5 MB, free: 8.992 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.506e-05/0.1348, allocations: 16.11 kB / 476.5 MB, free: 8.977 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005353/0.1353, allocations: 169.5 kB / 476.7 MB, free: 8.805 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/0.1353, allocations: 0 / 476.7 MB, free: 8.805 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.996e-05/0.1354, allocations: 4 kB / 476.7 MB, free: 8.801 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.1354, allocations: 4 kB / 476.7 MB, free: 8.797 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007751/0.1362, allocations: 211.8 kB / 476.9 MB, free: 8.59 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008712/0.137, allocations: 456.4 kB / 477.3 MB, free: 8.094 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008358/0.1379, allocations: 250.4 kB / 477.6 MB, free: 7.84 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003996/0.1383, allocations: 116.8 kB / 477.7 MB, free: 7.723 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.06e-05/0.1383, allocations: 4 kB / 477.7 MB, free: 7.719 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000579/0.1389, allocations: 191.2 kB / 477.9 MB, free: 7.52 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.683e-06/0.1389, allocations: 4 kB / 477.9 MB, free: 7.516 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.004051/0.143, allocations: 1.063 MB / 478.9 MB, free: 6.445 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.392e-05/0.1431, allocations: 59.5 kB / 479 MB, free: 6.375 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002401/0.1433, allocations: 246.8 kB / 479.2 MB, free: 6.125 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.017e-05/0.1434, allocations: 29.7 kB / 479.3 MB, free: 6.09 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.093e-05/0.1434, allocations: 124.1 kB / 479.4 MB, free: 5.965 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.792e-05/0.1435, allocations: 43.55 kB / 479.4 MB, free: 5.922 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.917e-05/0.1435, allocations: 17.72 kB / 479.4 MB, free: 5.898 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001206/0.1437, allocations: 330.8 kB / 479.8 MB, free: 5.566 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008827/0.1446, allocations: 223.8 kB / 480 MB, free: 5.348 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007612/0.1453, allocations: 230.7 kB / 480.2 MB, free: 5.125 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001546/0.1469, allocations: 483.8 kB / 480.7 MB, free: 4.637 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.1469, allocations: 0 / 480.7 MB, free: 4.637 MB / 350.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001698/0.1486, allocations: 0.5569 MB / 481.2 MB, free: 4.062 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.615e-05/0.1487, allocations: 63.39 kB / 481.3 MB, free: 3.988 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.1487, allocations: 0 / 481.3 MB, free: 3.988 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/0.1487, allocations: 3.938 kB / 481.3 MB, free: 3.984 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004448/0.1492, allocations: 95.91 kB / 481.4 MB, free: 3.891 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.277e-06/0.1492, allocations: 11.86 kB / 481.4 MB, free: 3.879 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004586/0.1497, allocations: 87.91 kB / 481.5 MB, free: 3.793 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.293e-05/0.1497, allocations: 4 kB / 481.5 MB, free: 3.789 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.00015/0.1498, allocations: 137.8 kB / 481.6 MB, free: 3.645 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.449e-05/0.1499, allocations: 15.81 kB / 481.7 MB, free: 3.629 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001764/0.1517, allocations: 0.4988 MB / 482.2 MB, free: 3.129 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.1517, allocations: 11.92 kB / 482.2 MB, free: 3.117 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/0.1517, allocations: 3.938 kB / 482.2 MB, free: 3.113 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.1517, allocations: 0 / 482.2 MB, free: 3.113 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002013/0.1537, allocations: 0.8184 MB / 483 MB, free: 2.238 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.1537, allocations: 0 / 483 MB, free: 2.238 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003959/0.1541, allocations: 91.91 kB / 483.1 MB, free: 2.148 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.923e-06/0.1541, allocations: 7.938 kB / 483.1 MB, free: 2.141 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.939e-05/0.1542, allocations: 3.984 kB / 483.1 MB, free: 2.137 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.1542, allocations: 3.938 kB / 483.1 MB, free: 2.133 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.1542, allocations: 0 / 483.1 MB, free: 2.133 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001683/0.1559, allocations: 0.5758 MB / 483.7 MB, free: 1.543 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.33e-05/0.1559, allocations: 96.77 kB / 483.8 MB, free: 1.43 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.807e-05/0.156, allocations: 11.98 kB / 483.8 MB, free: 1.418 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004396/0.1564, allocations: 83.91 kB / 483.9 MB, free: 1.336 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001462/0.1566, allocations: 47.94 kB / 483.9 MB, free: 1.289 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.867e-05/0.1566, allocations: 7.984 kB / 483.9 MB, free: 1.281 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001512/0.1568, allocations: 176.4 kB / 484.1 MB, free: 1.109 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1568, allocations: 4 kB / 484.1 MB, free: 1.105 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003051/0.1571, allocations: 48 kB / 484.1 MB, free: 1.059 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.0009693/0.1581, allocations: 409.4 kB / 484.5 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0017/0.1598, allocations: 0.5686 MB / 485.1 MB, free: 220 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.1598, allocations: 0 / 485.1 MB, free: 220 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008135/0.1606, allocations: 239.8 kB / 485.3 MB, free: 15.98 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003805/0.161, allocations: 38.11 kB / 485.4 MB, free: 15.94 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009925/0.162, allocations: 410 kB / 485.8 MB, free: 15.52 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003163/0.1623, allocations: 0.7282 MB / 486.5 MB, free: 14.76 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001378/0.1625, allocations: 21.42 kB / 486.5 MB, free: 14.74 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.874e-05/0.1626, allocations: 27.36 kB / 486.5 MB, free: 14.71 MB / 366.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1626, allocations: 4 kB / 486.6 MB, free: 14.71 MB / 366.1 MB Notification: Performance of Templates: time 0.006679/0.1693, allocations: 3.104 MB / 489.7 MB, free: 11.62 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 -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe 2>&1)