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.001364/0.001364, allocations: 115.8 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001439/0.001438, allocations: 199.5 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.311/1.311, allocations: 227.4 MB / 247.5 MB, free: 10.34 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2103/0.2103, allocations: 46.11 MB / 344.9 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001459/0.00146, allocations: 79.8 kB / 419 MB, free: 18.99 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1207/0.1222, allocations: 62.44 MB / 481.5 MB, free: 4.516 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test33): time 0.002933/0.1252, allocations: 1.857 MB / 483.3 MB, free: 2.645 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001399/0.1266, allocations: 1.048 MB / 484.4 MB, free: 1.59 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.012e-05/0.1267, allocations: 0 / 484.4 MB, free: 1.59 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002189/0.1269, allocations: 71.66 kB / 484.4 MB, free: 1.52 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003199/0.1272, allocations: 111.5 kB / 484.5 MB, free: 1.41 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000473/0.1277, allocations: 207.4 kB / 484.7 MB, free: 1.211 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002487/0.128, allocations: 207.4 kB / 484.9 MB, free: 1.008 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001122/0.1281, allocations: 25.56 kB / 485 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001156/0.1282, allocations: 83.72 kB / 485 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001381/0.1284, allocations: 99.64 kB / 485.1 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.401e-05/0.1284, allocations: 19.94 kB / 485.2 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001034/0.1285, allocations: 47.92 kB / 485.2 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001018/0.1286, allocations: 39.89 kB / 485.2 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.668e-05/0.1287, allocations: 71.58 kB / 485.3 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000223/0.1289, allocations: 191.3 kB / 485.5 MB, free: 452 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.129, allocations: 0 / 485.5 MB, free: 452 kB / 350.1 MB Notification: Performance of FrontEnd: time 2.825e-06/0.129, allocations: 0 / 485.5 MB, free: 452 kB / 350.1 MB Notification: Performance of Transformations before backend: time 5.18e-06/0.129, allocations: 3.938 kB / 485.5 MB, free: 448 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.0009482/0.1299, allocations: 0.5721 MB / 486.1 MB, free: 15.8 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.176e-05/0.13, allocations: 12.03 kB / 486.1 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.153e-05/0.13, allocations: 20.69 kB / 486.1 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002178/0.1302, allocations: 240.9 kB / 486.3 MB, free: 15.5 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.218e-06/0.1303, allocations: 384 / 486.3 MB, free: 15.5 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.499e-05/0.1303, allocations: 16.12 kB / 486.4 MB, free: 15.48 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004441/0.1308, allocations: 145.5 kB / 486.5 MB, free: 15.34 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.1308, allocations: 0 / 486.5 MB, free: 15.34 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.377e-05/0.1308, allocations: 8 kB / 486.5 MB, free: 15.33 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.1308, allocations: 0 / 486.5 MB, free: 15.33 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006438/0.1315, allocations: 163.8 kB / 486.7 MB, free: 15.17 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007101/0.1322, allocations: 428.5 kB / 487.1 MB, free: 14.7 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006813/0.1329, allocations: 198.3 kB / 487.3 MB, free: 14.5 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003195/0.1332, allocations: 96.91 kB / 487.4 MB, free: 14.4 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.146e-05/0.1332, allocations: 15.97 kB / 487.4 MB, free: 14.38 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004869/0.1337, allocations: 159.2 kB / 487.6 MB, free: 14.21 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.443e-06/0.1337, allocations: 0 / 487.6 MB, free: 14.21 MB / 366.1 MB Notification: Performance of matching and sorting (n=13): time 0.003234/0.137, allocations: 0.8358 MB / 488.4 MB, free: 13.37 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.619e-05/0.137, allocations: 63.33 kB / 488.5 MB, free: 13.3 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002362/0.1373, allocations: 241.5 kB / 488.7 MB, free: 13.05 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.229e-05/0.1373, allocations: 33.7 kB / 488.7 MB, free: 13.01 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.267e-05/0.1374, allocations: 124 kB / 488.8 MB, free: 12.89 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.565e-05/0.1375, allocations: 35.55 kB / 488.9 MB, free: 12.85 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.225e-05/0.1376, allocations: 37.7 kB / 488.9 MB, free: 12.81 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001181/0.1377, allocations: 326.8 kB / 489.2 MB, free: 12.48 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006223/0.1383, allocations: 171.8 kB / 489.4 MB, free: 12.31 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006052/0.1389, allocations: 175.8 kB / 489.6 MB, free: 12.14 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001114/0.14, allocations: 382.7 kB / 489.9 MB, free: 11.75 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.1401, allocations: 0 / 489.9 MB, free: 11.75 MB / 366.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001344/0.1414, allocations: 468.4 kB / 490.4 MB, free: 11.28 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.993e-05/0.1415, allocations: 71.39 kB / 490.5 MB, free: 11.2 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.1415, allocations: 0 / 490.5 MB, free: 11.2 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.1415, allocations: 0 / 490.5 MB, free: 11.2 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003618/0.1419, allocations: 67.84 kB / 490.5 MB, free: 11.13 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.802e-06/0.1419, allocations: 3.938 kB / 490.5 MB, free: 11.12 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003458/0.1422, allocations: 71.91 kB / 490.6 MB, free: 11.05 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.261e-05/0.1423, allocations: 8 kB / 490.6 MB, free: 11.05 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.0001263/0.1424, allocations: 137.8 kB / 490.8 MB, free: 10.9 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.289e-05/0.1424, allocations: 15.81 kB / 490.8 MB, free: 10.89 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00133/0.1438, allocations: 422.7 kB / 491.2 MB, free: 10.47 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.135e-06/0.1438, allocations: 7.984 kB / 491.2 MB, free: 10.46 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/0.1438, allocations: 4.047 kB / 491.2 MB, free: 10.46 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.1438, allocations: 3.938 kB / 491.2 MB, free: 10.45 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001556/0.1454, allocations: 0.7281 MB / 491.9 MB, free: 9.672 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.1454, allocations: 0 / 491.9 MB, free: 9.672 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003319/0.1457, allocations: 67.91 kB / 492 MB, free: 9.605 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/0.1457, allocations: 3.938 kB / 492 MB, free: 9.602 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.929e-05/0.1458, allocations: 3.984 kB / 492 MB, free: 9.598 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.1458, allocations: 0 / 492 MB, free: 9.598 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.1458, allocations: 0 / 492 MB, free: 9.598 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001236/0.147, allocations: 494.8 kB / 492.5 MB, free: 9.098 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.068e-05/0.1471, allocations: 92.86 kB / 492.6 MB, free: 8.988 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.646e-05/0.1471, allocations: 4 kB / 492.6 MB, free: 8.984 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003599/0.1475, allocations: 67.89 kB / 492.6 MB, free: 8.918 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000141/0.1476, allocations: 47.94 kB / 492.7 MB, free: 8.871 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.025e-05/0.1477, allocations: 4 kB / 492.7 MB, free: 8.867 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000156/0.1478, allocations: 184.5 kB / 492.9 MB, free: 8.688 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1478, allocations: 0 / 492.9 MB, free: 8.688 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002867/0.1481, allocations: 51.98 kB / 492.9 MB, free: 8.637 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.0009104/0.149, allocations: 403.2 kB / 493.3 MB, free: 8.375 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001353/0.1504, allocations: 482.3 kB / 493.8 MB, free: 7.879 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.1504, allocations: 0 / 493.8 MB, free: 7.879 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006443/0.1511, allocations: 191.7 kB / 494 MB, free: 7.691 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003598/0.1514, allocations: 53.73 kB / 494 MB, free: 7.645 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00089/0.1523, allocations: 370.8 kB / 494.4 MB, free: 7.258 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003412/0.1527, allocations: 0.7279 MB / 495.1 MB, free: 6.504 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001384/0.1528, allocations: 29.41 kB / 495.1 MB, free: 6.473 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.534e-05/0.1529, allocations: 23.42 kB / 495.2 MB, free: 6.449 MB / 366.1 MB Notification: Performance of SimCode: time 7.11e-07/0.153, allocations: 4 kB / 495.2 MB, free: 6.445 MB / 366.1 MB Notification: Performance of Templates: time 0.00742/0.1604, allocations: 3.595 MB / 498.8 MB, free: 2.863 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 -s gbode -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe 2>&1)