Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test16.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.CombiTable1D.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test16") translateModel(ModelicaTest.Tables.CombiTable1D.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test16") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009518/0.0009521, allocations: 179.4 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.493/1.493, 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.0008113/0.0008114, allocations: 98.56 kB / 270.9 MB, free: 8.359 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.3809/0.3809, allocations: 43.56 MB / 362.7 MB, free: 51.86 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000468/0.0004682, allocations: 16 kB / 431.4 MB, free: 5.922 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1546/0.1551, allocations: 58.84 MB / 490.2 MB, free: 11 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test16): time 0.002055/0.1572, allocations: 1.259 MB / 491.5 MB, free: 9.73 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005595/0.1578, allocations: 295.8 kB / 491.8 MB, free: 9.438 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.767e-05/0.1579, allocations: 0 / 491.8 MB, free: 9.438 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002713/0.1582, allocations: 79.77 kB / 491.9 MB, free: 9.359 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001675/0.1584, allocations: 55.88 kB / 491.9 MB, free: 9.305 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002631/0.1586, allocations: 87.83 kB / 492 MB, free: 9.219 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001348/0.1588, allocations: 51.83 kB / 492.1 MB, free: 9.168 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.442e-05/0.1589, allocations: 19.97 kB / 492.1 MB, free: 9.148 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.293e-05/0.1589, allocations: 23.92 kB / 492.1 MB, free: 9.125 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001186/0.1591, allocations: 47.81 kB / 492.1 MB, free: 9.078 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.589e-05/0.1591, allocations: 0 / 492.1 MB, free: 9.078 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.949e-05/0.1592, allocations: 20 kB / 492.2 MB, free: 9.059 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.658e-05/0.1592, allocations: 23.91 kB / 492.2 MB, free: 9.035 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.401e-05/0.1592, allocations: 37.64 kB / 492.2 MB, free: 8.992 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001292/0.1594, allocations: 63.91 kB / 492.3 MB, free: 8.93 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.945e-06/0.1594, allocations: 4 kB / 492.3 MB, free: 8.926 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.205e-06/0.1594, allocations: 0 / 492.3 MB, free: 8.926 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.02e-06/0.1594, allocations: 0 / 492.3 MB, free: 8.926 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005194/0.1599, allocations: 387.1 kB / 492.7 MB, free: 8.5 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/0.16, allocations: 16.02 kB / 492.7 MB, free: 8.484 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.381e-05/0.16, allocations: 11.86 kB / 492.7 MB, free: 8.473 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002297/0.1603, allocations: 186.9 kB / 492.9 MB, free: 8.25 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.226e-05/0.1603, allocations: 8 kB / 492.9 MB, free: 8.242 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.001e-05/0.1603, allocations: 0 / 492.9 MB, free: 8.242 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000161/0.1605, allocations: 57.61 kB / 492.9 MB, free: 8.18 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.1605, allocations: 0 / 492.9 MB, free: 8.18 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.989e-06/0.1605, allocations: 4 kB / 492.9 MB, free: 8.176 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.1605, allocations: 3.984 kB / 492.9 MB, free: 8.172 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000102/0.1607, allocations: 27.94 kB / 493 MB, free: 8.145 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004078/0.1611, allocations: 292.9 kB / 493.3 MB, free: 7.809 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002105/0.1613, allocations: 46.5 kB / 493.3 MB, free: 7.754 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.586e-05/0.1614, allocations: 20.94 kB / 493.3 MB, free: 7.73 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.634e-05/0.1614, allocations: 8 kB / 493.3 MB, free: 7.723 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.519e-05/0.1614, allocations: 30.56 kB / 493.4 MB, free: 7.684 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.1614, allocations: 0 / 493.4 MB, free: 7.684 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006072/0.162, allocations: 177.1 kB / 493.5 MB, free: 7.504 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.145e-05/0.1621, allocations: 55.39 kB / 493.6 MB, free: 7.438 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002016/0.1623, allocations: 198.2 kB / 493.8 MB, free: 7.234 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.188e-05/0.1623, allocations: 25.7 kB / 493.8 MB, free: 7.203 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.609e-05/0.1624, allocations: 104.1 kB / 493.9 MB, free: 7.098 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.452e-05/0.1624, allocations: 15.72 kB / 493.9 MB, free: 7.082 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.898e-06/0.1625, allocations: 0 / 493.9 MB, free: 7.082 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001343/0.1626, allocations: 330.8 kB / 494.2 MB, free: 6.75 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.29e-05/0.1627, allocations: 23.98 kB / 494.3 MB, free: 6.727 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.611e-05/0.1628, allocations: 28.05 kB / 494.3 MB, free: 6.699 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.633e-05/0.1628, allocations: 31.92 kB / 494.3 MB, free: 6.668 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.1629, allocations: 0 / 494.3 MB, free: 6.668 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002004/0.1631, allocations: 97.5 kB / 494.4 MB, free: 6.566 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.921e-05/0.1631, allocations: 7.953 kB / 494.4 MB, free: 6.559 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.1631, allocations: 4 kB / 494.4 MB, free: 6.555 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.1631, allocations: 0 / 494.4 MB, free: 6.555 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.85e-05/0.1632, allocations: 19.98 kB / 494.5 MB, free: 6.535 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.1632, allocations: 3.938 kB / 494.5 MB, free: 6.531 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.235e-05/0.1633, allocations: 4 kB / 494.5 MB, free: 6.527 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.573e-06/0.1633, allocations: 0 / 494.5 MB, free: 6.527 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.0001056/0.1634, allocations: 125.8 kB / 494.6 MB, free: 6.395 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.83e-05/0.1634, allocations: 7.906 kB / 494.6 MB, free: 6.387 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002559/0.1637, allocations: 125.8 kB / 494.7 MB, free: 6.258 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.1637, allocations: 0 / 494.7 MB, free: 6.258 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/0.1637, allocations: 0 / 494.7 MB, free: 6.258 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.1637, allocations: 0 / 494.7 MB, free: 6.258 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004409/0.1642, allocations: 362.6 kB / 495.1 MB, free: 5.848 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.1642, allocations: 0 / 495.1 MB, free: 5.848 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.19e-05/0.1643, allocations: 23.88 kB / 495.1 MB, free: 5.824 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.1643, allocations: 0 / 495.1 MB, free: 5.824 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.788e-06/0.1643, allocations: 4.312 kB / 495.1 MB, free: 5.82 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.1643, allocations: 0 / 495.1 MB, free: 5.82 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.1643, allocations: 4 kB / 495.1 MB, free: 5.816 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002395/0.1645, allocations: 199.3 kB / 495.3 MB, free: 5.605 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.875e-05/0.1646, allocations: 81.02 kB / 495.4 MB, free: 5.508 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.695e-05/0.1646, allocations: 3.953 kB / 495.4 MB, free: 5.504 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.643e-05/0.1647, allocations: 11.98 kB / 495.4 MB, free: 5.492 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.763e-05/0.1647, allocations: 8 kB / 495.4 MB, free: 5.484 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.119e-06/0.1648, allocations: 4 kB / 495.4 MB, free: 5.48 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001201/0.1649, allocations: 156 kB / 495.6 MB, free: 5.328 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1649, allocations: 4 kB / 495.6 MB, free: 5.324 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002131/0.1651, allocations: 12 kB / 495.6 MB, free: 5.312 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.0008528/0.166, allocations: 413.5 kB / 496 MB, free: 4.945 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002093/0.1662, allocations: 63.95 kB / 496 MB, free: 4.883 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1662, allocations: 0 / 496 MB, free: 4.883 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.794e-05/0.1663, allocations: 31.98 kB / 496.1 MB, free: 4.852 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003338/0.1666, allocations: 15.92 kB / 496.1 MB, free: 4.836 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004701/0.1671, allocations: 266.9 kB / 496.3 MB, free: 4.535 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002873/0.1674, allocations: 0.7043 MB / 497.1 MB, free: 3.805 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.423e-05/0.1675, allocations: 15.44 kB / 497.1 MB, free: 3.789 MB / 378.7 MB Notification: Performance of SimCode: time 2.2e-07/0.1675, allocations: 0 / 497.1 MB, free: 3.789 MB / 378.7 MB Notification: Performance of Templates: time 0.003279/0.1707, allocations: 1.489 MB / 498.6 MB, free: 2.301 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test16.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test16.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test16.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test16.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test16.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test16 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test16/Test16.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches