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.001176/0.001176, allocations: 110.7 kB / 18.41 MB, free: 4.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001312/0.001312, allocations: 200.6 kB / 19.35 MB, free: 3.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.429/1.429, allocations: 227.4 MB / 247.5 MB, free: 10.33 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2288/0.2288, allocations: 46.11 MB / 344.9 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001303/0.001303, allocations: 79.12 kB / 419 MB, free: 19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1265/0.1278, allocations: 62.44 MB / 481.5 MB, free: 4.527 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test33): time 0.003415/0.1313, allocations: 1.862 MB / 483.3 MB, free: 2.656 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001673/0.133, allocations: 1.021 MB / 484.3 MB, free: 1.629 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.165e-05/0.1331, allocations: 4 kB / 484.4 MB, free: 1.625 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002383/0.1334, allocations: 51.75 kB / 484.4 MB, free: 1.574 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003505/0.1337, allocations: 123.4 kB / 484.5 MB, free: 1.453 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004087/0.1341, allocations: 171.5 kB / 484.7 MB, free: 1.289 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002666/0.1344, allocations: 199.4 kB / 484.9 MB, free: 1.094 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001087/0.1345, allocations: 21.55 kB / 484.9 MB, free: 1.074 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001279/0.1347, allocations: 83.67 kB / 485 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001588/0.1348, allocations: 103.6 kB / 485.1 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.703e-05/0.1349, allocations: 16 kB / 485.1 MB, free: 0.875 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001097/0.135, allocations: 43.98 kB / 485.1 MB, free: 0.832 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.704e-05/0.1351, allocations: 35.84 kB / 485.2 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000107/0.1352, allocations: 75.58 kB / 485.3 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002483/0.1354, allocations: 183.4 kB / 485.4 MB, free: 0.543 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.1354, allocations: 0 / 485.4 MB, free: 0.543 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1355, allocations: 0 / 485.4 MB, free: 0.543 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.801e-06/0.1355, allocations: 0 / 485.4 MB, free: 0.543 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.001101/0.1366, allocations: 0.576 MB / 486 MB, free: 15.91 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.664e-05/0.1366, allocations: 8.031 kB / 486 MB, free: 15.9 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.36e-05/0.1367, allocations: 20.66 kB / 486 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002575/0.1369, allocations: 236.9 kB / 486.3 MB, free: 15.61 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.27e-05/0.137, allocations: 4.375 kB / 486.3 MB, free: 15.61 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.386e-05/0.137, allocations: 12.12 kB / 486.3 MB, free: 15.59 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004595/0.1375, allocations: 137.5 kB / 486.4 MB, free: 15.45 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.1375, allocations: 7.984 kB / 486.4 MB, free: 15.45 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.763e-05/0.1375, allocations: 3.984 kB / 486.4 MB, free: 15.44 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.1375, allocations: 0 / 486.4 MB, free: 15.44 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006163/0.1382, allocations: 167.8 kB / 486.6 MB, free: 15.28 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004743/0.1386, allocations: 364.6 kB / 487 MB, free: 14.87 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006995/0.1393, allocations: 190.4 kB / 487.1 MB, free: 14.68 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003289/0.1397, allocations: 93.02 kB / 487.2 MB, free: 14.58 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.503e-05/0.1397, allocations: 11.86 kB / 487.2 MB, free: 14.57 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005318/0.1403, allocations: 167.2 kB / 487.4 MB, free: 14.39 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.583e-06/0.1403, allocations: 0 / 487.4 MB, free: 14.39 MB / 366.1 MB Notification: Performance of matching and sorting (n=13): time 0.003223/0.1435, allocations: 0.8125 MB / 488.2 MB, free: 13.57 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.133e-05/0.1436, allocations: 63.28 kB / 488.3 MB, free: 13.5 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000235/0.1438, allocations: 243.2 kB / 488.5 MB, free: 13.25 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.798e-05/0.1439, allocations: 29.7 kB / 488.5 MB, free: 13.22 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.304e-05/0.1439, allocations: 120.1 kB / 488.7 MB, free: 13.1 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.285e-05/0.144, allocations: 43.45 kB / 488.7 MB, free: 13.05 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.75e-05/0.1441, allocations: 29.7 kB / 488.7 MB, free: 13.02 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001161/0.1442, allocations: 334.8 kB / 489.1 MB, free: 12.68 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006312/0.1448, allocations: 167.8 kB / 489.2 MB, free: 12.52 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006016/0.1454, allocations: 167.8 kB / 489.4 MB, free: 12.36 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001111/0.1466, allocations: 362.7 kB / 489.7 MB, free: 11.99 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.1466, allocations: 0 / 489.7 MB, free: 11.99 MB / 366.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001345/0.1479, allocations: 456.4 kB / 490.2 MB, free: 11.52 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.714e-05/0.148, allocations: 63.39 kB / 490.3 MB, free: 11.45 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.148, allocations: 7.938 kB / 490.3 MB, free: 11.44 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.148, allocations: 0 / 490.3 MB, free: 11.44 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003751/0.1484, allocations: 63.91 kB / 490.3 MB, free: 11.38 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.1484, allocations: 3.938 kB / 490.3 MB, free: 11.38 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003446/0.1488, allocations: 67.91 kB / 490.4 MB, free: 11.31 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.248e-05/0.1488, allocations: 7.984 kB / 490.4 MB, free: 11.3 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.0001279/0.1489, allocations: 129.8 kB / 490.5 MB, free: 11.16 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.295e-05/0.149, allocations: 15.81 kB / 490.5 MB, free: 11.15 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001306/0.1503, allocations: 423.1 kB / 491 MB, free: 10.73 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.1503, allocations: 0 / 491 MB, free: 10.73 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/0.1503, allocations: 7.938 kB / 491 MB, free: 10.72 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.1503, allocations: 0 / 491 MB, free: 10.72 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001538/0.1519, allocations: 0.7012 MB / 491.7 MB, free: 9.965 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.1519, allocations: 0 / 491.7 MB, free: 9.965 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003287/0.1522, allocations: 67.84 kB / 491.7 MB, free: 9.898 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.362e-06/0.1522, allocations: 3.938 kB / 491.7 MB, free: 9.895 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.36e-05/0.1523, allocations: 15.92 kB / 491.7 MB, free: 9.879 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.1523, allocations: 0 / 491.7 MB, free: 9.879 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.1523, allocations: 4 kB / 491.8 MB, free: 9.875 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00125/0.1535, allocations: 474.6 kB / 492.2 MB, free: 9.398 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.238e-05/0.1536, allocations: 100.8 kB / 492.3 MB, free: 9.281 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.638e-05/0.1536, allocations: 0 / 492.3 MB, free: 9.281 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000368/0.154, allocations: 67.91 kB / 492.4 MB, free: 9.215 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001408/0.1542, allocations: 47.88 kB / 492.4 MB, free: 9.168 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.919e-05/0.1542, allocations: 4 kB / 492.4 MB, free: 9.164 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001586/0.1544, allocations: 184.6 kB / 492.6 MB, free: 8.984 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1544, allocations: 0 / 492.6 MB, free: 8.984 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000294/0.1547, allocations: 47.98 kB / 492.7 MB, free: 8.938 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.0009412/0.1556, allocations: 412.5 kB / 493.1 MB, free: 8.668 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001378/0.157, allocations: 470.3 kB / 493.5 MB, free: 8.184 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.157, allocations: 0 / 493.5 MB, free: 8.184 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006361/0.1577, allocations: 179.8 kB / 493.7 MB, free: 8.008 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003668/0.158, allocations: 28.64 kB / 493.7 MB, free: 7.977 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000968/0.159, allocations: 354.9 kB / 494.1 MB, free: 7.605 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003855/0.1594, allocations: 0.7278 MB / 494.8 MB, free: 6.852 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001175/0.1595, allocations: 13.42 kB / 494.8 MB, free: 6.836 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.187e-05/0.1596, allocations: 31.42 kB / 494.8 MB, free: 6.805 MB / 366.1 MB Notification: Performance of SimCode: time 6.61e-07/0.1597, allocations: 0 / 494.8 MB, free: 6.805 MB / 366.1 MB Notification: Performance of Templates: time 0.007038/0.1667, allocations: 3.573 MB / 498.4 MB, free: 3.25 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 -s cvode -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe 2>&1)