Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001504/0.001504, allocations: 103.2 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001825/0.001826, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.426/1.426, allocations: 227.4 MB / 246.3 MB, free: 9.082 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.216/0.216, allocations: 46.1 MB / 343.6 MB, free: 11.6 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001614/0.001614, allocations: 76.22 kB / 416.8 MB, free: 20.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1187/0.1203, allocations: 62.45 MB / 479.3 MB, free: 5.719 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test5): time 0.003468/0.1238, allocations: 1.707 MB / 481 MB, free: 3.996 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001192/0.1251, allocations: 0.5457 MB / 481.5 MB, free: 3.445 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.112e-05/0.1252, allocations: 0 / 481.5 MB, free: 3.445 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006197/0.1258, allocations: 447.2 kB / 482 MB, free: 3.008 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005287/0.1264, allocations: 283.4 kB / 482.3 MB, free: 2.73 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004555/0.1268, allocations: 115.4 kB / 482.4 MB, free: 2.621 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003467/0.1272, allocations: 171.6 kB / 482.5 MB, free: 2.453 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001258/0.1273, allocations: 16 kB / 482.6 MB, free: 2.438 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001804/0.1275, allocations: 107.8 kB / 482.7 MB, free: 2.332 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002939/0.1278, allocations: 203.6 kB / 482.9 MB, free: 2.133 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.467e-05/0.1279, allocations: 0 / 482.9 MB, free: 2.133 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001409/0.128, allocations: 31.98 kB / 482.9 MB, free: 2.102 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000161/0.1282, allocations: 87.67 kB / 483 MB, free: 2.016 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001055/0.1283, allocations: 99 kB / 483.1 MB, free: 1.918 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003617/0.1287, allocations: 254.9 kB / 483.3 MB, free: 1.668 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.744e-06/0.1287, allocations: 0 / 483.3 MB, free: 1.668 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1287, allocations: 0 / 483.3 MB, free: 1.668 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.433e-05/0.1287, allocations: 0 / 483.3 MB, free: 1.668 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0009037/0.1296, allocations: 0.6416 MB / 484 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.328e-05/0.1297, allocations: 12.88 kB / 484 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.291e-05/0.1298, allocations: 36.47 kB / 484 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003248/0.1301, allocations: 296.2 kB / 484.3 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.096e-05/0.1301, allocations: 384 / 484.3 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.889e-05/0.1302, allocations: 4.375 kB / 484.3 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001791/0.1303, allocations: 73.72 kB / 484.4 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.1304, allocations: 0 / 484.4 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.397e-05/0.1304, allocations: 0 / 484.4 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.037e-06/0.1304, allocations: 0 / 484.4 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001077/0.1305, allocations: 27.97 kB / 484.4 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005159/0.131, allocations: 380.7 kB / 484.8 MB, free: 72 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002484/0.1313, allocations: 62.47 kB / 484.8 MB, free: 0 / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.629e-05/0.1314, allocations: 9 kB / 484.8 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.28e-05/0.1314, allocations: 0 / 484.8 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.389e-05/0.1315, allocations: 34.56 kB / 484.9 MB, free: 15.94 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 8.72e-07/0.1315, allocations: 0 / 484.9 MB, free: 15.94 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0007518/0.1322, allocations: 235.8 kB / 485.1 MB, free: 15.71 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.874e-05/0.1323, allocations: 51.41 kB / 485.2 MB, free: 15.64 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009609/0.1332, allocations: 0.8653 MB / 486 MB, free: 14.77 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.597e-05/0.1333, allocations: 25.7 kB / 486.1 MB, free: 14.73 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001645/0.1334, allocations: 224 kB / 486.3 MB, free: 14.51 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.706e-05/0.1335, allocations: 11.81 kB / 486.3 MB, free: 14.5 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.132e-05/0.1335, allocations: 21.7 kB / 486.3 MB, free: 14.47 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001561/0.1337, allocations: 366.7 kB / 486.7 MB, free: 14.11 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.785e-05/0.1338, allocations: 15.98 kB / 486.7 MB, free: 14.09 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.436e-05/0.1338, allocations: 15.98 kB / 486.7 MB, free: 14.07 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001402/0.134, allocations: 52.77 kB / 486.7 MB, free: 14.02 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/0.134, allocations: 0 / 486.7 MB, free: 14.02 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002292/0.1342, allocations: 121 kB / 486.9 MB, free: 13.89 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.904e-05/0.1343, allocations: 11.92 kB / 486.9 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.77e-06/0.1343, allocations: 0 / 486.9 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.1343, allocations: 4 kB / 486.9 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.187e-05/0.1344, allocations: 8 kB / 486.9 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.1344, allocations: 0 / 486.9 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.37e-05/0.1345, allocations: 19.86 kB / 486.9 MB, free: 13.85 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.824e-06/0.1345, allocations: 0 / 486.9 MB, free: 13.85 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.0001764/0.1347, allocations: 205.8 kB / 487.1 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.976e-05/0.1347, allocations: 43.53 kB / 487.2 MB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002791/0.135, allocations: 141.3 kB / 487.3 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-06/0.135, allocations: 0 / 487.3 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.135, allocations: 4.062 kB / 487.3 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.135, allocations: 3.938 kB / 487.3 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005796/0.1356, allocations: 470.4 kB / 487.8 MB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.1356, allocations: 0 / 487.8 MB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.284e-05/0.1357, allocations: 12 kB / 487.8 MB, free: 12.92 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/0.1357, allocations: 0 / 487.8 MB, free: 12.92 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.187e-05/0.1357, allocations: 7.922 kB / 487.8 MB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.963e-06/0.1358, allocations: 0 / 487.8 MB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.1358, allocations: 0 / 487.8 MB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002592/0.136, allocations: 211.1 kB / 488 MB, free: 12.69 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.427e-05/0.1361, allocations: 108.5 kB / 488.1 MB, free: 12.56 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.087e-05/0.1362, allocations: 7.938 kB / 488.1 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.634e-05/0.1362, allocations: 3.984 kB / 488.1 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.576e-05/0.1363, allocations: 7.938 kB / 488.1 MB, free: 12.54 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.16e-06/0.1363, allocations: 0 / 488.1 MB, free: 12.54 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006168/0.1369, allocations: 0.6589 MB / 488.8 MB, free: 11.89 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.41e-07/0.1369, allocations: 0 / 488.8 MB, free: 11.89 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002939/0.1372, allocations: 24 kB / 488.8 MB, free: 11.86 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.001018/0.1383, allocations: 396.7 kB / 489.2 MB, free: 11.61 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002037/0.1385, allocations: 47.97 kB / 489.2 MB, free: 11.56 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.1385, allocations: 0 / 489.2 MB, free: 11.56 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.247e-05/0.1386, allocations: 27.92 kB / 489.3 MB, free: 11.54 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004801/0.1391, allocations: 25.67 kB / 489.3 MB, free: 11.52 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001299/0.1404, allocations: 0.8749 MB / 490.2 MB, free: 10.61 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004414/0.1408, allocations: 0.8223 MB / 491 MB, free: 9.762 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.651e-05/0.1409, allocations: 8 kB / 491 MB, free: 9.754 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.849e-05/0.141, allocations: 19.42 kB / 491 MB, free: 9.734 MB / 366.1 MB Notification: Performance of SimCode: time 6.01e-07/0.141, allocations: 3.938 kB / 491 MB, free: 9.73 MB / 366.1 MB Notification: Performance of Templates: time 0.005063/0.146, allocations: 1.43 MB / 492.4 MB, free: 8.301 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test5/Test5.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches