Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.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.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001378/0.001378, allocations: 95.25 kB / 17 MB, free: 6.418 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.001641/0.001641, allocations: 189.2 kB / 17.89 MB, free: 5.945 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.457/1.457, allocations: 223.3 MB / 241.9 MB, free: 256 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.2463/0.2463, allocations: 44.25 MB / 337.3 MB, free: 2.777 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003274/0.0003274, allocations: 8.656 kB / 409.7 MB, free: 27.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1464/0.1468, allocations: 61.92 MB / 471.6 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test16): time 0.002103/0.1489, allocations: 1.31 MB / 472.9 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008029/0.1497, allocations: 0.6487 MB / 473.6 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.599e-05/0.1498, allocations: 3.938 kB / 473.6 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001784/0.15, allocations: 23.86 kB / 473.6 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001992/0.1502, allocations: 35.89 kB / 473.6 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.047e-06/0.1502, allocations: 0 / 473.6 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001475/0.1504, allocations: 35.91 kB / 473.7 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.93e-05/0.1504, allocations: 3.938 kB / 473.7 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.625e-05/0.1504, allocations: 15.98 kB / 473.7 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.93e-05/0.1505, allocations: 15.92 kB / 473.7 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.357e-05/0.1505, allocations: 4 kB / 473.7 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.157e-05/0.1506, allocations: 8 kB / 473.7 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.697e-05/0.1506, allocations: 15.92 kB / 473.7 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.973e-05/0.1507, allocations: 37.64 kB / 473.8 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001136/0.1508, allocations: 48.19 kB / 473.8 MB, free: 11.47 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.1508, allocations: 0 / 473.8 MB, free: 11.47 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.305e-06/0.1508, allocations: 0 / 473.8 MB, free: 11.47 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.548e-06/0.1508, allocations: 4 kB / 473.8 MB, free: 11.47 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0003544/0.1512, allocations: 359.2 kB / 474.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.847e-05/0.1512, allocations: 8.031 kB / 474.2 MB, free: 11.06 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.109e-05/0.1513, allocations: 11.89 kB / 474.2 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001449/0.1514, allocations: 174.9 kB / 474.3 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.295e-05/0.1514, allocations: 0 / 474.3 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.091e-05/0.1514, allocations: 0 / 474.3 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001881/0.1516, allocations: 129 kB / 474.5 MB, free: 10.69 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.1517, allocations: 7.938 kB / 474.5 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.307e-06/0.1517, allocations: 0 / 474.5 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.062e-05/0.1517, allocations: 23.98 kB / 474.5 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.951e-05/0.1518, allocations: 39.91 kB / 474.5 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006212/0.1524, allocations: 0.8945 MB / 475.4 MB, free: 9.656 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.885e-05/0.1525, allocations: 169.1 kB / 475.6 MB, free: 9.48 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.22e-05/0.1526, allocations: 84.14 kB / 475.7 MB, free: 9.395 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.735e-05/0.1526, allocations: 79.38 kB / 475.8 MB, free: 9.316 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.453e-05/0.1526, allocations: 117.7 kB / 475.9 MB, free: 9.191 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 1.173e-06/0.1527, allocations: 0 / 475.9 MB, free: 9.191 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 7.296e-05/0.1527, allocations: 37.59 kB / 475.9 MB, free: 9.148 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.215e-05/0.1528, allocations: 126.7 kB / 476 MB, free: 9.012 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001798/0.153, allocations: 182.1 kB / 476.2 MB, free: 8.824 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.19e-05/0.153, allocations: 29.7 kB / 476.2 MB, free: 8.789 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.547e-05/0.1531, allocations: 147.2 kB / 476.4 MB, free: 8.641 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.08e-06/0.1531, allocations: 3.984 kB / 476.4 MB, free: 8.637 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.652e-06/0.1531, allocations: 4 kB / 476.4 MB, free: 8.633 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001189/0.1532, allocations: 314.8 kB / 476.7 MB, free: 8.316 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.72e-05/0.1533, allocations: 35.97 kB / 476.7 MB, free: 8.281 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000132/0.1534, allocations: 165 kB / 476.9 MB, free: 8.059 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.86e-05/0.1535, allocations: 63.92 kB / 477 MB, free: 7.996 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.948e-06/0.1535, allocations: 4 kB / 477 MB, free: 7.992 MB / 350.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002877/0.1538, allocations: 193.6 kB / 477.2 MB, free: 7.797 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.1539, allocations: 10.66 kB / 477.2 MB, free: 7.789 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.1539, allocations: 4 kB / 477.2 MB, free: 7.785 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.834e-05/0.1539, allocations: 8 kB / 477.2 MB, free: 7.777 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001206/0.154, allocations: 39.92 kB / 477.2 MB, free: 7.738 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.386e-05/0.154, allocations: 12 kB / 477.2 MB, free: 7.727 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.669e-05/0.1541, allocations: 19.78 kB / 477.2 MB, free: 7.707 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.485e-05/0.1541, allocations: 19.94 kB / 477.3 MB, free: 7.688 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001191/0.1543, allocations: 214.6 kB / 477.5 MB, free: 7.469 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.212e-05/0.1544, allocations: 120.8 kB / 477.6 MB, free: 7.344 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.369e-05/0.1544, allocations: 112.9 kB / 477.7 MB, free: 7.227 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.41e-05/0.1545, allocations: 176.3 kB / 477.9 MB, free: 7.047 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.062e-05/0.1546, allocations: 180.2 kB / 478 MB, free: 6.863 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-05/0.1546, allocations: 184.2 kB / 478.2 MB, free: 6.676 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002357/0.1549, allocations: 429.1 kB / 478.6 MB, free: 6.199 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.324e-05/0.1549, allocations: 105 kB / 478.7 MB, free: 6.09 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.825e-05/0.155, allocations: 101 kB / 478.8 MB, free: 5.984 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.453e-05/0.1551, allocations: 180.2 kB / 479 MB, free: 5.801 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.752e-05/0.1551, allocations: 184.3 kB / 479.2 MB, free: 5.613 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.295e-05/0.1552, allocations: 188.2 kB / 479.4 MB, free: 5.422 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.994e-05/0.1553, allocations: 176.3 kB / 479.6 MB, free: 5.242 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001483/0.1554, allocations: 323.6 kB / 479.9 MB, free: 4.902 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.113e-05/0.1555, allocations: 189.8 kB / 480.1 MB, free: 4.691 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.443e-05/0.1556, allocations: 188.2 kB / 480.2 MB, free: 4.5 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.369e-05/0.1557, allocations: 105 kB / 480.3 MB, free: 4.391 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.227e-05/0.1558, allocations: 180.2 kB / 480.5 MB, free: 4.207 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.469e-05/0.1558, allocations: 101 kB / 480.6 MB, free: 4.102 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001032/0.1559, allocations: 139.2 kB / 480.8 MB, free: 3.965 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1559, allocations: 0 / 480.8 MB, free: 3.965 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002643/0.1562, allocations: 12 kB / 480.8 MB, free: 3.953 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 (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000475/0.1567, allocations: 276.6 kB / 481 MB, free: 3.727 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001409/0.1568, allocations: 67.78 kB / 481.1 MB, free: 3.66 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/0.1568, allocations: 4 kB / 481.1 MB, free: 3.656 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.563e-06/0.1568, allocations: 1.25 kB / 481.1 MB, free: 3.656 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003879/0.1572, allocations: 0.5379 MB / 481.6 MB, free: 3.113 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003688/0.1576, allocations: 270.8 kB / 481.9 MB, free: 2.824 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002965/0.1579, allocations: 0.7048 MB / 482.6 MB, free: 2.094 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000165/0.1581, allocations: 49.02 kB / 482.7 MB, free: 2.047 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.78e-05/0.1581, allocations: 15.44 kB / 482.7 MB, free: 2.031 MB / 350.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1581, allocations: 0 / 482.7 MB, free: 2.031 MB / 350.1 MB Notification: Performance of Templates: time 0.002947/0.1611, allocations: 0.6352 MB / 483.3 MB, free: 1.398 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test16/Test16.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches