Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Ds.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001015/0.001015, allocations: 94.53 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00101/0.001011, allocations: 176.7 kB / 18.25 MB, free: 5.527 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.443/1.443, allocations: 223.3 MB / 242.3 MB, free: 208 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2137/0.2137, allocations: 44.26 MB / 337.7 MB, free: 2.73 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004375/0.0004381, allocations: 8 kB / 410.3 MB, free: 27.31 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1342/0.1347, allocations: 61.93 MB / 472.3 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test19): time 0.002568/0.1373, allocations: 1.551 MB / 473.8 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001541/0.1388, allocations: 0.7874 MB / 474.6 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.739e-05/0.1389, allocations: 3.938 kB / 474.6 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005353/0.1395, allocations: 239.5 kB / 474.8 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003532/0.1398, allocations: 179.5 kB / 475 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001055/0.1409, allocations: 441.8 kB / 475.4 MB, free: 10.15 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003581/0.1413, allocations: 239.4 kB / 475.7 MB, free: 9.918 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001758/0.1415, allocations: 40.31 kB / 475.7 MB, free: 9.875 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000151/0.1416, allocations: 107.5 kB / 475.8 MB, free: 9.77 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002592/0.1419, allocations: 171.4 kB / 476 MB, free: 9.602 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.685e-05/0.1419, allocations: 4 kB / 476 MB, free: 9.598 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001261/0.142, allocations: 43.92 kB / 476 MB, free: 9.555 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001479/0.1422, allocations: 83.67 kB / 476.1 MB, free: 9.473 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001204/0.1423, allocations: 112.9 kB / 476.2 MB, free: 9.355 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003341/0.1427, allocations: 235.3 kB / 476.5 MB, free: 9.125 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.374e-06/0.1427, allocations: 0 / 476.5 MB, free: 9.125 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.494e-06/0.1427, allocations: 4 kB / 476.5 MB, free: 9.121 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.688e-06/0.1427, allocations: 0 / 476.5 MB, free: 9.121 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007931/0.1435, allocations: 0.5526 MB / 477 MB, free: 8.52 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.695e-05/0.1436, allocations: 8.031 kB / 477 MB, free: 8.512 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.425e-05/0.1437, allocations: 36.47 kB / 477.1 MB, free: 8.477 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003447/0.144, allocations: 286.4 kB / 477.3 MB, free: 8.16 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.8e-05/0.144, allocations: 16.25 kB / 477.3 MB, free: 8.145 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.499e-05/0.1441, allocations: 4.375 kB / 477.4 MB, free: 8.141 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002088/0.1443, allocations: 81.78 kB / 477.4 MB, free: 8.055 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.1443, allocations: 4 kB / 477.4 MB, free: 8.051 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.403e-05/0.1443, allocations: 4 kB / 477.4 MB, free: 8.047 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.1443, allocations: 4 kB / 477.4 MB, free: 8.043 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001613/0.1445, allocations: 55.91 kB / 477.5 MB, free: 7.988 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006299/0.1451, allocations: 420.5 kB / 477.9 MB, free: 7.527 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001213/0.1453, allocations: 62.55 kB / 478 MB, free: 7.457 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.697e-05/0.1453, allocations: 32.97 kB / 478 MB, free: 7.422 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.731e-05/0.1454, allocations: 3.984 kB / 478 MB, free: 7.418 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.434e-05/0.1454, allocations: 34.5 kB / 478 MB, free: 7.375 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.382e-06/0.1454, allocations: 0 / 478 MB, free: 7.375 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003361/0.1457, allocations: 133.3 kB / 478.2 MB, free: 7.238 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.416e-05/0.1458, allocations: 59.33 kB / 478.2 MB, free: 7.168 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005543/0.1464, allocations: 0.5134 MB / 478.7 MB, free: 6.645 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.914e-05/0.1464, allocations: 29.7 kB / 478.8 MB, free: 6.609 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001271/0.1465, allocations: 184 kB / 479 MB, free: 6.426 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.527e-05/0.1466, allocations: 27.59 kB / 479 MB, free: 6.398 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.512e-05/0.1466, allocations: 13.7 kB / 479 MB, free: 6.379 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001346/0.1467, allocations: 350.8 kB / 479.3 MB, free: 6.027 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.001e-05/0.1468, allocations: 19.98 kB / 479.4 MB, free: 6.008 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.693e-05/0.1469, allocations: 19.98 kB / 479.4 MB, free: 5.988 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001262/0.147, allocations: 56.78 kB / 479.4 MB, free: 5.93 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.147, allocations: 0 / 479.4 MB, free: 5.93 MB / 350.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001819/0.1472, allocations: 109.3 kB / 479.5 MB, free: 5.816 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.1472, allocations: 6.5 kB / 479.5 MB, free: 5.812 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.1472, allocations: 0 / 479.5 MB, free: 5.812 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/0.1473, allocations: 4 kB / 479.5 MB, free: 5.809 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.989e-05/0.1474, allocations: 11.94 kB / 479.6 MB, free: 5.797 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.704e-06/0.1474, allocations: 3.984 kB / 479.6 MB, free: 5.793 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.635e-05/0.1474, allocations: 7.906 kB / 479.6 MB, free: 5.785 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.887e-06/0.1474, allocations: 4 kB / 479.6 MB, free: 5.781 MB / 350.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 (6): * Single equations (assignments): 6 * 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.0001538/0.1476, allocations: 173.8 kB / 479.7 MB, free: 5.602 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.022e-05/0.1476, allocations: 27.62 kB / 479.8 MB, free: 5.574 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002995/0.148, allocations: 132.8 kB / 479.9 MB, free: 5.438 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.523e-06/0.148, allocations: 7.938 kB / 479.9 MB, free: 5.43 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.148, allocations: 0 / 479.9 MB, free: 5.43 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.148, allocations: 0 / 479.9 MB, free: 5.43 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002866/0.1483, allocations: 277.9 kB / 480.2 MB, free: 5.109 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.1483, allocations: 0 / 480.2 MB, free: 5.109 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.228e-05/0.1483, allocations: 16 kB / 480.2 MB, free: 5.094 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.1484, allocations: 3.938 kB / 480.2 MB, free: 5.09 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.06e-05/0.1484, allocations: 4 kB / 480.2 MB, free: 5.086 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.649e-06/0.1484, allocations: 7.875 kB / 480.2 MB, free: 5.078 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.1484, allocations: 0 / 480.2 MB, free: 5.078 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002318/0.1486, allocations: 211.1 kB / 480.4 MB, free: 4.855 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.12e-05/0.1487, allocations: 112.7 kB / 480.5 MB, free: 4.727 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.371e-05/0.1487, allocations: 0 / 480.5 MB, free: 4.727 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.39e-05/0.1488, allocations: 7.938 kB / 480.5 MB, free: 4.719 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.849e-05/0.1489, allocations: 7.984 kB / 480.5 MB, free: 4.711 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.118e-06/0.1489, allocations: 3.938 kB / 480.5 MB, free: 4.707 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004532/0.1493, allocations: 391.1 kB / 480.9 MB, free: 4.328 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1493, allocations: 0 / 480.9 MB, free: 4.328 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002869/0.1496, allocations: 39.89 kB / 481 MB, free: 4.289 MB / 350.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 (6): * Single equations (assignments): 6 * 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.00139/0.151, allocations: 0.5765 MB / 481.5 MB, free: 3.969 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001793/0.1512, allocations: 59.91 kB / 481.6 MB, free: 3.91 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1512, allocations: 3.938 kB / 481.6 MB, free: 3.906 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.642e-05/0.1513, allocations: 32 kB / 481.6 MB, free: 3.875 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005344/0.1519, allocations: 65.48 kB / 481.7 MB, free: 3.812 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001003/0.1529, allocations: 0.6494 MB / 482.3 MB, free: 3.137 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004386/0.1533, allocations: 0.7906 MB / 483.1 MB, free: 2.32 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001171/0.1534, allocations: 33.52 kB / 483.2 MB, free: 2.289 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.621e-05/0.1535, allocations: 27.42 kB / 483.2 MB, free: 2.262 MB / 350.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1535, allocations: 0 / 483.2 MB, free: 2.262 MB / 350.1 MB Notification: Performance of Templates: time 0.006134/0.1597, allocations: 2.472 MB / 485.7 MB, free: 15.8 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test19/Test19.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches