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.0008333/0.0008336, allocations: 98.47 kB / 18.01 MB, free: 5.734 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.0009976/0.0009976, allocations: 176.9 kB / 18.91 MB, free: 4.871 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.456/1.456, allocations: 223.3 MB / 243 MB, free: 204 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.2021/0.2021, allocations: 44.25 MB / 338.3 MB, free: 2.645 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003149/0.000315, allocations: 8 kB / 411 MB, free: 27.29 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1256/0.126, allocations: 61.92 MB / 472.9 MB, free: 13.33 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test33): time 0.002825/0.1289, allocations: 1.52 MB / 474.4 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001754/0.1306, allocations: 0.8421 MB / 475.3 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001088/0.1308, allocations: 0 / 475.3 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003083/0.1311, allocations: 59.78 kB / 475.3 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002886/0.1314, allocations: 55.75 kB / 475.4 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005283/0.132, allocations: 158.8 kB / 475.5 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003087/0.1323, allocations: 183.4 kB / 475.7 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001357/0.1324, allocations: 21.06 kB / 475.7 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001708/0.1326, allocations: 63.75 kB / 475.8 MB, free: 10.42 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001922/0.1328, allocations: 103.6 kB / 475.9 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.299e-05/0.1328, allocations: 8 kB / 475.9 MB, free: 10.31 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001247/0.133, allocations: 31.98 kB / 475.9 MB, free: 10.28 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001022/0.1331, allocations: 35.89 kB / 476 MB, free: 10.24 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001015/0.1332, allocations: 89.3 kB / 476.1 MB, free: 10.15 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002454/0.1334, allocations: 124 kB / 476.2 MB, free: 10.03 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.1335, allocations: 0 / 476.2 MB, free: 10.03 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.305e-06/0.1335, allocations: 0 / 476.2 MB, free: 10.03 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.202e-06/0.1335, allocations: 0 / 476.2 MB, free: 10.03 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.001202/0.1347, allocations: 0.5567 MB / 476.7 MB, free: 9.41 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.415e-05/0.1347, allocations: 15.97 kB / 476.8 MB, free: 9.395 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.973e-05/0.1348, allocations: 20.75 kB / 476.8 MB, free: 9.375 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003024/0.1351, allocations: 228.9 kB / 477 MB, free: 9.109 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.873e-05/0.1352, allocations: 4.375 kB / 477 MB, free: 9.105 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.058e-05/0.1352, allocations: 12.06 kB / 477 MB, free: 9.094 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005736/0.1358, allocations: 165.5 kB / 477.2 MB, free: 8.926 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.1358, allocations: 0 / 477.2 MB, free: 8.926 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.7e-05/0.1359, allocations: 4 kB / 477.2 MB, free: 8.922 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.604e-06/0.1359, allocations: 0 / 477.2 MB, free: 8.922 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007934/0.1367, allocations: 215.8 kB / 477.4 MB, free: 8.711 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005787/0.1373, allocations: 372.6 kB / 477.8 MB, free: 8.297 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000847/0.1381, allocations: 238.4 kB / 478 MB, free: 8.055 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000427/0.1386, allocations: 120.8 kB / 478.1 MB, free: 7.934 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.695e-05/0.1386, allocations: 3.938 kB / 478.1 MB, free: 7.93 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000605/0.1392, allocations: 187.2 kB / 478.3 MB, free: 7.734 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 2.174e-06/0.1392, allocations: 0 / 478.3 MB, free: 7.734 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.004232/0.1435, allocations: 1.055 MB / 479.4 MB, free: 6.672 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.826e-05/0.1435, allocations: 59.33 kB / 479.4 MB, free: 6.602 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000299/0.1439, allocations: 240 kB / 479.6 MB, free: 6.359 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.642e-05/0.1439, allocations: 25.81 kB / 479.7 MB, free: 6.328 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.626e-05/0.144, allocations: 131.9 kB / 479.8 MB, free: 6.195 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.315e-05/0.1441, allocations: 31.55 kB / 479.8 MB, free: 6.164 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.474e-05/0.1441, allocations: 25.7 kB / 479.9 MB, free: 6.133 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000146/0.1443, allocations: 326.8 kB / 480.2 MB, free: 5.805 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000798/0.1451, allocations: 219.8 kB / 480.4 MB, free: 5.59 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007599/0.1459, allocations: 222.3 kB / 480.6 MB, free: 5.375 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001557/0.1474, allocations: 459.9 kB / 481.1 MB, free: 4.91 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.1474, allocations: 0 / 481.1 MB, free: 4.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001767/0.1492, allocations: 0.5453 MB / 481.6 MB, free: 4.348 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.251e-05/0.1493, allocations: 63.97 kB / 481.7 MB, free: 4.273 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/0.1493, allocations: 0 / 481.7 MB, free: 4.273 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/0.1494, allocations: 0 / 481.7 MB, free: 4.273 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004542/0.1498, allocations: 91.91 kB / 481.8 MB, free: 4.184 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.658e-06/0.1498, allocations: 7.938 kB / 481.8 MB, free: 4.176 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004659/0.1503, allocations: 87.91 kB / 481.8 MB, free: 4.09 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.934e-05/0.1503, allocations: 15.92 kB / 481.9 MB, free: 4.074 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.0001496/0.1505, allocations: 133.8 kB / 482 MB, free: 3.934 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.082e-05/0.1506, allocations: 15.81 kB / 482 MB, free: 3.918 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001681/0.1522, allocations: 498.8 kB / 482.5 MB, free: 3.43 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.1523, allocations: 4 kB / 482.5 MB, free: 3.426 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/0.1523, allocations: 3.938 kB / 482.5 MB, free: 3.422 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.1523, allocations: 3.984 kB / 482.5 MB, free: 3.418 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001899/0.1542, allocations: 0.8016 MB / 483.3 MB, free: 2.562 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.1542, allocations: 0 / 483.3 MB, free: 2.562 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004235/0.1546, allocations: 91.91 kB / 483.4 MB, free: 2.473 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.626e-06/0.1546, allocations: 7.922 kB / 483.4 MB, free: 2.465 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.03e-05/0.1547, allocations: 3.984 kB / 483.4 MB, free: 2.461 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.95e-06/0.1547, allocations: 8 kB / 483.4 MB, free: 2.453 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.1547, allocations: 0 / 483.4 MB, free: 2.453 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001602/0.1563, allocations: 0.5614 MB / 484 MB, free: 1.875 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.02e-05/0.1564, allocations: 96.84 kB / 484.1 MB, free: 1.762 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.948e-05/0.1564, allocations: 8 kB / 484.1 MB, free: 1.754 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004596/0.1569, allocations: 83.91 kB / 484.2 MB, free: 1.672 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001569/0.1571, allocations: 55.86 kB / 484.2 MB, free: 1.617 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.79e-05/0.1571, allocations: 4 kB / 484.2 MB, free: 1.613 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001712/0.1573, allocations: 176.6 kB / 484.4 MB, free: 1.441 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1573, allocations: 0 / 484.4 MB, free: 1.441 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003216/0.1576, allocations: 40 kB / 484.4 MB, free: 1.402 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.001063/0.1587, allocations: 413.1 kB / 484.8 MB, free: 1.148 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001743/0.1604, allocations: 0.5639 MB / 485.4 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.1604, allocations: 0 / 485.4 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007974/0.1612, allocations: 231.8 kB / 485.6 MB, free: 344 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004043/0.1617, allocations: 31.97 kB / 485.7 MB, free: 312 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001039/0.1627, allocations: 403.8 kB / 486.1 MB, free: 15.88 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003229/0.163, allocations: 0.7281 MB / 486.8 MB, free: 15.13 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001143/0.1632, allocations: 15.44 kB / 486.8 MB, free: 15.11 MB / 366.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1632, allocations: 0 / 486.8 MB, free: 15.11 MB / 366.1 MB Notification: Performance of Templates: time 0.00618/0.1694, allocations: 3.113 MB / 489.9 MB, free: 12.01 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)