Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Ds.Test33,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test33,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001232/0.001232, allocations: 109.2 kB / 17.86 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001252/0.001253, allocations: 209.7 kB / 18.79 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.327/1.327, allocations: 227.4 MB / 246.9 MB, free: 10.55 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2014/0.2014, allocations: 46.11 MB / 344.3 MB, free: 11.76 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001356/0.001356, allocations: 78.33 kB / 417.5 MB, free: 20.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1256/0.127, allocations: 62.45 MB / 479.9 MB, free: 5.715 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test33): time 0.003251/0.1303, allocations: 1.922 MB / 481.9 MB, free: 3.777 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001638/0.1319, allocations: 1.017 MB / 482.9 MB, free: 2.754 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.212e-05/0.132, allocations: 4 kB / 482.9 MB, free: 2.75 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002286/0.1323, allocations: 51.86 kB / 482.9 MB, free: 2.699 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003302/0.1326, allocations: 99.58 kB / 483 MB, free: 2.602 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004076/0.1331, allocations: 151.5 kB / 483.2 MB, free: 2.457 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002227/0.1333, allocations: 187.3 kB / 483.4 MB, free: 2.273 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000109/0.1334, allocations: 17.55 kB / 483.4 MB, free: 2.258 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001083/0.1335, allocations: 71.75 kB / 483.4 MB, free: 2.188 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001469/0.1337, allocations: 103.6 kB / 483.5 MB, free: 2.086 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.539e-05/0.1337, allocations: 8 kB / 483.6 MB, free: 2.078 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.862e-05/0.1338, allocations: 39.98 kB / 483.6 MB, free: 2.039 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.532e-05/0.1339, allocations: 31.89 kB / 483.6 MB, free: 2.008 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.607e-05/0.134, allocations: 67.58 kB / 483.7 MB, free: 1.941 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001882/0.1342, allocations: 139.9 kB / 483.8 MB, free: 1.805 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.1342, allocations: 0 / 483.8 MB, free: 1.805 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.61e-07/0.1342, allocations: 3.938 kB / 483.8 MB, free: 1.801 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.29e-06/0.1342, allocations: 0 / 483.8 MB, free: 1.801 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.001163/0.1354, allocations: 0.5605 MB / 484.4 MB, free: 1.18 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.305e-05/0.1354, allocations: 16.86 kB / 484.4 MB, free: 1.164 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.702e-05/0.1355, allocations: 20.66 kB / 484.4 MB, free: 1.145 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002752/0.1358, allocations: 233 kB / 484.7 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.512e-05/0.1358, allocations: 4.375 kB / 484.7 MB, free: 0.875 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.999e-05/0.1359, allocations: 12.12 kB / 484.7 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005431/0.1364, allocations: 149.4 kB / 484.8 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.347e-05/0.1364, allocations: 0 / 484.8 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.091e-05/0.1365, allocations: 4 kB / 484.8 MB, free: 0.707 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.102e-05/0.1365, allocations: 4 kB / 484.8 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006942/0.1372, allocations: 155.8 kB / 485 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005046/0.1377, allocations: 368.5 kB / 485.3 MB, free: 144 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008022/0.1385, allocations: 202.3 kB / 485.5 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003994/0.1389, allocations: 96.77 kB / 485.6 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.326e-05/0.139, allocations: 0 / 485.6 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006074/0.1396, allocations: 159.2 kB / 485.8 MB, free: 15.67 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 2.254e-06/0.1396, allocations: 7.938 kB / 485.8 MB, free: 15.66 MB / 366.1 MB Notification: Performance of matching and sorting (n=13): time 0.003684/0.1433, allocations: 0.8163 MB / 486.6 MB, free: 14.84 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.25e-05/0.1433, allocations: 59.34 kB / 486.7 MB, free: 14.77 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002591/0.1436, allocations: 235.2 kB / 486.9 MB, free: 14.53 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.912e-05/0.1437, allocations: 41.69 kB / 486.9 MB, free: 14.48 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.984e-05/0.1437, allocations: 120.1 kB / 487.1 MB, free: 14.36 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.847e-05/0.1438, allocations: 35.45 kB / 487.1 MB, free: 14.32 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.413e-05/0.1439, allocations: 33.7 kB / 487.1 MB, free: 14.29 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001286/0.144, allocations: 326.8 kB / 487.4 MB, free: 13.96 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007428/0.1448, allocations: 175.8 kB / 487.6 MB, free: 13.79 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006586/0.1454, allocations: 163.8 kB / 487.8 MB, free: 13.62 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001234/0.1467, allocations: 362.2 kB / 488.1 MB, free: 13.26 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.536e-06/0.1467, allocations: 4 kB / 488.1 MB, free: 13.25 MB / 366.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001538/0.1482, allocations: 464.4 kB / 488.6 MB, free: 12.78 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.079e-05/0.1483, allocations: 59.41 kB / 488.6 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.1483, allocations: 0 / 488.6 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.1483, allocations: 0 / 488.6 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004331/0.1488, allocations: 71.91 kB / 488.7 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.666e-06/0.1488, allocations: 7.938 kB / 488.7 MB, free: 12.63 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004021/0.1492, allocations: 63.89 kB / 488.8 MB, free: 12.57 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.394e-05/0.1492, allocations: 8 kB / 488.8 MB, free: 12.56 MB / 366.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.0001312/0.1494, allocations: 133.8 kB / 488.9 MB, free: 12.42 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.516e-05/0.1494, allocations: 15.81 kB / 488.9 MB, free: 12.41 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001501/0.1509, allocations: 410.6 kB / 489.3 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.151, allocations: 0 / 489.3 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/0.151, allocations: 3.938 kB / 489.3 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.583e-06/0.151, allocations: 112 / 489.3 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001717/0.1527, allocations: 0.7091 MB / 490.1 MB, free: 11.23 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.1527, allocations: 0 / 490.1 MB, free: 11.23 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003758/0.1531, allocations: 67.91 kB / 490.1 MB, free: 11.16 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.772e-06/0.1531, allocations: 16.48 kB / 490.1 MB, free: 11.15 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.845e-05/0.1531, allocations: 0 / 490.1 MB, free: 11.15 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.524e-06/0.1532, allocations: 0 / 490.1 MB, free: 11.15 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.1532, allocations: 0 / 490.1 MB, free: 11.15 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001399/0.1546, allocations: 478.9 kB / 490.6 MB, free: 10.66 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.601e-05/0.1546, allocations: 100.8 kB / 490.7 MB, free: 10.55 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.054e-05/0.1547, allocations: 7.938 kB / 490.7 MB, free: 10.54 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004153/0.1551, allocations: 59.91 kB / 490.8 MB, free: 10.48 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001541/0.1553, allocations: 47.92 kB / 490.8 MB, free: 10.43 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.071e-05/0.1553, allocations: 8 kB / 490.8 MB, free: 10.43 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000176/0.1555, allocations: 184.6 kB / 491 MB, free: 10.25 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.2e-07/0.1555, allocations: 4 kB / 491 MB, free: 10.24 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003197/0.1558, allocations: 43.98 kB / 491 MB, free: 10.2 MB / 366.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.0009539/0.1568, allocations: 399.4 kB / 491.4 MB, free: 9.945 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001527/0.1583, allocations: 474.3 kB / 491.9 MB, free: 9.457 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.1583, allocations: 4 kB / 491.9 MB, free: 9.453 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007149/0.1591, allocations: 171.8 kB / 492.1 MB, free: 9.285 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004039/0.1595, allocations: 43.3 kB / 492.1 MB, free: 9.242 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009887/0.1605, allocations: 417.9 kB / 492.5 MB, free: 8.805 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002998/0.1608, allocations: 0.7282 MB / 493.3 MB, free: 8.051 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001252/0.1609, allocations: 19.44 kB / 493.3 MB, free: 8.031 MB / 366.1 MB Notification: Performance of SimCode: time 6.41e-07/0.1609, allocations: 0 / 493.3 MB, free: 8.031 MB / 366.1 MB Notification: Performance of Templates: time 0.005653/0.1666, allocations: 3.173 MB / 496.4 MB, free: 4.855 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe 2>&1)