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.001216/0.001216, allocations: 110.5 kB / 17.86 MB, free: 5.504 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.001149/0.00115, allocations: 201.9 kB / 18.78 MB, free: 4.586 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.404/1.404, allocations: 222.9 MB / 242.5 MB, free: 13.77 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2247/0.2247, allocations: 44.18 MB / 336.8 MB, free: 2.77 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00148/0.00148, allocations: 68.42 kB / 408.4 MB, free: 27.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1249/0.1264, allocations: 60.82 MB / 469.2 MB, free: 14.82 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test33): time 0.004115/0.1306, allocations: 1.878 MB / 471.1 MB, free: 12.93 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001857/0.1325, allocations: 0.8771 MB / 471.9 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001368/0.1326, allocations: 0 / 471.9 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003354/0.133, allocations: 55.84 kB / 472 MB, free: 12 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000325/0.1334, allocations: 63.69 kB / 472 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006895/0.1341, allocations: 197.9 kB / 472.2 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003605/0.1345, allocations: 183.4 kB / 472.4 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001501/0.1346, allocations: 25.42 kB / 472.4 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001986/0.1348, allocations: 71.75 kB / 472.5 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000248/0.1351, allocations: 99.64 kB / 472.6 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.858e-05/0.1351, allocations: 4 kB / 472.6 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001463/0.1353, allocations: 35.92 kB / 472.7 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001006/0.1354, allocations: 43.81 kB / 472.7 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000109/0.1355, allocations: 63.59 kB / 472.8 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002555/0.1358, allocations: 132 kB / 472.9 MB, free: 11.09 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.1358, allocations: 0 / 472.9 MB, free: 11.09 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.193e-06/0.1358, allocations: 0 / 472.9 MB, free: 11.09 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.893e-06/0.1358, allocations: 0 / 472.9 MB, free: 11.09 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.001312/0.1371, allocations: 0.5643 MB / 473.4 MB, free: 10.46 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.638e-05/0.1372, allocations: 8.031 kB / 473.5 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.825e-05/0.1373, allocations: 16.75 kB / 473.5 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000365/0.1376, allocations: 229 kB / 473.7 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.713e-05/0.1377, allocations: 4.375 kB / 473.7 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.74e-05/0.1377, allocations: 19.97 kB / 473.7 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005348/0.1383, allocations: 145.5 kB / 473.9 MB, free: 10.01 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.594e-05/0.1383, allocations: 3.984 kB / 473.9 MB, free: 10 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.934e-05/0.1383, allocations: 0 / 473.9 MB, free: 10 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.08e-05/0.1383, allocations: 7.984 kB / 473.9 MB, free: 9.996 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007623/0.1391, allocations: 167.8 kB / 474 MB, free: 9.832 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009501/0.1401, allocations: 428.5 kB / 474.5 MB, free: 9.363 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008211/0.1409, allocations: 194.4 kB / 474.6 MB, free: 9.164 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003819/0.1413, allocations: 92.77 kB / 474.7 MB, free: 9.07 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.901e-05/0.1413, allocations: 160 / 474.7 MB, free: 9.07 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006221/0.142, allocations: 175.2 kB / 474.9 MB, free: 8.887 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.873e-06/0.142, allocations: 0 / 474.9 MB, free: 8.887 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.003751/0.1457, allocations: 0.8208 MB / 475.7 MB, free: 8.059 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.149e-05/0.1458, allocations: 67.28 kB / 475.8 MB, free: 7.98 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003473/0.1461, allocations: 243 kB / 476 MB, free: 7.734 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.48e-05/0.1462, allocations: 33.64 kB / 476.1 MB, free: 7.695 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.385e-05/0.1463, allocations: 124 kB / 476.2 MB, free: 7.57 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.647e-05/0.1463, allocations: 35.55 kB / 476.2 MB, free: 7.535 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001113/0.1465, allocations: 33.7 kB / 476.3 MB, free: 7.496 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001384/0.1466, allocations: 334.8 kB / 476.6 MB, free: 7.16 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000733/0.1474, allocations: 175.9 kB / 476.8 MB, free: 6.988 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000674/0.148, allocations: 181.8 kB / 476.9 MB, free: 6.812 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001285/0.1493, allocations: 371.9 kB / 477.3 MB, free: 6.434 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.1493, allocations: 8 kB / 477.3 MB, free: 6.426 MB / 350.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001528/0.1509, allocations: 462.9 kB / 477.8 MB, free: 5.957 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.399e-05/0.151, allocations: 67.33 kB / 477.8 MB, free: 5.879 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.151, allocations: 0 / 477.8 MB, free: 5.879 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/0.151, allocations: 0 / 477.8 MB, free: 5.879 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004284/0.1514, allocations: 71.91 kB / 477.9 MB, free: 5.809 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.929e-06/0.1514, allocations: 7.938 kB / 477.9 MB, free: 5.801 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003995/0.1519, allocations: 59.91 kB / 478 MB, free: 5.742 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.563e-05/0.1519, allocations: 4 kB / 478 MB, free: 5.738 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.0001828/0.1521, allocations: 137.8 kB / 478.1 MB, free: 5.594 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.611e-05/0.1521, allocations: 19.81 kB / 478.1 MB, free: 5.574 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001491/0.1536, allocations: 418.6 kB / 478.5 MB, free: 5.164 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/0.1536, allocations: 4 kB / 478.5 MB, free: 5.16 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.101e-05/0.1537, allocations: 3.938 kB / 478.5 MB, free: 5.156 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.1537, allocations: 4 kB / 478.5 MB, free: 5.152 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001875/0.1556, allocations: 0.724 MB / 479.3 MB, free: 4.375 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-06/0.1556, allocations: 0 / 479.3 MB, free: 4.375 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003711/0.1559, allocations: 71.91 kB / 479.3 MB, free: 4.305 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.733e-06/0.156, allocations: 3.938 kB / 479.3 MB, free: 4.301 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.934e-05/0.156, allocations: 0 / 479.3 MB, free: 4.301 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.156, allocations: 0 / 479.3 MB, free: 4.301 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.156, allocations: 0 / 479.3 MB, free: 4.301 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001439/0.1574, allocations: 491 kB / 479.8 MB, free: 3.805 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.824e-05/0.1575, allocations: 92.86 kB / 479.9 MB, free: 3.695 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.256e-05/0.1576, allocations: 4 kB / 479.9 MB, free: 3.691 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004125/0.158, allocations: 59.91 kB / 480 MB, free: 3.633 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001703/0.1582, allocations: 55.86 kB / 480 MB, free: 3.578 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.937e-05/0.1582, allocations: 4 kB / 480 MB, free: 3.574 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001611/0.1583, allocations: 180.4 kB / 480.2 MB, free: 3.398 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1584, allocations: 0 / 480.2 MB, free: 3.398 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000325/0.1587, allocations: 44 kB / 480.2 MB, free: 3.355 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.001004/0.1597, allocations: 411.4 kB / 480.6 MB, free: 3.102 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001549/0.1613, allocations: 494.3 kB / 481.1 MB, free: 2.594 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.1613, allocations: 0 / 481.1 MB, free: 2.594 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000713/0.162, allocations: 191.7 kB / 481.3 MB, free: 2.41 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003861/0.1624, allocations: 29.77 kB / 481.3 MB, free: 2.383 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001034/0.1634, allocations: 434.4 kB / 481.8 MB, free: 1.926 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003292/0.1638, allocations: 0.732 MB / 482.5 MB, free: 1.168 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000124/0.1639, allocations: 19.42 kB / 482.5 MB, free: 1.148 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1639, allocations: 0 / 482.5 MB, free: 1.148 MB / 350.1 MB Notification: Performance of Templates: time 0.006141/0.1701, allocations: 3.217 MB / 485.7 MB, free: 13.93 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)