Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test14.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.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test14") translateModel(ModelicaTest.Tables.CombiTable2D.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test14") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001408/0.001408, allocations: 179.2 kB / 16.41 MB, free: 5.707 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.844/1.844, allocations: 205.4 MB / 222.5 MB, free: 9.109 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.0008085/0.0008085, allocations: 90.3 kB / 270.9 MB, free: 8.355 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.487/0.487, allocations: 43.56 MB / 362.7 MB, free: 52.15 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004048/0.000405, allocations: 16 kB / 431.4 MB, free: 6.148 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1574/0.1578, allocations: 58.84 MB / 490.2 MB, free: 11.22 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test14): time 0.002208/0.1601, allocations: 1.317 MB / 491.5 MB, free: 9.891 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001306/0.1614, allocations: 0.8752 MB / 492.4 MB, free: 9.008 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.557e-05/0.1614, allocations: 0 / 492.4 MB, free: 9.008 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002004/0.1616, allocations: 23.92 kB / 492.4 MB, free: 8.984 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001891/0.1618, allocations: 27.84 kB / 492.5 MB, free: 8.957 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002943/0.1622, allocations: 103.9 kB / 492.6 MB, free: 8.855 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001279/0.1623, allocations: 51.84 kB / 492.6 MB, free: 8.805 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001141/0.1624, allocations: 20.14 kB / 492.6 MB, free: 8.785 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.29e-05/0.1625, allocations: 19.86 kB / 492.7 MB, free: 8.766 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001535/0.1626, allocations: 27.86 kB / 492.7 MB, free: 8.738 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.471e-05/0.1627, allocations: 4 kB / 492.7 MB, free: 8.734 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000103/0.1628, allocations: 43.97 kB / 492.7 MB, free: 8.691 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.95e-05/0.1628, allocations: 11.98 kB / 492.7 MB, free: 8.68 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.597e-05/0.1629, allocations: 33.64 kB / 492.8 MB, free: 8.641 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001533/0.163, allocations: 75.81 kB / 492.9 MB, free: 8.566 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.163, allocations: 0 / 492.9 MB, free: 8.566 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.744e-06/0.163, allocations: 0 / 492.9 MB, free: 8.566 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.192e-06/0.1631, allocations: 0 / 492.9 MB, free: 8.566 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.0005293/0.1636, allocations: 383.4 kB / 493.2 MB, free: 8.145 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.458e-05/0.1636, allocations: 16.02 kB / 493.2 MB, free: 8.129 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.368e-05/0.1637, allocations: 7.859 kB / 493.3 MB, free: 8.121 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002106/0.1639, allocations: 186.8 kB / 493.4 MB, free: 7.898 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.698e-05/0.1639, allocations: 4 kB / 493.4 MB, free: 7.895 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.242e-05/0.164, allocations: 3.984 kB / 493.4 MB, free: 7.891 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002037/0.1642, allocations: 79.38 kB / 493.5 MB, free: 7.801 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.1642, allocations: 0 / 493.5 MB, free: 7.801 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.335e-05/0.1643, allocations: 8 kB / 493.5 MB, free: 7.793 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.075e-06/0.1643, allocations: 0 / 493.5 MB, free: 7.793 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001455/0.1644, allocations: 43.92 kB / 493.6 MB, free: 7.75 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004203/0.1649, allocations: 284.8 kB / 493.8 MB, free: 7.422 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001371/0.165, allocations: 46.55 kB / 493.9 MB, free: 7.367 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.508e-05/0.1651, allocations: 28.94 kB / 493.9 MB, free: 7.336 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.468e-05/0.1651, allocations: 4 kB / 493.9 MB, free: 7.332 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.083e-05/0.1652, allocations: 30.56 kB / 494 MB, free: 7.293 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.093e-06/0.1652, allocations: 3.938 kB / 494 MB, free: 7.289 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0008514/0.166, allocations: 249.1 kB / 494.2 MB, free: 7.039 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.964e-05/0.1661, allocations: 77.11 kB / 494.3 MB, free: 6.945 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001406/0.1662, allocations: 130.2 kB / 494.4 MB, free: 6.809 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.475e-05/0.1663, allocations: 33.62 kB / 494.4 MB, free: 6.77 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.85e-05/0.1664, allocations: 92.14 kB / 494.5 MB, free: 6.676 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.926e-05/0.1664, allocations: 23.64 kB / 494.6 MB, free: 6.652 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.583e-06/0.1664, allocations: 4 kB / 494.6 MB, free: 6.648 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001371/0.1666, allocations: 310.8 kB / 494.9 MB, free: 6.336 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001238/0.1667, allocations: 47.97 kB / 494.9 MB, free: 6.289 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001208/0.1668, allocations: 53.69 kB / 495 MB, free: 6.23 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000122/0.1669, allocations: 39.97 kB / 495 MB, free: 6.191 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.167, allocations: 0 / 495 MB, free: 6.191 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000291/0.1672, allocations: 133.6 kB / 495.1 MB, free: 6.055 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.1673, allocations: 7.953 kB / 495.1 MB, free: 6.047 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/0.1673, allocations: 4 kB / 495.1 MB, free: 6.043 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.1673, allocations: 0 / 495.1 MB, free: 6.043 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001332/0.1674, allocations: 27.92 kB / 495.2 MB, free: 6.016 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/0.1675, allocations: 0 / 495.2 MB, free: 6.016 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.691e-05/0.1675, allocations: 15.98 kB / 495.2 MB, free: 6 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.66e-06/0.1675, allocations: 0 / 495.2 MB, free: 6 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 (7): * Single equations (assignments): 7 * 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 9.96e-05/0.1677, allocations: 117.8 kB / 495.3 MB, free: 5.875 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.913e-05/0.1677, allocations: 3.906 kB / 495.3 MB, free: 5.871 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003684/0.1681, allocations: 142 kB / 495.4 MB, free: 5.727 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.1681, allocations: 3.938 kB / 495.4 MB, free: 5.723 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.004e-05/0.1681, allocations: 4 kB / 495.4 MB, free: 5.719 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.1681, allocations: 4 kB / 495.5 MB, free: 5.715 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005185/0.1686, allocations: 406.4 kB / 495.8 MB, free: 5.262 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.1686, allocations: 3.953 kB / 495.9 MB, free: 5.258 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.449e-05/0.1687, allocations: 27.97 kB / 495.9 MB, free: 5.23 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.1687, allocations: 0 / 495.9 MB, free: 5.23 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.348e-06/0.1688, allocations: 288 / 495.9 MB, free: 5.23 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.1688, allocations: 480 / 495.9 MB, free: 5.23 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.933e-06/0.1688, allocations: 3.938 kB / 495.9 MB, free: 5.227 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003186/0.1691, allocations: 219.5 kB / 496.1 MB, free: 4.996 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.487e-05/0.1692, allocations: 100.9 kB / 496.2 MB, free: 4.879 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.852e-05/0.1692, allocations: 7.984 kB / 496.2 MB, free: 4.871 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.894e-05/0.1693, allocations: 12 kB / 496.2 MB, free: 4.859 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.611e-05/0.1693, allocations: 3.984 kB / 496.2 MB, free: 4.855 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.52e-06/0.1693, allocations: 8 kB / 496.2 MB, free: 4.848 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.074e-05/0.1694, allocations: 99.39 kB / 496.3 MB, free: 4.75 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1694, allocations: 0 / 496.3 MB, free: 4.75 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002299/0.1697, allocations: 31.98 kB / 496.4 MB, free: 4.719 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 (7): * Single equations (assignments): 7 * 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.0009257/0.1706, allocations: 444.5 kB / 496.8 MB, free: 4.328 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003102/0.1709, allocations: 95.88 kB / 496.9 MB, free: 4.234 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.1709, allocations: 0 / 496.9 MB, free: 4.234 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000124/0.1711, allocations: 47.97 kB / 496.9 MB, free: 4.188 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003085/0.1714, allocations: 16 kB / 496.9 MB, free: 4.172 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000413/0.1718, allocations: 226.8 kB / 497.2 MB, free: 3.918 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002995/0.1721, allocations: 0.6887 MB / 497.9 MB, free: 3.203 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.586e-05/0.1722, allocations: 19.44 kB / 497.9 MB, free: 3.184 MB / 378.7 MB Notification: Performance of SimCode: time 2.2e-07/0.1722, allocations: 0 / 497.9 MB, free: 3.184 MB / 378.7 MB Notification: Performance of Templates: time 0.003929/0.1761, allocations: 1.688 MB / 499.6 MB, free: 1.496 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test14.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test14.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test14.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test14.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test14.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test14 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test14.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test14_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test14/Test14.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test14.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches