Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test11.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.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test11") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test11") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001419/0.001418, allocations: 109.8 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001511/0.001511, allocations: 211.9 kB / 19.25 MB, free: 3.895 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.394/1.394, allocations: 227.4 MB / 247.4 MB, free: 10.59 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2434/0.2434, allocations: 46.1 MB / 344.8 MB, free: 11.6 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001504/0.001504, allocations: 83.64 kB / 418.3 MB, free: 19.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1305/0.1321, allocations: 62.44 MB / 480.7 MB, free: 5.289 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test11): time 0.003445/0.1356, allocations: 1.662 MB / 482.4 MB, free: 3.613 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001874/0.1375, allocations: 1.183 MB / 483.5 MB, free: 2.422 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.812e-05/0.1376, allocations: 0 / 483.5 MB, free: 2.422 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002238/0.1378, allocations: 19.86 kB / 483.6 MB, free: 2.402 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004152/0.1382, allocations: 91.55 kB / 483.7 MB, free: 2.312 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004381/0.1387, allocations: 130.9 kB / 483.8 MB, free: 2.188 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001682/0.1389, allocations: 71.84 kB / 483.8 MB, free: 2.117 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001116/0.139, allocations: 12 kB / 483.9 MB, free: 2.105 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.27e-05/0.1391, allocations: 27.84 kB / 483.9 MB, free: 2.078 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001627/0.1392, allocations: 43.78 kB / 483.9 MB, free: 2.035 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.223e-05/0.1393, allocations: 8 kB / 483.9 MB, free: 2.027 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002429/0.1395, allocations: 99.94 kB / 484 MB, free: 1.93 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.369e-05/0.1396, allocations: 19.91 kB / 484.1 MB, free: 1.91 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.347e-05/0.1396, allocations: 27.8 kB / 484.1 MB, free: 1.883 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000285/0.1399, allocations: 139.7 kB / 484.2 MB, free: 1.746 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.14, allocations: 0 / 484.2 MB, free: 1.746 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.426e-06/0.14, allocations: 0 / 484.2 MB, free: 1.746 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.082e-06/0.14, allocations: 3.938 kB / 484.2 MB, free: 1.742 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.0005748/0.1406, allocations: 419.4 kB / 484.6 MB, free: 1.285 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.1406, allocations: 8.031 kB / 484.6 MB, free: 1.277 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.345e-05/0.1407, allocations: 8.844 kB / 484.6 MB, free: 1.27 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002068/0.1409, allocations: 188.2 kB / 484.8 MB, free: 1.047 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.023e-05/0.1409, allocations: 384 / 484.8 MB, free: 1.047 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.355e-05/0.1409, allocations: 4.375 kB / 484.8 MB, free: 1.043 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001898/0.1411, allocations: 79.5 kB / 484.9 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/0.1411, allocations: 0 / 484.9 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.212e-05/0.1412, allocations: 8 kB / 484.9 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.1412, allocations: 0 / 484.9 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001283/0.1413, allocations: 31.97 kB / 485 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003958/0.1417, allocations: 300.6 kB / 485.2 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001437/0.1419, allocations: 50.55 kB / 485.3 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.086e-05/0.1419, allocations: 24.94 kB / 485.3 MB, free: 496 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.18e-05/0.142, allocations: 0 / 485.3 MB, free: 496 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.784e-05/0.142, allocations: 34.5 kB / 485.4 MB, free: 452 kB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 2.434e-06/0.142, allocations: 3.984 kB / 485.4 MB, free: 448 kB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007972/0.1428, allocations: 209.2 kB / 485.6 MB, free: 232 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.862e-05/0.1429, allocations: 77.11 kB / 485.6 MB, free: 136 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001718/0.1431, allocations: 151.9 kB / 485.8 MB, free: 15.97 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.514e-05/0.1431, allocations: 29.64 kB / 485.8 MB, free: 15.94 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.913e-05/0.1431, allocations: 92.14 kB / 485.9 MB, free: 15.85 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.809e-05/0.1432, allocations: 31.58 kB / 485.9 MB, free: 15.82 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.091e-05/0.1432, allocations: 21.72 kB / 486 MB, free: 15.79 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001125/0.1433, allocations: 318.8 kB / 486.3 MB, free: 15.47 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001128/0.1435, allocations: 31.97 kB / 486.3 MB, free: 15.44 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001176/0.1436, allocations: 45.69 kB / 486.3 MB, free: 15.39 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002233/0.1438, allocations: 80.91 kB / 486.4 MB, free: 15.3 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.1438, allocations: 0 / 486.4 MB, free: 15.3 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000276/0.1441, allocations: 113.8 kB / 486.5 MB, free: 15.19 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.1441, allocations: 4 kB / 486.5 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.169e-06/0.1441, allocations: 0 / 486.5 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.1442, allocations: 0 / 486.5 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001453/0.1443, allocations: 35.91 kB / 486.6 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.1443, allocations: 0 / 486.6 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.158e-05/0.1444, allocations: 11.94 kB / 486.6 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.867e-06/0.1444, allocations: 3.984 kB / 486.6 MB, free: 15.13 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 (7): * Single equations (assignments): 7 * 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 8.842e-05/0.1445, allocations: 117.8 kB / 486.7 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.009e-05/0.1446, allocations: 7.906 kB / 486.7 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003411/0.1449, allocations: 126.3 kB / 486.8 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/0.1449, allocations: 0 / 486.8 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.1449, allocations: 0 / 486.8 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.1449, allocations: 3.938 kB / 486.8 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005335/0.1455, allocations: 390.5 kB / 487.2 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.1455, allocations: 4 kB / 487.2 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.89e-05/0.1456, allocations: 23.97 kB / 487.2 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.1456, allocations: 0 / 487.2 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.058e-05/0.1456, allocations: 7.938 kB / 487.3 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.1456, allocations: 0 / 487.3 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1456, allocations: 3.938 kB / 487.3 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003197/0.146, allocations: 211.4 kB / 487.5 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.291e-05/0.146, allocations: 85 kB / 487.5 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.474e-05/0.146, allocations: 7.938 kB / 487.6 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.355e-05/0.1461, allocations: 4 kB / 487.6 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.124e-05/0.1462, allocations: 15.92 kB / 487.6 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.17e-06/0.1462, allocations: 0 / 487.6 MB, free: 14.04 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.199e-05/0.1463, allocations: 115.2 kB / 487.7 MB, free: 13.93 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.1463, allocations: 3.938 kB / 487.7 MB, free: 13.92 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002868/0.1466, allocations: 44 kB / 487.7 MB, free: 13.88 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 (7): * Single equations (assignments): 7 * 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.001114/0.1477, allocations: 488.6 kB / 488.2 MB, free: 13.56 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003061/0.148, allocations: 87.86 kB / 488.3 MB, free: 13.47 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.148, allocations: 0 / 488.3 MB, free: 13.47 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001208/0.1482, allocations: 39.91 kB / 488.3 MB, free: 13.43 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003484/0.1485, allocations: 26.86 kB / 488.4 MB, free: 13.41 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004903/0.149, allocations: 215.7 kB / 488.6 MB, free: 13.17 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002663/0.1493, allocations: 0.6963 MB / 489.3 MB, free: 12.45 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.39e-05/0.1494, allocations: 23.42 kB / 489.3 MB, free: 12.42 MB / 366.1 MB Notification: Performance of SimCode: time 4e-07/0.1494, allocations: 0 / 489.3 MB, free: 12.42 MB / 366.1 MB Notification: Performance of Templates: time 0.004104/0.1535, allocations: 2.09 MB / 491.4 MB, free: 10.33 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test11.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test11.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test11.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test11.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test11.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test11 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test11_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test11/Test11.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches