Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.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.CombiTable2Dv.Test33,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test33,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000917/0.000917, allocations: 95.8 kB / 18.01 MB, free: 5.73 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001081/0.001081, allocations: 206.5 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.372/1.372, allocations: 227.7 MB / 247.5 MB, free: 9.477 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1879/0.1879, allocations: 46.18 MB / 345.9 MB, free: 11.21 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002654/0.0002654, allocations: 8 kB / 420.2 MB, free: 19.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1079/0.1082, allocations: 63.57 MB / 483.7 MB, free: 4.113 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test33): time 0.002309/0.1105, allocations: 1.572 MB / 485.3 MB, free: 2.527 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001677/0.1122, allocations: 1.021 MB / 486.3 MB, free: 1.5 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.616e-05/0.1123, allocations: 0 / 486.3 MB, free: 1.5 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002388/0.1126, allocations: 55.81 kB / 486.4 MB, free: 1.445 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003288/0.1129, allocations: 111.6 kB / 486.5 MB, free: 1.336 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005196/0.1135, allocations: 179.2 kB / 486.7 MB, free: 1.164 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002546/0.1137, allocations: 183.4 kB / 486.8 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000124/0.1139, allocations: 29.55 kB / 486.9 MB, free: 0.957 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001523/0.114, allocations: 71.69 kB / 486.9 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001549/0.1142, allocations: 95.64 kB / 487 MB, free: 0.793 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.806e-05/0.1142, allocations: 8 kB / 487 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001095/0.1143, allocations: 39.92 kB / 487.1 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.579e-05/0.1144, allocations: 47.75 kB / 487.1 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.997e-05/0.1145, allocations: 89.3 kB / 487.2 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002042/0.1148, allocations: 131.9 kB / 487.3 MB, free: 488 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.1148, allocations: 0 / 487.3 MB, free: 488 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1148, allocations: 4 kB / 487.4 MB, free: 484 kB / 350.1 MB Notification: Performance of Transformations before backend: time 6.883e-06/0.1148, allocations: 0 / 487.4 MB, free: 484 kB / 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.001125/0.1159, allocations: 0.5684 MB / 487.9 MB, free: 15.84 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.776e-05/0.116, allocations: 8.875 kB / 487.9 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.27e-05/0.116, allocations: 24.75 kB / 488 MB, free: 15.81 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000252/0.1163, allocations: 240.8 kB / 488.2 MB, free: 15.54 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.64e-05/0.1163, allocations: 8.359 kB / 488.2 MB, free: 15.53 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.608e-05/0.1164, allocations: 12.12 kB / 488.2 MB, free: 15.52 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005436/0.1169, allocations: 165.5 kB / 488.4 MB, free: 15.35 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.1169, allocations: 0 / 488.4 MB, free: 15.35 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.054e-05/0.117, allocations: 3.984 kB / 488.4 MB, free: 15.35 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.117, allocations: 7.938 kB / 488.4 MB, free: 15.34 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008078/0.1178, allocations: 211.8 kB / 488.6 MB, free: 15.13 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008571/0.1187, allocations: 456.5 kB / 489 MB, free: 14.64 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008534/0.1195, allocations: 246.4 kB / 489.3 MB, free: 14.39 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00042/0.12, allocations: 120.8 kB / 489.4 MB, free: 14.27 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.78e-05/0.12, allocations: 4 kB / 489.4 MB, free: 14.26 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005763/0.1206, allocations: 195.1 kB / 489.6 MB, free: 14.06 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.513e-06/0.1206, allocations: 0 / 489.6 MB, free: 14.06 MB / 366.1 MB Notification: Performance of matching and sorting (n=13): time 0.004205/0.1248, allocations: 1.07 MB / 490.7 MB, free: 12.98 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.037e-05/0.1249, allocations: 59.34 kB / 490.7 MB, free: 12.91 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000247/0.1251, allocations: 253.9 kB / 491 MB, free: 12.65 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.286e-05/0.1252, allocations: 33.69 kB / 491 MB, free: 12.61 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.821e-05/0.1252, allocations: 120.1 kB / 491.1 MB, free: 12.49 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.033e-05/0.1253, allocations: 43.59 kB / 491.2 MB, free: 12.45 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.172e-05/0.1253, allocations: 17.72 kB / 491.2 MB, free: 12.43 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001222/0.1255, allocations: 330.8 kB / 491.5 MB, free: 12.09 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000819/0.1263, allocations: 227.7 kB / 491.7 MB, free: 11.87 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007981/0.1271, allocations: 235.7 kB / 492 MB, free: 11.64 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001501/0.1286, allocations: 470.1 kB / 492.4 MB, free: 11.17 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.1286, allocations: 0 / 492.4 MB, free: 11.17 MB / 366.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001762/0.1304, allocations: 0.5551 MB / 493 MB, free: 10.59 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.449e-05/0.1305, allocations: 63.41 kB / 493 MB, free: 10.52 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.1305, allocations: 0 / 493 MB, free: 10.52 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.136e-05/0.1305, allocations: 0 / 493 MB, free: 10.52 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004562/0.131, allocations: 99.84 kB / 493.1 MB, free: 10.42 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.273e-06/0.131, allocations: 3.938 kB / 493.1 MB, free: 10.42 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004447/0.1314, allocations: 95.89 kB / 493.2 MB, free: 10.32 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.177e-05/0.1314, allocations: 4.109 kB / 493.2 MB, free: 10.32 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.0001372/0.1316, allocations: 141.8 kB / 493.4 MB, free: 10.17 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.735e-05/0.1316, allocations: 15.81 kB / 493.4 MB, free: 10.16 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001764/0.1334, allocations: 0.5105 MB / 493.9 MB, free: 9.641 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.09e-06/0.1334, allocations: 4 kB / 493.9 MB, free: 9.637 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.475e-05/0.1334, allocations: 3.938 kB / 493.9 MB, free: 9.633 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.1335, allocations: 0 / 493.9 MB, free: 9.633 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001995/0.1355, allocations: 0.8137 MB / 494.7 MB, free: 8.766 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.1355, allocations: 0 / 494.7 MB, free: 8.766 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004197/0.1359, allocations: 99.83 kB / 494.8 MB, free: 8.668 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.561e-06/0.1359, allocations: 3.938 kB / 494.8 MB, free: 8.664 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.019e-05/0.1359, allocations: 12 kB / 494.8 MB, free: 8.652 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.1359, allocations: 0 / 494.8 MB, free: 8.652 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1359, allocations: 0 / 494.8 MB, free: 8.652 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001669/0.1376, allocations: 0.577 MB / 495.4 MB, free: 8.059 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.006e-05/0.1377, allocations: 96.84 kB / 495.5 MB, free: 7.945 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.854e-05/0.1377, allocations: 4 kB / 495.5 MB, free: 7.941 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004473/0.1382, allocations: 91.91 kB / 495.6 MB, free: 7.852 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000143/0.1383, allocations: 47.92 kB / 495.6 MB, free: 7.805 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.69e-05/0.1384, allocations: 4 kB / 495.6 MB, free: 7.801 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001573/0.1385, allocations: 184.5 kB / 495.8 MB, free: 7.621 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1385, allocations: 0 / 495.8 MB, free: 7.621 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003/0.1388, allocations: 51.98 kB / 495.9 MB, free: 7.57 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.0009066/0.1398, allocations: 403.3 kB / 496.3 MB, free: 7.309 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001736/0.1415, allocations: 0.5688 MB / 496.8 MB, free: 6.715 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/0.1415, allocations: 7.938 kB / 496.8 MB, free: 6.707 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008137/0.1423, allocations: 235.7 kB / 497.1 MB, free: 6.477 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003786/0.1427, allocations: 36.62 kB / 497.1 MB, free: 6.438 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009501/0.1437, allocations: 440.8 kB / 497.5 MB, free: 5.98 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002674/0.144, allocations: 0.7282 MB / 498.3 MB, free: 5.227 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001127/0.1441, allocations: 19.42 kB / 498.3 MB, free: 5.207 MB / 366.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1441, allocations: 4 kB / 498.3 MB, free: 5.203 MB / 366.1 MB Notification: Performance of Templates: time 0.005465/0.1496, allocations: 3.247 MB / 0.4898 GB, free: 1.961 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe 2>&1)