Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2D.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test2") translateModel(ModelicaTest.Tables.CombiTable2D.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001159/0.001159, allocations: 179.2 kB / 16.41 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.624/1.624, allocations: 205.4 MB / 222.5 MB, free: 9.105 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008098/0.0008097, allocations: 89.17 kB / 270.9 MB, free: 8.352 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.438/0.438, allocations: 43.55 MB / 362.7 MB, free: 52.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004276/0.0004278, allocations: 12 kB / 431.4 MB, free: 6.148 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1543/0.1548, allocations: 58.85 MB / 490.2 MB, free: 11.21 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test2): time 0.002333/0.1572, allocations: 1.305 MB / 491.5 MB, free: 9.898 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006485/0.1578, allocations: 307.8 kB / 491.8 MB, free: 9.594 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.984e-05/0.1579, allocations: 4 kB / 491.8 MB, free: 9.59 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005947/0.1585, allocations: 439.2 kB / 492.3 MB, free: 9.16 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003288/0.1589, allocations: 235.6 kB / 492.5 MB, free: 8.93 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002898/0.1592, allocations: 103.8 kB / 492.6 MB, free: 8.828 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002116/0.1594, allocations: 127.7 kB / 492.7 MB, free: 8.703 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001083/0.1595, allocations: 8.188 kB / 492.7 MB, free: 8.695 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001069/0.1596, allocations: 95.8 kB / 492.8 MB, free: 8.602 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002249/0.1598, allocations: 175.7 kB / 493 MB, free: 8.43 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.208e-05/0.1599, allocations: 4 kB / 493 MB, free: 8.426 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.242e-05/0.16, allocations: 20 kB / 493 MB, free: 8.406 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001056/0.1601, allocations: 79.69 kB / 493.1 MB, free: 8.328 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.206e-05/0.1601, allocations: 69.52 kB / 493.2 MB, free: 8.254 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002155/0.1603, allocations: 179.7 kB / 493.3 MB, free: 8.078 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.1604, allocations: 0 / 493.3 MB, free: 8.078 MB / 378.7 MB Notification: Performance of FrontEnd: time 4.058e-06/0.1604, allocations: 0 / 493.3 MB, free: 8.078 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.68e-06/0.1604, allocations: 3.938 kB / 493.4 MB, free: 8.074 MB / 378.7 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.000847/0.1612, allocations: 0.5948 MB / 493.9 MB, free: 7.434 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.6e-05/0.1613, allocations: 12.02 kB / 494 MB, free: 7.422 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.755e-05/0.1614, allocations: 47.39 kB / 494 MB, free: 7.375 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002872/0.1617, allocations: 271.3 kB / 494.3 MB, free: 7.07 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.424e-05/0.1617, allocations: 4 kB / 494.3 MB, free: 7.066 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.361e-05/0.1617, allocations: 4 kB / 494.3 MB, free: 7.062 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001565/0.1619, allocations: 49.67 kB / 494.3 MB, free: 7.008 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.1619, allocations: 0 / 494.3 MB, free: 7.008 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.168e-05/0.1619, allocations: 8 kB / 494.3 MB, free: 7 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.1619, allocations: 4 kB / 494.3 MB, free: 6.996 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001082/0.162, allocations: 31.92 kB / 494.4 MB, free: 6.965 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005084/0.1626, allocations: 380.7 kB / 494.7 MB, free: 6.543 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002462/0.1628, allocations: 46.56 kB / 494.8 MB, free: 6.488 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.517e-05/0.1629, allocations: 20.94 kB / 494.8 MB, free: 6.465 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.618e-05/0.1629, allocations: 0 / 494.8 MB, free: 6.465 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.909e-05/0.163, allocations: 38.52 kB / 494.8 MB, free: 6.418 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.163, allocations: 0 / 494.8 MB, free: 6.418 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006719/0.1636, allocations: 240.1 kB / 495.1 MB, free: 6.176 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.547e-05/0.1637, allocations: 55.34 kB / 495.1 MB, free: 6.109 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009221/0.1646, allocations: 0.8612 MB / 496 MB, free: 5.238 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.827e-05/0.1647, allocations: 33.7 kB / 496 MB, free: 5.199 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000168/0.1648, allocations: 216.1 kB / 496.2 MB, free: 4.984 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.195e-05/0.1649, allocations: 15.72 kB / 496.3 MB, free: 4.969 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.767e-06/0.1649, allocations: 0 / 496.3 MB, free: 4.969 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001622/0.165, allocations: 362.8 kB / 496.6 MB, free: 4.605 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.683e-05/0.1651, allocations: 23.92 kB / 496.6 MB, free: 4.582 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.926e-05/0.1652, allocations: 27.98 kB / 496.7 MB, free: 4.555 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.055e-05/0.1653, allocations: 23.98 kB / 496.7 MB, free: 4.531 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.42e-07/0.1653, allocations: 3.938 kB / 496.7 MB, free: 4.527 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002121/0.1655, allocations: 113.2 kB / 496.8 MB, free: 4.41 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/0.1655, allocations: 15.55 kB / 496.8 MB, free: 4.398 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.1656, allocations: 4 kB / 496.8 MB, free: 4.395 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.1656, allocations: 0 / 496.8 MB, free: 4.395 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.824e-05/0.1656, allocations: 15.98 kB / 496.8 MB, free: 4.379 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.1657, allocations: 0 / 496.8 MB, free: 4.379 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.417e-05/0.1657, allocations: 8.25 kB / 496.8 MB, free: 4.371 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.274e-06/0.1657, allocations: 4 kB / 496.8 MB, free: 4.367 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001954/0.1659, allocations: 217.7 kB / 497.1 MB, free: 4.145 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.374e-05/0.166, allocations: 43.44 kB / 497.1 MB, free: 4.102 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002921/0.1663, allocations: 141 kB / 497.2 MB, free: 3.953 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.1663, allocations: 0 / 497.2 MB, free: 3.953 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.137e-06/0.1663, allocations: 0 / 497.2 MB, free: 3.953 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.1663, allocations: 7.984 kB / 497.2 MB, free: 3.945 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005544/0.1669, allocations: 462.5 kB / 497.7 MB, free: 3.438 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.1669, allocations: 3.953 kB / 497.7 MB, free: 3.434 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.625e-05/0.167, allocations: 15.98 kB / 497.7 MB, free: 3.418 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.504e-06/0.167, allocations: 0 / 497.7 MB, free: 3.418 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.278e-06/0.167, allocations: 4 kB / 497.7 MB, free: 3.414 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.167, allocations: 0 / 497.7 MB, free: 3.414 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.167, allocations: 0 / 497.7 MB, free: 3.414 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002966/0.1673, allocations: 222.9 kB / 497.9 MB, free: 3.18 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.581e-05/0.1674, allocations: 112.6 kB / 498 MB, free: 3.051 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.683e-05/0.1675, allocations: 8 kB / 498.1 MB, free: 3.043 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.047e-05/0.1676, allocations: 7.984 kB / 498.1 MB, free: 3.035 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.357e-05/0.1676, allocations: 4 kB / 498.1 MB, free: 3.031 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.737e-06/0.1676, allocations: 0 / 498.1 MB, free: 3.031 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006478/0.1683, allocations: 0.6511 MB / 498.7 MB, free: 2.383 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1683, allocations: 0 / 498.7 MB, free: 2.383 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002493/0.1685, allocations: 20 kB / 498.7 MB, free: 2.363 MB / 378.7 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 (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.001034/0.1696, allocations: 409.2 kB / 499.1 MB, free: 2 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002442/0.1698, allocations: 51.97 kB / 499.2 MB, free: 1.949 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.1698, allocations: 0 / 499.2 MB, free: 1.949 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.126e-05/0.1699, allocations: 35.92 kB / 499.2 MB, free: 1.914 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000539/0.1705, allocations: 25.89 kB / 499.2 MB, free: 1.887 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001449/0.172, allocations: 0.8506 MB / 0.4884 GB, free: 1 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005985/0.1726, allocations: 0.8184 MB / 0.4892 GB, free: 160 kB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.876e-05/0.1726, allocations: 15.44 kB / 0.4892 GB, free: 148 kB / 378.7 MB Notification: Performance of SimCode: time 2.01e-07/0.1726, allocations: 0 / 0.4892 GB, free: 148 kB / 378.7 MB Notification: Performance of Templates: time 0.2484/0.4211, allocations: 3.586 MB / 0.4927 GB, free: 42.08 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test2.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test2.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test2.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test2.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test2 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test2/Test2.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches