Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.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 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 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 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,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Re|m_flow.1.|m_flow.2.|Nu.1.|Nu.2.|input_Re.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Re|m_flow.1.|m_flow.2.|Nu.1.|Nu.2.|input_Re.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001264/0.001264, allocations: 88.19 kB / 15.7 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001601/0.001601, allocations: 175.2 kB / 16.58 MB, free: 6.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.734/1.734, allocations: 205.4 MB / 222.8 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5033/0.5033, allocations: 43.58 MB / 314.6 MB, free: 8.77 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0007985/0.0007985, allocations: 19.94 kB / 384 MB, free: 7.965 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1768/0.1777, allocations: 58.86 MB / 442.8 MB, free: 12.99 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube): time 0.002876/0.1806, allocations: 1.763 MB / 444.6 MB, free: 11.21 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001891/0.1825, allocations: 1.299 MB / 445.9 MB, free: 9.91 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.923e-05/0.1827, allocations: 0 / 445.9 MB, free: 9.91 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002996/0.183, allocations: 79.5 kB / 446 MB, free: 9.832 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001767/0.1832, allocations: 55.56 kB / 446 MB, free: 9.777 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004731/0.1836, allocations: 171.3 kB / 446.2 MB, free: 9.609 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001948/0.1838, allocations: 147 kB / 446.3 MB, free: 9.465 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.131e-05/0.1839, allocations: 24.27 kB / 446.4 MB, free: 9.441 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001334/0.1841, allocations: 55.67 kB / 446.4 MB, free: 9.387 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001122/0.1842, allocations: 67.53 kB / 446.5 MB, free: 9.32 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.124e-05/0.1842, allocations: 4 kB / 446.5 MB, free: 9.316 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000618/0.1849, allocations: 403.4 kB / 446.9 MB, free: 8.922 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.788e-05/0.1849, allocations: 27.78 kB / 446.9 MB, free: 8.895 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.375e-05/0.185, allocations: 53.64 kB / 447 MB, free: 8.836 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003437/0.1853, allocations: 271.1 kB / 447.2 MB, free: 8.57 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/0.1853, allocations: 0 / 447.2 MB, free: 8.57 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.1853, allocations: 0 / 447.2 MB, free: 8.57 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.13e-06/0.1854, allocations: 4 kB / 447.2 MB, free: 8.566 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0006425/0.186, allocations: 482.5 kB / 447.7 MB, free: 8.047 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/0.1861, allocations: 8.031 kB / 447.7 MB, free: 8.039 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.188e-05/0.1861, allocations: 23.67 kB / 447.7 MB, free: 8.016 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002146/0.1863, allocations: 202.7 kB / 447.9 MB, free: 7.777 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.023e-05/0.1864, allocations: 12 kB / 447.9 MB, free: 7.766 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.154e-05/0.1864, allocations: 19.94 kB / 448 MB, free: 7.746 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003949/0.1868, allocations: 218.4 kB / 448.2 MB, free: 7.523 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.1868, allocations: 0 / 448.2 MB, free: 7.523 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.725e-05/0.1869, allocations: 4 kB / 448.2 MB, free: 7.52 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.168e-05/0.1869, allocations: 8 kB / 448.2 MB, free: 7.512 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002975/0.1872, allocations: 160.2 kB / 448.3 MB, free: 7.355 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008443/0.188, allocations: 0.5676 MB / 448.9 MB, free: 6.738 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001908/0.1882, allocations: 70.48 kB / 449 MB, free: 6.66 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001071/0.1883, allocations: 36.95 kB / 449 MB, free: 6.621 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.252e-05/0.1884, allocations: 0 / 449 MB, free: 6.621 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.2e-05/0.1884, allocations: 30.56 kB / 449.1 MB, free: 6.582 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.192e-06/0.1884, allocations: 4 kB / 449.1 MB, free: 6.578 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004679/0.1889, allocations: 149.3 kB / 449.2 MB, free: 6.426 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.642e-05/0.189, allocations: 59.34 kB / 449.3 MB, free: 6.355 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002479/0.1892, allocations: 258.6 kB / 449.5 MB, free: 6.098 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.735e-05/0.1892, allocations: 25.7 kB / 449.5 MB, free: 6.066 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001232/0.1894, allocations: 171.6 kB / 449.7 MB, free: 5.895 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.141e-05/0.1894, allocations: 19.72 kB / 449.7 MB, free: 5.875 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.035e-05/0.1894, allocations: 0 / 449.7 MB, free: 5.875 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001779/0.1896, allocations: 338.8 kB / 450.1 MB, free: 5.535 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001596/0.1898, allocations: 43.97 kB / 450.1 MB, free: 5.492 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001739/0.1899, allocations: 128.9 kB / 450.2 MB, free: 5.32 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001403/0.1901, allocations: 63.91 kB / 450.3 MB, free: 5.258 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.1901, allocations: 0 / 450.3 MB, free: 5.258 MB / 382.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003715/0.1905, allocations: 209.1 kB / 450.5 MB, free: 5.047 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.084e-05/0.1905, allocations: 8 kB / 450.5 MB, free: 5.039 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.173e-05/0.1905, allocations: 15.98 kB / 450.5 MB, free: 5.023 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.865e-05/0.1906, allocations: 4.281 kB / 450.5 MB, free: 5.02 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001356/0.1907, allocations: 44.36 kB / 450.6 MB, free: 4.977 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.127e-05/0.1907, allocations: 7.953 kB / 450.6 MB, free: 4.969 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001307/0.1909, allocations: 43.56 kB / 450.6 MB, free: 4.926 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.861e-05/0.1909, allocations: 12 kB / 450.6 MB, free: 4.914 MB / 382.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 (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.000115/0.191, allocations: 129.7 kB / 450.7 MB, free: 4.777 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.812e-05/0.1911, allocations: 19.81 kB / 450.8 MB, free: 4.758 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003765/0.1914, allocations: 146.8 kB / 450.9 MB, free: 4.602 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.1915, allocations: 4 kB / 450.9 MB, free: 4.598 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/0.1915, allocations: 3.984 kB / 450.9 MB, free: 4.594 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.561e-06/0.1915, allocations: 7.953 kB / 450.9 MB, free: 4.586 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002522/0.1917, allocations: 213.6 kB / 451.1 MB, free: 4.328 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.888e-05/0.1918, allocations: 12 kB / 451.1 MB, free: 4.316 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.195e-05/0.1918, allocations: 11.92 kB / 451.2 MB, free: 4.305 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.1918, allocations: 0 / 451.2 MB, free: 4.305 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.135e-05/0.1919, allocations: 4 kB / 451.2 MB, free: 4.301 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.1919, allocations: 0 / 451.2 MB, free: 4.301 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1919, allocations: 0 / 451.2 MB, free: 4.301 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003227/0.1922, allocations: 223.2 kB / 451.4 MB, free: 4.066 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.8e-05/0.1923, allocations: 88.92 kB / 451.5 MB, free: 3.961 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.833e-05/0.1923, allocations: 4 kB / 451.5 MB, free: 3.957 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001017/0.1924, allocations: 15.98 kB / 451.5 MB, free: 3.941 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.692e-05/0.1925, allocations: 7.938 kB / 451.5 MB, free: 3.934 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.093e-06/0.1925, allocations: 0 / 451.5 MB, free: 3.934 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001983/0.1927, allocations: 182 kB / 451.7 MB, free: 3.754 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1927, allocations: 0 / 451.7 MB, free: 3.754 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004338/0.1931, allocations: 75.92 kB / 451.7 MB, free: 3.68 MB / 382.1 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 (3): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0004363/0.1936, allocations: 167.1 kB / 451.9 MB, free: 3.508 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005032/0.1941, allocations: 180 kB / 452.1 MB, free: 3.32 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.1941, allocations: 7.938 kB / 452.1 MB, free: 3.312 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002105/0.1943, allocations: 103.4 kB / 452.2 MB, free: 3.199 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004292/0.1948, allocations: 16.89 kB / 452.2 MB, free: 3.18 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008691/0.1956, allocations: 425.2 kB / 452.6 MB, free: 2.738 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000368/0.196, allocations: 0.7322 MB / 453.4 MB, free: 1.98 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.793e-05/0.1961, allocations: 13.55 kB / 453.4 MB, free: 1.969 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.223e-05/0.1961, allocations: 15.44 kB / 453.4 MB, free: 1.953 MB / 382.1 MB Notification: Performance of SimCode: time 2.01e-07/0.1961, allocations: 0 / 453.4 MB, free: 1.953 MB / 382.1 MB Notification: Performance of Templates: time 0.2692/0.4653, allocations: 3.857 MB / 457.2 MB, free: 46.05 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HeatExchanger/kc_flatTube/kc_flatTube.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches