Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test29.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.CombiTable2Dv.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test29") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00151/0.00151, allocations: 176.9 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.704/1.704, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.0007714/0.0007715, allocations: 94.3 kB / 270.9 MB, free: 8.348 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.4966/0.4966, allocations: 43.55 MB / 362.7 MB, free: 51.88 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004068/0.0004068, allocations: 20 kB / 431.4 MB, free: 5.902 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1549/0.1554, allocations: 58.85 MB / 490.2 MB, free: 10.96 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test29): time 0.002036/0.1574, allocations: 1.309 MB / 491.6 MB, free: 9.645 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006127/0.1581, allocations: 319.8 kB / 491.9 MB, free: 9.328 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.647e-05/0.1581, allocations: 0 / 491.9 MB, free: 9.328 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002633/0.1584, allocations: 67.84 kB / 491.9 MB, free: 9.262 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001455/0.1586, allocations: 51.86 kB / 492 MB, free: 9.211 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003672/0.1589, allocations: 135.8 kB / 492.1 MB, free: 9.078 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001423/0.1591, allocations: 67.81 kB / 492.2 MB, free: 9.012 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001207/0.1592, allocations: 27.83 kB / 492.2 MB, free: 8.984 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.583e-05/0.1593, allocations: 23.86 kB / 492.2 MB, free: 8.961 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001022/0.1594, allocations: 43.88 kB / 492.3 MB, free: 8.918 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.727e-05/0.1594, allocations: 0 / 492.3 MB, free: 8.918 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.368e-05/0.1595, allocations: 27.94 kB / 492.3 MB, free: 8.891 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.728e-05/0.1596, allocations: 23.92 kB / 492.3 MB, free: 8.867 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.561e-05/0.1596, allocations: 33.7 kB / 492.4 MB, free: 8.828 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001338/0.1598, allocations: 75.81 kB / 492.4 MB, free: 8.754 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.209e-06/0.1598, allocations: 4 kB / 492.4 MB, free: 8.75 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.585e-06/0.1598, allocations: 0 / 492.4 MB, free: 8.75 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.024e-05/0.1598, allocations: 0 / 492.4 MB, free: 8.75 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.0005014/0.1603, allocations: 407.1 kB / 492.8 MB, free: 8.305 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/0.1603, allocations: 12.02 kB / 492.8 MB, free: 8.293 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.942e-05/0.1604, allocations: 11.86 kB / 492.9 MB, free: 8.281 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001999/0.1606, allocations: 190.9 kB / 493 MB, free: 8.055 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.525e-06/0.1606, allocations: 4 kB / 493 MB, free: 8.051 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.336e-05/0.1606, allocations: 4 kB / 493.1 MB, free: 8.047 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001801/0.1608, allocations: 65.66 kB / 493.1 MB, free: 7.977 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.1609, allocations: 0 / 493.1 MB, free: 7.977 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.839e-06/0.1609, allocations: 0 / 493.1 MB, free: 7.977 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.1609, allocations: 4 kB / 493.1 MB, free: 7.973 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001493/0.161, allocations: 55.86 kB / 493.2 MB, free: 7.918 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004734/0.1615, allocations: 308.7 kB / 493.5 MB, free: 7.566 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001411/0.1617, allocations: 54.55 kB / 493.5 MB, free: 7.504 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.766e-05/0.1618, allocations: 28.94 kB / 493.6 MB, free: 7.473 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.018e-05/0.1618, allocations: 7.938 kB / 493.6 MB, free: 7.465 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.413e-05/0.1618, allocations: 34.56 kB / 493.6 MB, free: 7.422 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.312e-06/0.1618, allocations: 0 / 493.6 MB, free: 7.422 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0008752/0.1627, allocations: 261.1 kB / 493.9 MB, free: 7.16 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.091e-05/0.1628, allocations: 59.39 kB / 493.9 MB, free: 7.09 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001948/0.163, allocations: 204.7 kB / 494.1 MB, free: 6.879 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.096e-05/0.163, allocations: 37.64 kB / 494.2 MB, free: 6.836 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.277e-05/0.1631, allocations: 104 kB / 494.3 MB, free: 6.73 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.836e-05/0.1631, allocations: 23.64 kB / 494.3 MB, free: 6.707 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.472e-06/0.1631, allocations: 4 kB / 494.3 MB, free: 6.703 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000148/0.1633, allocations: 322.8 kB / 494.6 MB, free: 6.379 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001346/0.1634, allocations: 51.91 kB / 494.6 MB, free: 6.328 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001156/0.1636, allocations: 39.97 kB / 494.7 MB, free: 6.289 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001447/0.1637, allocations: 55.97 kB / 494.7 MB, free: 6.234 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.1637, allocations: 0 / 494.7 MB, free: 6.234 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002975/0.164, allocations: 137.5 kB / 494.9 MB, free: 6.094 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/0.1641, allocations: 11.95 kB / 494.9 MB, free: 6.082 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.1641, allocations: 0 / 494.9 MB, free: 6.082 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.1641, allocations: 4 kB / 494.9 MB, free: 6.078 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001349/0.1642, allocations: 19.98 kB / 494.9 MB, free: 6.059 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/0.1643, allocations: 0 / 494.9 MB, free: 6.059 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.453e-05/0.1643, allocations: 20.27 kB / 494.9 MB, free: 6.039 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.384e-06/0.1644, allocations: 0 / 494.9 MB, free: 6.039 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 0.0001349/0.1645, allocations: 133.8 kB / 495.1 MB, free: 5.898 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.014e-05/0.1645, allocations: 7.906 kB / 495.1 MB, free: 5.891 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004028/0.1649, allocations: 175.1 kB / 495.2 MB, free: 5.715 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.165, allocations: 4 kB / 495.2 MB, free: 5.711 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.165, allocations: 0 / 495.2 MB, free: 5.711 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.165, allocations: 0 / 495.2 MB, free: 5.711 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006066/0.1656, allocations: 426.6 kB / 495.7 MB, free: 5.238 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.461e-06/0.1656, allocations: 7.938 kB / 495.7 MB, free: 5.23 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.032e-05/0.1657, allocations: 27.92 kB / 495.7 MB, free: 5.203 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.1657, allocations: 0 / 495.7 MB, free: 5.203 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.228e-06/0.1657, allocations: 4 kB / 495.7 MB, free: 5.199 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.1657, allocations: 4 kB / 495.7 MB, free: 5.195 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.1657, allocations: 0 / 495.7 MB, free: 5.195 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000409/0.1662, allocations: 239.4 kB / 495.9 MB, free: 4.945 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.828e-05/0.1662, allocations: 84.97 kB / 496 MB, free: 4.844 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.045e-05/0.1663, allocations: 4 kB / 496 MB, free: 4.84 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.947e-05/0.1664, allocations: 15.98 kB / 496 MB, free: 4.824 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.349e-05/0.1664, allocations: 7.984 kB / 496 MB, free: 4.816 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.879e-06/0.1664, allocations: 3.938 kB / 496 MB, free: 4.812 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001384/0.1666, allocations: 164.9 kB / 496.2 MB, free: 4.652 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1666, allocations: 0 / 496.2 MB, free: 4.652 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002299/0.1668, allocations: 15.91 kB / 496.2 MB, free: 4.637 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.0009875/0.1678, allocations: 412.8 kB / 496.6 MB, free: 4.277 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003328/0.1682, allocations: 107.9 kB / 496.7 MB, free: 4.172 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.1682, allocations: 0 / 496.7 MB, free: 4.172 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001457/0.1683, allocations: 63.89 kB / 496.8 MB, free: 4.109 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00037/0.1687, allocations: 15.98 kB / 496.8 MB, free: 4.094 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006034/0.1693, allocations: 299.2 kB / 497.1 MB, free: 3.762 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000371/0.1697, allocations: 0.7043 MB / 497.8 MB, free: 3.031 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.314e-05/0.1698, allocations: 15.44 kB / 497.8 MB, free: 3.016 MB / 378.7 MB Notification: Performance of SimCode: time 2e-07/0.1698, allocations: 0 / 497.8 MB, free: 3.016 MB / 378.7 MB Notification: Performance of Templates: time 0.00411/0.1739, allocations: 1.704 MB / 499.5 MB, free: 1.312 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test29.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test29.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test29 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test29/Test29.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches