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.001182/0.001182, allocations: 96.42 kB / 18.01 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001876/0.001876, allocations: 207.6 kB / 18.94 MB, free: 4.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.359/1.359, allocations: 227.7 MB / 247.5 MB, free: 11.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2062/0.2062, allocations: 46.19 MB / 345.9 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002617/0.0002617, allocations: 8 kB / 420.2 MB, free: 19.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1062/0.1065, allocations: 63.57 MB / 483.7 MB, free: 4.195 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test33): time 0.002173/0.1087, allocations: 1.567 MB / 485.3 MB, free: 2.617 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001638/0.1104, allocations: 0.994 MB / 486.3 MB, free: 1.617 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.778e-05/0.1105, allocations: 0 / 486.3 MB, free: 1.617 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002414/0.1108, allocations: 51.84 kB / 486.4 MB, free: 1.566 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003254/0.1111, allocations: 107.5 kB / 486.5 MB, free: 1.461 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000444/0.1116, allocations: 147 kB / 486.6 MB, free: 1.32 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002765/0.1119, allocations: 187.4 kB / 486.8 MB, free: 1.137 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001074/0.112, allocations: 21.53 kB / 486.8 MB, free: 1.117 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001439/0.1121, allocations: 71.75 kB / 486.9 MB, free: 1.047 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001547/0.1123, allocations: 91.58 kB / 487 MB, free: 0.957 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.767e-05/0.1123, allocations: 8 kB / 487 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001076/0.1124, allocations: 39.98 kB / 487 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.962e-05/0.1125, allocations: 43.81 kB / 487.1 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.265e-05/0.1126, allocations: 85.3 kB / 487.1 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001915/0.1128, allocations: 132 kB / 487.3 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.1128, allocations: 0 / 487.3 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.595e-06/0.1129, allocations: 0 / 487.3 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.641e-06/0.1129, allocations: 3.938 kB / 487.3 MB, free: 0.6445 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.00106/0.1139, allocations: 0.5762 MB / 487.8 MB, free: 8 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/0.114, allocations: 8.875 kB / 487.9 MB, free: 0 / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.31e-05/0.1141, allocations: 16.8 kB / 487.9 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002549/0.1143, allocations: 232.9 kB / 488.1 MB, free: 15.72 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.706e-05/0.1144, allocations: 4.375 kB / 488.1 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.502e-05/0.1144, allocations: 8.125 kB / 488.1 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005554/0.115, allocations: 169.5 kB / 488.3 MB, free: 15.54 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.115, allocations: 3.938 kB / 488.3 MB, free: 15.53 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.715e-05/0.115, allocations: 0 / 488.3 MB, free: 15.53 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.624e-06/0.115, allocations: 8 kB / 488.3 MB, free: 15.52 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008087/0.1158, allocations: 211.8 kB / 488.5 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004931/0.1163, allocations: 368.6 kB / 488.9 MB, free: 14.91 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008625/0.1172, allocations: 246.3 kB / 489.1 MB, free: 14.66 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004102/0.1176, allocations: 112.8 kB / 489.2 MB, free: 14.54 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.911e-05/0.1177, allocations: 8 kB / 489.2 MB, free: 14.54 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005769/0.1183, allocations: 187.2 kB / 489.4 MB, free: 14.34 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.713e-06/0.1183, allocations: 0 / 489.4 MB, free: 14.34 MB / 366.1 MB Notification: Performance of matching and sorting (n=13): time 0.004172/0.1224, allocations: 1.059 MB / 490.5 MB, free: 13.27 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.284e-05/0.1225, allocations: 71.27 kB / 490.5 MB, free: 13.19 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002452/0.1228, allocations: 239.2 kB / 490.8 MB, free: 12.95 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.352e-05/0.1228, allocations: 33.69 kB / 490.8 MB, free: 12.91 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.139e-05/0.1229, allocations: 120 kB / 490.9 MB, free: 12.79 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.302e-05/0.1229, allocations: 39.69 kB / 490.9 MB, free: 12.75 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.558e-05/0.123, allocations: 21.72 kB / 491 MB, free: 12.72 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001167/0.1231, allocations: 330.8 kB / 491.3 MB, free: 12.39 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008069/0.1239, allocations: 215.8 kB / 491.5 MB, free: 12.18 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007765/0.1247, allocations: 219.8 kB / 491.7 MB, free: 11.96 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001492/0.1262, allocations: 463.9 kB / 492.2 MB, free: 11.5 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.1262, allocations: 0 / 492.2 MB, free: 11.5 MB / 366.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001702/0.1279, allocations: 0.5419 MB / 492.7 MB, free: 10.94 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.751e-05/0.128, allocations: 63.39 kB / 492.8 MB, free: 10.86 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.128, allocations: 0 / 492.8 MB, free: 10.86 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.128, allocations: 4 kB / 492.8 MB, free: 10.86 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004497/0.1285, allocations: 95.91 kB / 492.9 MB, free: 10.77 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.255e-06/0.1285, allocations: 3.938 kB / 492.9 MB, free: 10.76 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004381/0.1289, allocations: 91.91 kB / 493 MB, free: 10.67 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.083e-05/0.129, allocations: 4 kB / 493 MB, free: 10.67 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.0001371/0.1291, allocations: 133.8 kB / 493.1 MB, free: 10.53 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.772e-05/0.1292, allocations: 23.72 kB / 493.1 MB, free: 10.5 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001685/0.1309, allocations: 0.4949 MB / 493.6 MB, free: 10 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.762e-06/0.1309, allocations: 7.984 kB / 493.6 MB, free: 9.996 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.1309, allocations: 3.938 kB / 493.6 MB, free: 9.992 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.1309, allocations: 0 / 493.6 MB, free: 9.992 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001899/0.1328, allocations: 0.8022 MB / 494.4 MB, free: 9.137 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.1328, allocations: 0 / 494.4 MB, free: 9.137 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004124/0.1332, allocations: 91.91 kB / 494.5 MB, free: 9.047 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.152e-06/0.1332, allocations: 7.938 kB / 494.5 MB, free: 9.039 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.734e-05/0.1333, allocations: 4 kB / 494.5 MB, free: 9.035 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.1333, allocations: 3.984 kB / 494.5 MB, free: 9.031 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.1333, allocations: 0 / 494.5 MB, free: 9.031 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001635/0.1349, allocations: 0.5614 MB / 495.1 MB, free: 8.453 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.182e-05/0.135, allocations: 108.7 kB / 495.2 MB, free: 8.328 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.492e-05/0.135, allocations: 4 kB / 495.2 MB, free: 8.324 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00046/0.1355, allocations: 91.91 kB / 495.3 MB, free: 8.234 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001392/0.1357, allocations: 43.92 kB / 495.3 MB, free: 8.191 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.691e-05/0.1357, allocations: 4 kB / 495.3 MB, free: 8.188 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000173/0.1359, allocations: 184.9 kB / 495.5 MB, free: 8.008 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1359, allocations: 0 / 495.5 MB, free: 8.008 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003102/0.1362, allocations: 43.98 kB / 495.6 MB, free: 7.965 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.000972/0.1372, allocations: 412.2 kB / 496 MB, free: 7.695 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001731/0.1389, allocations: 0.557 MB / 496.5 MB, free: 7.113 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.1389, allocations: 0 / 496.5 MB, free: 7.113 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008228/0.1397, allocations: 231.7 kB / 496.8 MB, free: 6.887 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003829/0.1401, allocations: 28.64 kB / 496.8 MB, free: 6.855 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009386/0.1411, allocations: 431.7 kB / 497.2 MB, free: 6.402 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002601/0.1414, allocations: 0.7165 MB / 497.9 MB, free: 5.66 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001161/0.1415, allocations: 23.42 kB / 497.9 MB, free: 5.637 MB / 366.1 MB Notification: Performance of SimCode: time 3.7e-07/0.1415, allocations: 4 kB / 497.9 MB, free: 5.633 MB / 366.1 MB Notification: Performance of Templates: time 0.005465/0.147, allocations: 3.161 MB / 0.4894 GB, free: 2.48 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)