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.001327/0.001327, allocations: 101.9 kB / 17.08 MB, free: 5.82 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.001371/0.001371, allocations: 195.3 kB / 18.02 MB, free: 4.965 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.349/1.349, allocations: 205.1 MB / 223.9 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.206/0.206, allocations: 43.53 MB / 314.8 MB, free: 468 kB / 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.001437/0.001437, allocations: 67.83 kB / 442.5 MB, free: 5.648 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1383/0.1397, allocations: 57.79 MB / 0.4886 GB, free: 11.78 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube): time 0.004296/0.1441, allocations: 2.114 MB / 0.4906 GB, free: 9.652 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00273/0.1468, allocations: 1.414 MB / 0.492 GB, free: 8.23 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002426/0.1471, allocations: 4 kB / 0.492 GB, free: 8.227 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004546/0.1476, allocations: 83.44 kB / 0.4921 GB, free: 8.145 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003238/0.1479, allocations: 71.36 kB / 0.4922 GB, free: 8.074 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008341/0.1488, allocations: 211 kB / 0.4924 GB, free: 7.867 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003004/0.1491, allocations: 139.1 kB / 0.4925 GB, free: 7.73 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.77e-05/0.1492, allocations: 32.2 kB / 0.4925 GB, free: 7.699 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001766/0.1494, allocations: 59.66 kB / 0.4926 GB, free: 7.641 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000137/0.1495, allocations: 63.53 kB / 0.4927 GB, free: 7.578 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.578e-05/0.1495, allocations: 4 kB / 0.4927 GB, free: 7.574 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008436/0.1504, allocations: 427.3 kB / 0.4931 GB, free: 7.156 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.834e-05/0.1505, allocations: 19.86 kB / 0.4931 GB, free: 7.137 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.439e-05/0.1506, allocations: 75.42 kB / 0.4932 GB, free: 7.062 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007417/0.1513, allocations: 430.5 kB / 0.4936 GB, free: 6.641 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.034e-06/0.1513, allocations: 4 kB / 0.4936 GB, free: 6.637 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.137e-06/0.1514, allocations: 3.984 kB / 0.4936 GB, free: 6.633 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.333e-05/0.1514, allocations: 4 kB / 0.4936 GB, free: 6.629 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.001014/0.1524, allocations: 0.4902 MB / 0.4941 GB, free: 6.094 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.732e-05/0.1525, allocations: 15.88 kB / 0.4941 GB, free: 6.078 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.879e-05/0.1525, allocations: 24.66 kB / 0.4941 GB, free: 6.055 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000238/0.1528, allocations: 211.8 kB / 0.4943 GB, free: 5.809 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.035e-05/0.1528, allocations: 16.38 kB / 0.4943 GB, free: 5.793 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.779e-05/0.1528, allocations: 24.12 kB / 0.4943 GB, free: 5.77 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004434/0.1533, allocations: 206.7 kB / 0.4945 GB, free: 5.559 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.293e-05/0.1533, allocations: 4 kB / 0.4945 GB, free: 5.555 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.024e-05/0.1533, allocations: 4 kB / 0.4945 GB, free: 5.551 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.293e-05/0.1534, allocations: 7.938 kB / 0.4945 GB, free: 5.543 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003042/0.1537, allocations: 148.2 kB / 0.4947 GB, free: 5.398 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009416/0.1546, allocations: 0.5714 MB / 0.4952 GB, free: 4.777 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001971/0.1548, allocations: 62.55 kB / 0.4953 GB, free: 4.707 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001062/0.155, allocations: 28.95 kB / 0.4953 GB, free: 4.676 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.554e-05/0.155, allocations: 7.984 kB / 0.4953 GB, free: 4.668 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.537e-05/0.1551, allocations: 30.56 kB / 0.4954 GB, free: 4.629 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 2.384e-06/0.1551, allocations: 4 kB / 0.4954 GB, free: 4.625 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004755/0.1555, allocations: 129.3 kB / 0.4955 GB, free: 4.492 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.911e-05/0.1556, allocations: 59.41 kB / 0.4956 GB, free: 4.422 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002666/0.1559, allocations: 258.6 kB / 0.4958 GB, free: 4.156 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.041e-05/0.1559, allocations: 25.7 kB / 0.4958 GB, free: 4.125 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000125/0.156, allocations: 163.7 kB / 0.496 GB, free: 3.961 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.271e-05/0.1561, allocations: 19.72 kB / 0.496 GB, free: 3.941 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.75e-05/0.1561, allocations: 41.64 kB / 0.496 GB, free: 3.895 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000153/0.1563, allocations: 338.8 kB / 0.4964 GB, free: 3.555 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001273/0.1564, allocations: 35.97 kB / 0.4964 GB, free: 3.52 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001998/0.1566, allocations: 132.8 kB / 0.4965 GB, free: 3.344 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003319/0.157, allocations: 180.6 kB / 0.4967 GB, free: 3.121 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.157, allocations: 0 / 0.4967 GB, free: 3.121 MB / 382.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004222/0.1574, allocations: 205.2 kB / 0.4969 GB, free: 2.914 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.945e-05/0.1574, allocations: 6.656 kB / 0.4969 GB, free: 2.91 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.361e-05/0.1575, allocations: 19.98 kB / 0.4969 GB, free: 2.891 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.798e-05/0.1575, allocations: 4 kB / 0.4969 GB, free: 2.887 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001344/0.1576, allocations: 27.98 kB / 0.4969 GB, free: 2.859 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.394e-05/0.1577, allocations: 7.938 kB / 0.497 GB, free: 2.852 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001418/0.1578, allocations: 36.08 kB / 0.497 GB, free: 2.816 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.714e-05/0.1579, allocations: 16 kB / 0.497 GB, free: 2.801 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001218/0.158, allocations: 137.6 kB / 0.4971 GB, free: 2.656 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.164e-05/0.1581, allocations: 19.72 kB / 0.4972 GB, free: 2.637 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003673/0.1584, allocations: 134.9 kB / 0.4973 GB, free: 2.496 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.1584, allocations: 0 / 0.4973 GB, free: 2.496 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.852e-05/0.1585, allocations: 11.98 kB / 0.4973 GB, free: 2.484 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001309/0.1586, allocations: 96.97 kB / 0.4974 GB, free: 2.371 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.996e-05/0.1586, allocations: 0 / 0.4974 GB, free: 2.371 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001055/0.1587, allocations: 11.92 kB / 0.4974 GB, free: 2.359 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.93e-05/0.1588, allocations: 11.98 kB / 0.4974 GB, free: 2.348 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002988/0.1591, allocations: 172.9 kB / 0.4976 GB, free: 2.172 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003278/0.1594, allocations: 274.6 kB / 0.4978 GB, free: 1.887 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000105/0.1596, allocations: 27.98 kB / 0.4979 GB, free: 1.859 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000158/0.1597, allocations: 182 kB / 0.498 GB, free: 1.684 MB / 382.1 MB Notification: Performance of Backend: time 5.01e-07/0.1597, allocations: 4 kB / 0.498 GB, free: 1.68 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009489/0.1607, allocations: 297.4 kB / 0.4983 GB, free: 1.367 MB / 382.1 MB Notification: Performance of SimCode: time 0.001082/0.1618, allocations: 0.8772 MB / 0.4992 GB, free: 436 kB / 382.1 MB Notification: Performance of Templates: time 0.008087/0.1699, allocations: 4.052 MB / 0.5031 GB, free: 12.37 MB / 398.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/jenkins1/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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,Re,m_flow[1],m_flow[2],Nu[1],Nu[2],input_Re.y Variables in the result:A_fr,D_h_2,D_m_1,D_m_2,F_l_1,F_p_1,L_l_1,L_p_1,Nu[1],Nu[2],Phi_1,Re,T_d_1,T_p_1,alpha_2,cp,delta_2,delta_f_1,eta,gamma_2,input_Re.duration,input_Re.height,input_Re.offset,input_Re.startTime,input_Re.y,lambda,m_flow[1],m_flow[2],m_flow_IN_con_1.A_fr,m_flow_IN_con_1.D_m,m_flow_IN_con_1.F_l,m_flow_IN_con_1.F_p,m_flow_IN_con_1.L_l,m_flow_IN_con_1.L_p,m_flow_IN_con_1.Phi,m_flow_IN_con_1.T_d,m_flow_IN_con_1.T_p,m_flow_IN_con_1.delta_f,m_flow_IN_con_2.A_fr,m_flow_IN_con_2.D_h,m_flow_IN_con_2.D_m,m_flow_IN_con_2.alpha,m_flow_IN_con_2.delta,m_flow_IN_con_2.gamma,m_flow_IN_var_1.cp,m_flow_IN_var_1.eta,m_flow_IN_var_1.lambda,m_flow_IN_var_1.rho,m_flow_IN_var_2.cp,m_flow_IN_var_2.eta,m_flow_IN_var_2.lambda,m_flow_IN_var_2.rho,n,rho,time