Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test10.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.Test10,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.Test10") translateModel(ModelicaTest.Tables.CombiTable2D.Test10,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.Test10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001544/0.001549, allocations: 186.9 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.116/2.116, allocations: 205.4 MB / 222.5 MB, free: 13.77 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.001197/0.001197, allocations: 98.84 kB / 270.9 MB, free: 13.29 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3765/0.3765, allocations: 43.56 MB / 362.7 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006705/0.0006706, allocations: 12 kB / 431.4 MB, free: 20.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1563/0.157, allocations: 58.85 MB / 490.2 MB, free: 9.352 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test10): time 0.003147/0.1602, allocations: 1.306 MB / 491.5 MB, free: 8.027 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.002264/0.1625, allocations: 0.8713 MB / 492.4 MB, free: 7.148 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.32e-05/0.1626, allocations: 8 kB / 492.4 MB, free: 7.141 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002283/0.1629, allocations: 7.938 kB / 492.4 MB, free: 7.133 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002625/0.1632, allocations: 43.81 kB / 492.5 MB, free: 7.09 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005743/0.1638, allocations: 99.75 kB / 492.5 MB, free: 6.992 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001638/0.1639, allocations: 31.95 kB / 492.6 MB, free: 6.961 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001213/0.1641, allocations: 16.19 kB / 492.6 MB, free: 6.945 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.789e-05/0.1642, allocations: 27.84 kB / 492.6 MB, free: 6.918 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001563/0.1643, allocations: 15.92 kB / 492.6 MB, free: 6.902 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.961e-05/0.1644, allocations: 4 kB / 492.6 MB, free: 6.898 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000175/0.1646, allocations: 31.92 kB / 492.7 MB, free: 6.867 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 6.975e-05/0.1647, allocations: 23.84 kB / 492.7 MB, free: 6.844 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 3.965e-05/0.1647, allocations: 29.7 kB / 492.7 MB, free: 6.809 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002415/0.165, allocations: 71.83 kB / 492.8 MB, free: 6.738 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.165, allocations: 0 / 492.8 MB, free: 6.738 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.385e-06/0.165, allocations: 4 kB / 492.8 MB, free: 6.734 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.13e-06/0.165, allocations: 0 / 492.8 MB, free: 6.734 MB / 330.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.0007478/0.1658, allocations: 379.4 kB / 493.2 MB, free: 6.316 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.465e-05/0.1659, allocations: 16.02 kB / 493.2 MB, free: 6.301 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.908e-05/0.1659, allocations: 7.906 kB / 493.2 MB, free: 6.293 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002953/0.1662, allocations: 194.6 kB / 493.4 MB, free: 6.066 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.446e-05/0.1663, allocations: 0 / 493.4 MB, free: 6.066 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.059e-05/0.1663, allocations: 4 kB / 493.4 MB, free: 6.062 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003158/0.1666, allocations: 79.33 kB / 493.5 MB, free: 5.973 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.401e-05/0.1667, allocations: 0 / 493.5 MB, free: 5.973 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.615e-05/0.1667, allocations: 0 / 493.5 MB, free: 5.973 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.568e-06/0.1667, allocations: 0 / 493.5 MB, free: 5.973 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003034/0.167, allocations: 51.91 kB / 493.5 MB, free: 5.922 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005823/0.1676, allocations: 292.7 kB / 493.8 MB, free: 5.586 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002375/0.1679, allocations: 58.48 kB / 493.9 MB, free: 5.52 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.076e-05/0.1679, allocations: 0 / 493.9 MB, free: 5.52 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.664e-05/0.168, allocations: 30.56 kB / 493.9 MB, free: 5.48 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.944e-06/0.168, allocations: 0 / 493.9 MB, free: 5.48 MB / 330.7 MB Notification: Performance of matching and sorting (n=7): time 0.001567/0.1696, allocations: 245.3 kB / 494.1 MB, free: 5.234 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.45e-05/0.1697, allocations: 77.11 kB / 494.2 MB, free: 5.141 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002464/0.1699, allocations: 138.1 kB / 494.3 MB, free: 4.992 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.336e-05/0.17, allocations: 25.7 kB / 494.4 MB, free: 4.961 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001062/0.1701, allocations: 162.5 kB / 494.5 MB, free: 4.801 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.255e-05/0.1702, allocations: 23.7 kB / 494.5 MB, free: 4.777 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.616e-06/0.1702, allocations: 0 / 494.5 MB, free: 4.777 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001426/0.1703, allocations: 318.8 kB / 494.9 MB, free: 4.457 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002725/0.1706, allocations: 35.97 kB / 494.9 MB, free: 4.422 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002886/0.1709, allocations: 57.69 kB / 494.9 MB, free: 4.359 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002707/0.1712, allocations: 36.22 kB / 495 MB, free: 4.324 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.1712, allocations: 0 / 495 MB, free: 4.324 MB / 330.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0006527/0.1719, allocations: 133.5 kB / 495.1 MB, free: 4.188 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.778e-05/0.1719, allocations: 10.66 kB / 495.1 MB, free: 4.18 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.172, allocations: 0 / 495.1 MB, free: 4.18 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.979e-05/0.172, allocations: 3.953 kB / 495.1 MB, free: 4.176 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002575/0.1723, allocations: 27.97 kB / 495.2 MB, free: 4.148 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.156e-05/0.1723, allocations: 4 kB / 495.2 MB, free: 4.145 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001586/0.1725, allocations: 8 kB / 495.2 MB, free: 4.137 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.992e-05/0.1725, allocations: 11.92 kB / 495.2 MB, free: 4.125 MB / 330.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.0001407/0.1727, allocations: 113.8 kB / 495.3 MB, free: 4.004 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.138e-05/0.1727, allocations: 11.91 kB / 495.3 MB, free: 3.992 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007329/0.1735, allocations: 138.3 kB / 495.4 MB, free: 3.848 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.937e-06/0.1735, allocations: 7.953 kB / 495.4 MB, free: 3.84 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.1735, allocations: 4 kB / 495.4 MB, free: 3.836 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.1736, allocations: 0 / 495.4 MB, free: 3.836 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001115/0.1747, allocations: 418.4 kB / 495.9 MB, free: 3.371 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.1747, allocations: 0 / 495.9 MB, free: 3.371 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002158/0.1749, allocations: 23.98 kB / 495.9 MB, free: 3.348 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.268e-05/0.175, allocations: 12.17 kB / 495.9 MB, free: 3.336 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.422e-05/0.175, allocations: 0 / 495.9 MB, free: 3.336 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.175, allocations: 0 / 495.9 MB, free: 3.336 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.175, allocations: 0 / 495.9 MB, free: 3.336 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006893/0.1757, allocations: 223.4 kB / 496.1 MB, free: 3.102 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.005e-05/0.1758, allocations: 89 kB / 496.2 MB, free: 2.996 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.841e-05/0.1759, allocations: 11.95 kB / 496.2 MB, free: 2.984 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002266/0.1761, allocations: 15.98 kB / 496.2 MB, free: 2.969 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.602e-05/0.1762, allocations: 3.938 kB / 496.2 MB, free: 2.965 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.925e-05/0.1762, allocations: 7.984 kB / 496.2 MB, free: 2.957 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001579/0.1764, allocations: 107.3 kB / 496.3 MB, free: 2.852 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.1764, allocations: 0 / 496.3 MB, free: 2.852 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005843/0.177, allocations: 20 kB / 496.4 MB, free: 2.832 MB / 330.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.001837/0.1789, allocations: 443.3 kB / 496.8 MB, free: 2.445 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006771/0.1796, allocations: 99.92 kB / 496.9 MB, free: 2.348 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/0.1796, allocations: 0 / 496.9 MB, free: 2.348 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002977/0.1799, allocations: 55.91 kB / 496.9 MB, free: 2.293 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004297/0.1804, allocations: 15.92 kB / 497 MB, free: 2.277 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006823/0.1811, allocations: 215 kB / 497.2 MB, free: 2.039 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003807/0.1815, allocations: 0.6965 MB / 497.9 MB, free: 1.316 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001138/0.1816, allocations: 27.36 kB / 497.9 MB, free: 1.289 MB / 330.7 MB Notification: Performance of SimCode: time 1.082e-06/0.1816, allocations: 0 / 497.9 MB, free: 1.289 MB / 330.7 MB Notification: Performance of Templates: time 0.006608/0.1882, allocations: 1.778 MB / 499.7 MB, free: 15.51 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test10.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test10.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test10.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test10.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test10.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test10 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test10.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test10/Test10.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches