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.000865/0.0008649, allocations: 95.34 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.0008417/0.0008418, allocations: 172.2 kB / 18.25 MB, free: 5.504 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.423/1.423, allocations: 223.3 MB / 242.3 MB, free: 224 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.2539/0.2539, allocations: 44.24 MB / 337.7 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000353/0.000353, allocations: 8 kB / 410.3 MB, free: 27.33 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1192/0.1196, allocations: 61.92 MB / 472.3 MB, free: 13.37 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test33): time 0.00223/0.1219, allocations: 1.519 MB / 473.8 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001409/0.1233, allocations: 0.8655 MB / 474.6 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.257e-05/0.1234, allocations: 4 kB / 474.6 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002364/0.1236, allocations: 63.78 kB / 474.7 MB, free: 10.9 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002109/0.1239, allocations: 63.67 kB / 474.8 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004841/0.1243, allocations: 190.9 kB / 475 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002363/0.1246, allocations: 179.5 kB / 475.1 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001219/0.1247, allocations: 25.48 kB / 475.2 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001169/0.1248, allocations: 71.69 kB / 475.2 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001416/0.125, allocations: 91.64 kB / 475.3 MB, free: 10.29 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.45e-05/0.125, allocations: 4 kB / 475.3 MB, free: 10.28 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.056e-05/0.1251, allocations: 35.98 kB / 475.4 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.454e-05/0.1252, allocations: 39.88 kB / 475.4 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.6e-05/0.1253, allocations: 89.23 kB / 475.5 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00023/0.1256, allocations: 171.7 kB / 475.7 MB, free: 9.945 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.1256, allocations: 0 / 475.7 MB, free: 9.945 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1256, allocations: 4 kB / 475.7 MB, free: 9.941 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.24e-06/0.1256, allocations: 0 / 475.7 MB, free: 9.941 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.001122/0.1267, allocations: 0.5607 MB / 476.2 MB, free: 9.32 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.1268, allocations: 12.03 kB / 476.2 MB, free: 9.309 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.094e-05/0.1268, allocations: 20.66 kB / 476.2 MB, free: 9.289 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002544/0.1271, allocations: 221 kB / 476.5 MB, free: 9.035 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.606e-05/0.1271, allocations: 8.312 kB / 476.5 MB, free: 9.027 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.954e-05/0.1272, allocations: 16.11 kB / 476.5 MB, free: 9.012 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005522/0.1277, allocations: 173.4 kB / 476.7 MB, free: 8.836 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.1277, allocations: 4 kB / 476.7 MB, free: 8.832 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.59e-05/0.1278, allocations: 0 / 476.7 MB, free: 8.832 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.608e-06/0.1278, allocations: 4 kB / 476.7 MB, free: 8.828 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007971/0.1286, allocations: 215.8 kB / 476.9 MB, free: 8.617 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008682/0.1295, allocations: 452.4 kB / 477.3 MB, free: 8.125 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000872/0.1303, allocations: 254.3 kB / 477.6 MB, free: 7.867 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004328/0.1308, allocations: 120.8 kB / 477.7 MB, free: 7.746 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.228e-05/0.1308, allocations: 4 kB / 477.7 MB, free: 7.742 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005766/0.1314, allocations: 187.2 kB / 477.9 MB, free: 7.547 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.613e-06/0.1314, allocations: 4 kB / 477.9 MB, free: 7.543 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.004188/0.1356, allocations: 1.066 MB / 478.9 MB, free: 6.469 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.858e-05/0.1357, allocations: 59.34 kB / 479 MB, free: 6.398 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002435/0.136, allocations: 246.8 kB / 479.2 MB, free: 6.148 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.08e-05/0.136, allocations: 29.7 kB / 479.3 MB, free: 6.113 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.489e-05/0.1361, allocations: 120.1 kB / 479.4 MB, free: 5.992 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.736e-05/0.1362, allocations: 47.69 kB / 479.4 MB, free: 5.945 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.204e-05/0.1362, allocations: 17.72 kB / 479.4 MB, free: 5.922 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001316/0.1363, allocations: 330.8 kB / 479.8 MB, free: 5.59 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008016/0.1371, allocations: 223.8 kB / 480 MB, free: 5.371 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007988/0.138, allocations: 230.3 kB / 480.2 MB, free: 5.148 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001537/0.1395, allocations: 483.8 kB / 480.7 MB, free: 4.66 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.1395, allocations: 0 / 480.7 MB, free: 4.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001932/0.1415, allocations: 0.5569 MB / 481.2 MB, free: 4.086 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.227e-05/0.1416, allocations: 63.39 kB / 481.3 MB, free: 4.012 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.236e-05/0.1416, allocations: 3.984 kB / 481.3 MB, free: 4.008 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.634e-05/0.1416, allocations: 0 / 481.3 MB, free: 4.008 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005042/0.1421, allocations: 95.91 kB / 481.4 MB, free: 3.914 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.309e-05/0.1421, allocations: 7.875 kB / 481.4 MB, free: 3.906 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005122/0.1427, allocations: 87.91 kB / 481.5 MB, free: 3.82 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.576e-05/0.1427, allocations: 4 kB / 481.5 MB, free: 3.816 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.0002088/0.1429, allocations: 137.8 kB / 481.6 MB, free: 3.672 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.364e-05/0.143, allocations: 15.81 kB / 481.7 MB, free: 3.656 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001873/0.1448, allocations: 0.4988 MB / 482.2 MB, free: 3.156 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.264e-06/0.1449, allocations: 4 kB / 482.2 MB, free: 3.152 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.069e-05/0.1449, allocations: 7.875 kB / 482.2 MB, free: 3.145 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.1449, allocations: 0 / 482.2 MB, free: 3.145 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002043/0.1469, allocations: 0.8157 MB / 483 MB, free: 2.273 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.147, allocations: 0 / 483 MB, free: 2.273 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004442/0.1474, allocations: 91.91 kB / 483.1 MB, free: 2.184 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.478e-06/0.1474, allocations: 7.938 kB / 483.1 MB, free: 2.176 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.144e-05/0.1475, allocations: 7.984 kB / 483.1 MB, free: 2.168 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.503e-06/0.1475, allocations: 3.984 kB / 483.1 MB, free: 2.164 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.1475, allocations: 4.5 kB / 483.1 MB, free: 2.16 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001762/0.1492, allocations: 0.5757 MB / 483.7 MB, free: 1.57 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.708e-05/0.1493, allocations: 96.77 kB / 483.8 MB, free: 1.457 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.13e-05/0.1494, allocations: 11.98 kB / 483.8 MB, free: 1.445 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004607/0.1498, allocations: 79.91 kB / 483.9 MB, free: 1.367 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001713/0.15, allocations: 47.94 kB / 483.9 MB, free: 1.32 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.874e-05/0.1501, allocations: 11.92 kB / 483.9 MB, free: 1.309 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.00017/0.1502, allocations: 176.4 kB / 484.1 MB, free: 1.137 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.1502, allocations: 0 / 484.1 MB, free: 1.137 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003308/0.1506, allocations: 56 kB / 484.1 MB, free: 1.082 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.0009639/0.1515, allocations: 414.1 kB / 484.5 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00181/0.1534, allocations: 0.5648 MB / 485.1 MB, free: 244 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.1534, allocations: 0 / 485.1 MB, free: 244 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008528/0.1542, allocations: 239.7 kB / 485.3 MB, free: 4 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004383/0.1547, allocations: 36.39 kB / 485.4 MB, free: 15.96 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001009/0.1557, allocations: 406 kB / 485.8 MB, free: 15.54 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003021/0.156, allocations: 0.7282 MB / 486.5 MB, free: 14.79 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001516/0.1562, allocations: 25.41 kB / 486.5 MB, free: 14.76 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.977e-05/0.1563, allocations: 27.36 kB / 486.6 MB, free: 14.73 MB / 366.1 MB Notification: Performance of SimCode: time 7.42e-07/0.1563, allocations: 4 kB / 486.6 MB, free: 14.73 MB / 366.1 MB Notification: Performance of Templates: time 0.006549/0.1628, allocations: 3.097 MB / 489.7 MB, free: 11.66 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)