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.001526/0.001526, allocations: 115.1 kB / 17.33 MB, free: 5.984 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002016/0.002016, allocations: 205.8 kB / 18.27 MB, free: 5.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.516/1.516, allocations: 227.4 MB / 246.4 MB, free: 9.113 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.235/0.235, allocations: 46.1 MB / 343.8 MB, free: 11.55 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00149/0.00149, allocations: 82.12 kB / 417.1 MB, free: 20.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.132/0.1335, allocations: 62.43 MB / 479.5 MB, free: 5.609 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test33): time 0.00357/0.1371, allocations: 1.914 MB / 481.4 MB, free: 3.68 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001735/0.1389, allocations: 1.001 MB / 482.4 MB, free: 2.672 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.369e-05/0.139, allocations: 0 / 482.4 MB, free: 2.672 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002809/0.1393, allocations: 67.78 kB / 482.5 MB, free: 2.605 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003708/0.1397, allocations: 103.6 kB / 482.6 MB, free: 2.504 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005165/0.1402, allocations: 143.1 kB / 482.7 MB, free: 2.367 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000278/0.1405, allocations: 199.4 kB / 482.9 MB, free: 2.172 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001145/0.1406, allocations: 25.53 kB / 482.9 MB, free: 2.148 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001391/0.1408, allocations: 83.69 kB / 483 MB, free: 2.066 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000158/0.141, allocations: 103.6 kB / 483.1 MB, free: 1.965 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.416e-05/0.141, allocations: 12 kB / 483.1 MB, free: 1.953 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001108/0.1411, allocations: 40 kB / 483.2 MB, free: 1.914 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.177e-05/0.1412, allocations: 51.81 kB / 483.2 MB, free: 1.863 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.287e-05/0.1413, allocations: 67.53 kB / 483.3 MB, free: 1.797 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000256/0.1416, allocations: 183.7 kB / 483.5 MB, free: 1.617 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.1416, allocations: 0 / 483.5 MB, free: 1.617 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1416, allocations: 8 kB / 483.5 MB, free: 1.609 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.054e-06/0.1416, allocations: 0 / 483.5 MB, free: 1.609 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.001092/0.1427, allocations: 0.5605 MB / 484 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.738e-05/0.1427, allocations: 8.031 kB / 484 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.661e-05/0.1428, allocations: 24.66 kB / 484.1 MB, free: 0.957 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002447/0.1431, allocations: 240.9 kB / 484.3 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.14e-05/0.1431, allocations: 4.312 kB / 484.3 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.844e-05/0.1431, allocations: 12.12 kB / 484.3 MB, free: 0.668 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004979/0.1436, allocations: 141.5 kB / 484.4 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.1437, allocations: 0 / 484.4 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.796e-05/0.1437, allocations: 4 kB / 484.5 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.1437, allocations: 0 / 484.5 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006882/0.1444, allocations: 163.8 kB / 484.6 MB, free: 368 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004977/0.1449, allocations: 380.5 kB / 485 MB, free: 15.94 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007505/0.1457, allocations: 194.4 kB / 485.2 MB, free: 15.74 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003623/0.146, allocations: 92.75 kB / 485.3 MB, free: 15.64 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.983e-05/0.1461, allocations: 0 / 485.3 MB, free: 15.64 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005817/0.1467, allocations: 175.1 kB / 485.4 MB, free: 15.46 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.733e-06/0.1467, allocations: 0 / 485.4 MB, free: 15.46 MB / 366.1 MB Notification: Performance of matching and sorting (n=13): time 0.003807/0.1505, allocations: 0.8118 MB / 486.2 MB, free: 14.64 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.261e-05/0.1506, allocations: 63.34 kB / 486.3 MB, free: 14.57 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003226/0.151, allocations: 235.2 kB / 486.5 MB, free: 14.33 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.346e-05/0.151, allocations: 33.7 kB / 486.6 MB, free: 14.29 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.861e-05/0.1511, allocations: 116.1 kB / 486.7 MB, free: 14.18 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.563e-05/0.1512, allocations: 43.59 kB / 486.7 MB, free: 14.13 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001154/0.1513, allocations: 33.7 kB / 486.8 MB, free: 14.09 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001431/0.1515, allocations: 330.8 kB / 487.1 MB, free: 13.76 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007128/0.1522, allocations: 167.8 kB / 487.2 MB, free: 13.6 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006812/0.1529, allocations: 171.8 kB / 487.4 MB, free: 13.43 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00132/0.1542, allocations: 374 kB / 487.8 MB, free: 13.05 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.1542, allocations: 0 / 487.8 MB, free: 13.05 MB / 366.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001542/0.1558, allocations: 448.5 kB / 488.2 MB, free: 12.59 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.708e-05/0.1558, allocations: 71.33 kB / 488.3 MB, free: 12.51 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.1559, allocations: 0 / 488.3 MB, free: 12.51 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/0.1559, allocations: 0 / 488.3 MB, free: 12.51 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004406/0.1563, allocations: 67.91 kB / 488.4 MB, free: 12.45 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.099e-05/0.1563, allocations: 3.938 kB / 488.4 MB, free: 12.44 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004116/0.1568, allocations: 67.84 kB / 488.4 MB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.68e-05/0.1568, allocations: 8 kB / 488.4 MB, free: 12.37 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.0001597/0.157, allocations: 137.8 kB / 488.6 MB, free: 12.22 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.602e-05/0.157, allocations: 15.81 kB / 488.6 MB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001492/0.1585, allocations: 402.6 kB / 489 MB, free: 11.81 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.571e-06/0.1585, allocations: 7.984 kB / 489 MB, free: 11.8 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.858e-06/0.1586, allocations: 7.938 kB / 489 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.1586, allocations: 3.938 kB / 489 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00173/0.1603, allocations: 0.6934 MB / 489.7 MB, free: 11.04 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/0.1603, allocations: 0 / 489.7 MB, free: 11.04 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003762/0.1607, allocations: 72.47 kB / 489.8 MB, free: 10.97 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.783e-06/0.1607, allocations: 3.938 kB / 489.8 MB, free: 10.96 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.169e-05/0.1607, allocations: 4 kB / 489.8 MB, free: 10.96 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.1608, allocations: 0 / 489.8 MB, free: 10.96 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.1608, allocations: 7.922 kB / 489.8 MB, free: 10.95 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001417/0.1622, allocations: 467 kB / 490.2 MB, free: 10.48 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.396e-05/0.1623, allocations: 104.8 kB / 490.3 MB, free: 10.36 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.14e-05/0.1624, allocations: 4 kB / 490.3 MB, free: 10.36 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004199/0.1628, allocations: 63.91 kB / 490.4 MB, free: 10.29 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001521/0.1629, allocations: 47.94 kB / 490.4 MB, free: 10.25 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.909e-05/0.163, allocations: 0 / 490.4 MB, free: 10.25 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001697/0.1631, allocations: 188.6 kB / 490.6 MB, free: 10.06 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1632, allocations: 0 / 490.6 MB, free: 10.06 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003203/0.1635, allocations: 51.98 kB / 490.7 MB, free: 10.01 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.0009507/0.1644, allocations: 414.5 kB / 491.1 MB, free: 9.742 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001629/0.1661, allocations: 477.9 kB / 491.6 MB, free: 9.254 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.1661, allocations: 3.938 kB / 491.6 MB, free: 9.25 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007553/0.1669, allocations: 179.8 kB / 491.7 MB, free: 9.074 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004216/0.1673, allocations: 36.02 kB / 491.8 MB, free: 9.039 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001049/0.1683, allocations: 391 kB / 492.1 MB, free: 8.633 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003243/0.1687, allocations: 0.7201 MB / 492.9 MB, free: 7.887 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001485/0.1688, allocations: 29.41 kB / 492.9 MB, free: 7.855 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.432e-05/0.1689, allocations: 27.36 kB / 492.9 MB, free: 7.828 MB / 366.1 MB Notification: Performance of SimCode: time 6.91e-07/0.169, allocations: 0 / 492.9 MB, free: 7.828 MB / 366.1 MB Notification: Performance of Templates: time 0.007964/0.1769, allocations: 3.23 MB / 496.2 MB, free: 4.609 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)