Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|h_2|l_2|s_2|t_2|Nu|m_flow.1.|m_flow.2.|kc_1|kc_2|Re_1|Re_2|input_Nu.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|h_2|l_2|s_2|t_2|Nu|m_flow.1.|m_flow.2.|kc_1|kc_2|Re_1|Re_2|input_Nu.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001139/0.001139, allocations: 104.3 kB / 18.4 MB, free: 4.57 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001146/0.001146, allocations: 187 kB / 19.34 MB, free: 3.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.422/1.422, allocations: 222.9 MB / 243 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1963/0.1963, allocations: 44.18 MB / 337.4 MB, free: 2.711 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001883/0.001883, allocations: 64.5 kB / 409.9 MB, free: 26.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1699/0.1719, allocations: 60.83 MB / 470.7 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC): time 0.004507/0.1764, allocations: 2.185 MB / 472.9 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002079/0.1786, allocations: 1.051 MB / 474 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002741/0.1789, allocations: 4 kB / 474 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005177/0.1794, allocations: 95.36 kB / 474.1 MB, free: 10.3 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004905/0.18, allocations: 87.27 kB / 474.2 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003882/0.1804, allocations: 107.6 kB / 474.3 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003557/0.1807, allocations: 190.8 kB / 474.4 MB, free: 9.918 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.648e-05/0.1808, allocations: 16.39 kB / 474.5 MB, free: 9.898 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002584/0.1811, allocations: 67.59 kB / 474.5 MB, free: 9.832 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001692/0.1813, allocations: 95.42 kB / 474.6 MB, free: 9.738 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.154e-05/0.1813, allocations: 4 kB / 474.6 MB, free: 9.734 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004917/0.1818, allocations: 259.6 kB / 474.9 MB, free: 9.48 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.858e-05/0.1819, allocations: 31.78 kB / 474.9 MB, free: 9.449 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001219/0.182, allocations: 75.42 kB / 475 MB, free: 9.375 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005011/0.1825, allocations: 334.6 kB / 475.3 MB, free: 9.047 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.1825, allocations: 0 / 475.3 MB, free: 9.047 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.1826, allocations: 4 kB / 475.3 MB, free: 9.043 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.883e-06/0.1826, allocations: 0 / 475.3 MB, free: 9.043 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0007074/0.1833, allocations: 0.4951 MB / 475.8 MB, free: 8.5 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/0.1833, allocations: 12.03 kB / 475.8 MB, free: 8.488 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.578e-05/0.1834, allocations: 24.66 kB / 475.8 MB, free: 8.465 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002524/0.1837, allocations: 211.6 kB / 476 MB, free: 8.223 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.693e-05/0.1837, allocations: 20.81 kB / 476.1 MB, free: 8.203 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.126e-05/0.1837, allocations: 20.12 kB / 476.1 MB, free: 8.184 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004781/0.1842, allocations: 231.2 kB / 476.3 MB, free: 7.953 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.38e-05/0.1842, allocations: 0 / 476.3 MB, free: 7.953 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.116e-05/0.1843, allocations: 11.94 kB / 476.3 MB, free: 7.941 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.127e-05/0.1843, allocations: 8 kB / 476.3 MB, free: 7.934 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004518/0.1848, allocations: 245.6 kB / 476.6 MB, free: 7.691 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001076/0.1858, allocations: 0.6196 MB / 477.2 MB, free: 7.023 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002925/0.1861, allocations: 98.56 kB / 477.3 MB, free: 6.918 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001398/0.1863, allocations: 48.86 kB / 477.3 MB, free: 6.867 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.956e-05/0.1863, allocations: 3.984 kB / 477.3 MB, free: 6.863 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.502e-05/0.1864, allocations: 34.56 kB / 477.4 MB, free: 6.82 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.613e-06/0.1864, allocations: 4 kB / 477.4 MB, free: 6.816 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005681/0.187, allocations: 165.3 kB / 477.5 MB, free: 6.648 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.984e-05/0.187, allocations: 59.34 kB / 477.6 MB, free: 6.578 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002658/0.1873, allocations: 270.9 kB / 477.9 MB, free: 6.309 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.146e-05/0.1873, allocations: 25.7 kB / 477.9 MB, free: 6.277 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000115/0.1874, allocations: 163.4 kB / 478 MB, free: 6.113 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.942e-05/0.1875, allocations: 35.48 kB / 478.1 MB, free: 6.078 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.045e-05/0.1876, allocations: 57.61 kB / 478.1 MB, free: 6.016 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001358/0.1877, allocations: 334.8 kB / 478.5 MB, free: 5.68 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001503/0.1879, allocations: 51.97 kB / 478.5 MB, free: 5.629 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002125/0.1881, allocations: 140.8 kB / 478.7 MB, free: 5.445 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003639/0.1885, allocations: 208.6 kB / 478.9 MB, free: 5.195 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.184e-06/0.1885, allocations: 4 kB / 478.9 MB, free: 5.191 MB / 350.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004863/0.189, allocations: 241.1 kB / 479.1 MB, free: 4.949 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.189, allocations: 4 kB / 479.1 MB, free: 4.945 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.939e-06/0.189, allocations: 4 kB / 479.1 MB, free: 4.941 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.16e-05/0.1891, allocations: 4 kB / 479.1 MB, free: 4.938 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004441/0.1895, allocations: 87.89 kB / 479.2 MB, free: 4.852 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008032/0.1903, allocations: 1.219 MB / 480.4 MB, free: 3.586 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002029/0.1905, allocations: 31.67 kB / 480.4 MB, free: 3.555 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.262e-05/0.1906, allocations: 16 kB / 480.5 MB, free: 3.539 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 2 (m_flow_IN_con_2.geometry,m_flow_IN_con_1.geometry) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001369/0.1907, allocations: 129.7 kB / 480.6 MB, free: 3.402 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.889e-05/0.1908, allocations: 27.91 kB / 480.6 MB, free: 3.375 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004642/0.1912, allocations: 175.5 kB / 480.8 MB, free: 3.195 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/0.1913, allocations: 3.984 kB / 480.8 MB, free: 3.191 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.1913, allocations: 0 / 480.8 MB, free: 3.191 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.1913, allocations: 4 kB / 480.8 MB, free: 3.188 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007232/0.192, allocations: 456 kB / 481.2 MB, free: 2.68 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.192, allocations: 96 / 481.2 MB, free: 2.68 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002545/0.1923, allocations: 63.84 kB / 481.3 MB, free: 2.617 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-06/0.1923, allocations: 0 / 481.3 MB, free: 2.617 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.841e-05/0.1923, allocations: 4 kB / 481.3 MB, free: 2.613 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009768/0.1933, allocations: 1.215 MB / 482.5 MB, free: 1.352 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.1933, allocations: 0 / 482.5 MB, free: 1.352 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004282/0.1938, allocations: 245 kB / 482.8 MB, free: 1.09 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001015/0.1939, allocations: 100.8 kB / 482.9 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.86e-05/0.1939, allocations: 4 kB / 482.9 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001522/0.1941, allocations: 11.98 kB / 482.9 MB, free: 0.957 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.274e-05/0.1942, allocations: 8 kB / 482.9 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.496e-05/0.1942, allocations: 15.98 kB / 482.9 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001746/0.1944, allocations: 182 kB / 483.1 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of sort global known variables: time 4.4e-07/0.1944, allocations: 0 / 483.1 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004206/0.1948, allocations: 71.92 kB / 483.1 MB, free: 0.6836 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003421/0.1952, allocations: 139.2 kB / 483.3 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005484/0.1957, allocations: 172.2 kB / 483.4 MB, free: 380 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/0.1957, allocations: 4.25 kB / 483.5 MB, free: 376 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002879/0.196, allocations: 87.89 kB / 483.5 MB, free: 288 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004107/0.1964, allocations: 20.88 kB / 483.6 MB, free: 264 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009023/0.1974, allocations: 402.9 kB / 484 MB, free: 15.84 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003738/0.1977, allocations: 0.7324 MB / 484.7 MB, free: 15.08 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.062e-05/0.1978, allocations: 29.88 kB / 484.7 MB, free: 15.05 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.051e-05/0.1979, allocations: 15.44 kB / 484.7 MB, free: 15.03 MB / 366.1 MB Notification: Performance of SimCode: time 6.52e-07/0.1979, allocations: 0 / 484.7 MB, free: 15.03 MB / 366.1 MB Notification: Performance of Templates: time 0.008971/0.2069, allocations: 3.5 MB / 488.2 MB, free: 11.57 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HeatExchanger/kc_flatTube_KC/kc_flatTube_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches