Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009661/0.0009661, allocations: 97.36 kB / 17.35 MB, free: 6.023 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001068/0.001068, allocations: 200.3 kB / 18.28 MB, free: 5.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.583/1.583, allocations: 227.7 MB / 246.8 MB, free: 9.688 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2222/0.2222, allocations: 46.19 MB / 345.2 MB, free: 11.2 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002688/0.0002688, allocations: 8 kB / 419.5 MB, free: 19.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1196/0.1199, allocations: 63.54 MB / 483.1 MB, free: 4.168 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test4): time 0.001807/0.1217, allocations: 1.38 MB / 484.4 MB, free: 2.777 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009158/0.1227, allocations: 0.534 MB / 485 MB, free: 2.238 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.94e-05/0.1227, allocations: 4 kB / 485 MB, free: 2.234 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000485/0.1232, allocations: 443.2 kB / 485.4 MB, free: 1.801 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003786/0.1236, allocations: 275.5 kB / 485.7 MB, free: 1.531 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003122/0.1239, allocations: 123.3 kB / 485.8 MB, free: 1.414 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000208/0.1242, allocations: 163.7 kB / 486 MB, free: 1.254 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.76e-05/0.1242, allocations: 8 kB / 486 MB, free: 1.246 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001196/0.1244, allocations: 107.7 kB / 486.1 MB, free: 1.141 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002126/0.1246, allocations: 211.6 kB / 486.3 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.327e-05/0.1246, allocations: 0 / 486.3 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.742e-05/0.1247, allocations: 28 kB / 486.3 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.497e-05/0.1248, allocations: 87.62 kB / 486.4 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.455e-05/0.1249, allocations: 120.7 kB / 486.5 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002343/0.1251, allocations: 247 kB / 486.8 MB, free: 464 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.876e-06/0.1251, allocations: 0 / 486.8 MB, free: 464 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1251, allocations: 0 / 486.8 MB, free: 464 kB / 350.1 MB Notification: Performance of Transformations before backend: time 7.935e-06/0.1252, allocations: 0 / 486.8 MB, free: 464 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000594/0.1258, allocations: 0.5953 MB / 487.3 MB, free: 15.81 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.984e-05/0.1258, allocations: 8.875 kB / 487.4 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.096e-05/0.1259, allocations: 44.38 kB / 487.4 MB, free: 15.76 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002431/0.1261, allocations: 300.1 kB / 487.7 MB, free: 15.43 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.033e-05/0.1261, allocations: 4.375 kB / 487.7 MB, free: 15.42 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.91e-05/0.1262, allocations: 4.359 kB / 487.7 MB, free: 15.42 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000137/0.1263, allocations: 61.81 kB / 487.8 MB, free: 15.35 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.1263, allocations: 4 kB / 487.8 MB, free: 15.35 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.376e-06/0.1263, allocations: 0 / 487.8 MB, free: 15.35 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.469e-06/0.1263, allocations: 0 / 487.8 MB, free: 15.35 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001018/0.1264, allocations: 27.98 kB / 487.8 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004118/0.1269, allocations: 392.6 kB / 488.2 MB, free: 14.89 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001861/0.1271, allocations: 50.56 kB / 488.2 MB, free: 14.83 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.025e-05/0.1271, allocations: 12.86 kB / 488.2 MB, free: 14.81 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.813e-05/0.1272, allocations: 3.984 kB / 488.2 MB, free: 14.81 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.348e-05/0.1272, allocations: 42.64 kB / 488.3 MB, free: 14.76 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.1272, allocations: 3.938 kB / 488.3 MB, free: 14.75 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.000609/0.1278, allocations: 240 kB / 488.5 MB, free: 14.51 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.351e-05/0.1278, allocations: 51.41 kB / 488.6 MB, free: 14.45 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007826/0.1286, allocations: 0.873 MB / 489.4 MB, free: 13.56 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.291e-05/0.1287, allocations: 25.7 kB / 489.5 MB, free: 13.53 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001547/0.1288, allocations: 220.1 kB / 489.7 MB, free: 13.31 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.035e-05/0.1288, allocations: 15.8 kB / 489.7 MB, free: 13.3 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.436e-05/0.1289, allocations: 13.72 kB / 489.7 MB, free: 13.28 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000131/0.129, allocations: 362.7 kB / 490.1 MB, free: 12.91 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.641e-05/0.1291, allocations: 23.98 kB / 490.1 MB, free: 12.89 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.686e-05/0.1292, allocations: 28.05 kB / 490.1 MB, free: 12.86 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001367/0.1293, allocations: 56.83 kB / 490.2 MB, free: 12.8 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.1293, allocations: 0 / 490.2 MB, free: 12.8 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000217/0.1295, allocations: 121.1 kB / 490.3 MB, free: 12.68 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.1296, allocations: 7.984 kB / 490.3 MB, free: 12.67 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.1296, allocations: 7.938 kB / 490.3 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.017e-05/0.1296, allocations: 7.875 kB / 490.3 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.554e-05/0.1297, allocations: 12 kB / 490.3 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.777e-06/0.1297, allocations: 0 / 490.3 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.155e-05/0.1298, allocations: 19.86 kB / 490.3 MB, free: 12.62 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.801e-06/0.1298, allocations: 0 / 490.3 MB, free: 12.62 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * 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.000172/0.1299, allocations: 209.8 kB / 490.5 MB, free: 12.41 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.204e-05/0.13, allocations: 43.44 kB / 490.6 MB, free: 12.37 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002789/0.1303, allocations: 153.1 kB / 490.7 MB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.063e-06/0.1303, allocations: 0 / 490.7 MB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.1303, allocations: 0 / 490.7 MB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.1303, allocations: 7.875 kB / 490.7 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005117/0.1308, allocations: 466.5 kB / 491.2 MB, free: 11.69 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.1309, allocations: 0 / 491.2 MB, free: 11.69 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.835e-05/0.1309, allocations: 12 kB / 491.2 MB, free: 11.68 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.1309, allocations: 0 / 491.2 MB, free: 11.68 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.976e-06/0.1309, allocations: 4.25 kB / 491.2 MB, free: 11.68 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.1309, allocations: 3.984 kB / 491.2 MB, free: 11.67 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.131, allocations: 4 kB / 491.2 MB, free: 11.67 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002452/0.1312, allocations: 222.9 kB / 491.4 MB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.516e-05/0.1313, allocations: 120.5 kB / 491.6 MB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.416e-05/0.1313, allocations: 3.938 kB / 491.6 MB, free: 11.29 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.542e-05/0.1314, allocations: 4 kB / 491.6 MB, free: 11.29 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.591e-05/0.1314, allocations: 7.984 kB / 491.6 MB, free: 11.28 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.158e-06/0.1315, allocations: 0 / 491.6 MB, free: 11.28 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005955/0.1321, allocations: 0.6589 MB / 492.2 MB, free: 10.62 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1321, allocations: 0 / 492.2 MB, free: 10.62 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002527/0.1323, allocations: 20 kB / 492.3 MB, free: 10.61 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0008488/0.1332, allocations: 399.5 kB / 492.6 MB, free: 10.35 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001947/0.1334, allocations: 59.91 kB / 492.7 MB, free: 10.29 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1334, allocations: 0 / 492.7 MB, free: 10.29 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.072e-05/0.1335, allocations: 31.97 kB / 492.7 MB, free: 10.26 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003421/0.1338, allocations: 24.81 kB / 492.8 MB, free: 10.24 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001064/0.1349, allocations: 0.8725 MB / 493.6 MB, free: 9.336 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003742/0.1353, allocations: 0.8262 MB / 494.5 MB, free: 8.48 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.998e-05/0.1354, allocations: 7.938 kB / 494.5 MB, free: 8.473 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.946e-05/0.1354, allocations: 15.42 kB / 494.5 MB, free: 8.457 MB / 366.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1354, allocations: 0 / 494.5 MB, free: 8.457 MB / 366.1 MB Notification: Performance of Templates: time 0.004126/0.1395, allocations: 1.382 MB / 495.9 MB, free: 7.082 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test4/Test4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches