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.001302/0.001301, allocations: 110.2 kB / 17.09 MB, free: 5.953 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.001326/0.001326, allocations: 200.2 kB / 18.03 MB, free: 5.035 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.355/1.355, 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.2153/0.2153, allocations: 43.53 MB / 314.8 MB, free: 448 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.001792/0.001792, allocations: 71.89 kB / 442.5 MB, free: 5.629 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1011/0.1029, allocations: 57.79 MB / 0.4886 GB, free: 11.76 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube): time 0.003475/0.1064, allocations: 2.102 MB / 0.4906 GB, free: 9.637 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00205/0.1085, allocations: 1.414 MB / 0.492 GB, free: 8.215 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001377/0.1086, allocations: 0 / 0.492 GB, free: 8.215 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003322/0.109, allocations: 95.33 kB / 0.4921 GB, free: 8.121 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000204/0.1092, allocations: 71.41 kB / 0.4922 GB, free: 8.051 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007141/0.1099, allocations: 219.1 kB / 0.4924 GB, free: 7.836 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002202/0.1102, allocations: 147 kB / 0.4925 GB, free: 7.691 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.764e-05/0.1102, allocations: 16.3 kB / 0.4925 GB, free: 7.676 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001296/0.1104, allocations: 55.66 kB / 0.4926 GB, free: 7.621 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.848e-05/0.1105, allocations: 67.53 kB / 0.4927 GB, free: 7.555 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.831e-05/0.1105, allocations: 4 kB / 0.4927 GB, free: 7.551 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006326/0.1111, allocations: 431.3 kB / 0.4931 GB, free: 7.129 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.551e-05/0.1112, allocations: 27.84 kB / 0.4931 GB, free: 7.102 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.767e-05/0.1113, allocations: 71.42 kB / 0.4932 GB, free: 7.031 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005743/0.1119, allocations: 430.3 kB / 0.4936 GB, free: 6.609 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.626e-06/0.1119, allocations: 4 kB / 0.4936 GB, free: 6.605 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.1119, allocations: 0 / 0.4936 GB, free: 6.605 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.57e-06/0.1119, allocations: 0 / 0.4936 GB, free: 6.605 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.0006248/0.1125, allocations: 0.5016 MB / 0.4941 GB, free: 6.059 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.766e-05/0.1126, allocations: 11.89 kB / 0.4941 GB, free: 6.047 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.08e-05/0.1126, allocations: 24.8 kB / 0.4941 GB, free: 6.023 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002051/0.1128, allocations: 219.9 kB / 0.4943 GB, free: 5.77 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.201e-05/0.1128, allocations: 8.375 kB / 0.4943 GB, free: 5.762 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.853e-05/0.1129, allocations: 24.12 kB / 0.4944 GB, free: 5.738 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003807/0.1133, allocations: 206.7 kB / 0.4945 GB, free: 5.527 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.1133, allocations: 0 / 0.4945 GB, free: 5.527 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.552e-05/0.1133, allocations: 4 kB / 0.4946 GB, free: 5.523 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.576e-06/0.1133, allocations: 7.938 kB / 0.4946 GB, free: 5.516 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003106/0.1136, allocations: 152.2 kB / 0.4947 GB, free: 5.367 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008339/0.1145, allocations: 0.5795 MB / 0.4953 GB, free: 4.738 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001903/0.1147, allocations: 66.48 kB / 0.4953 GB, free: 4.664 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001064/0.1148, allocations: 28.95 kB / 0.4954 GB, free: 4.633 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.997e-05/0.1148, allocations: 0 / 0.4954 GB, free: 4.633 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.472e-05/0.1149, allocations: 38.55 kB / 0.4954 GB, free: 4.586 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.313e-06/0.1149, allocations: 0 / 0.4954 GB, free: 4.586 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.000462/0.1154, allocations: 133.5 kB / 0.4955 GB, free: 4.449 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.657e-05/0.1154, allocations: 55.34 kB / 0.4956 GB, free: 4.383 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002458/0.1156, allocations: 258.7 kB / 0.4958 GB, free: 4.117 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.757e-05/0.1157, allocations: 29.7 kB / 0.4959 GB, free: 4.082 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001053/0.1158, allocations: 163.9 kB / 0.496 GB, free: 3.918 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.91e-05/0.1158, allocations: 19.84 kB / 0.496 GB, free: 3.898 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.342e-05/0.1159, allocations: 49.66 kB / 0.4961 GB, free: 3.844 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001135/0.116, allocations: 334.8 kB / 0.4964 GB, free: 3.508 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001316/0.1161, allocations: 31.97 kB / 0.4964 GB, free: 3.477 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001755/0.1163, allocations: 136.7 kB / 0.4966 GB, free: 3.297 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003096/0.1166, allocations: 180.6 kB / 0.4967 GB, free: 3.074 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.192e-06/0.1167, allocations: 4 kB / 0.4967 GB, free: 3.07 MB / 382.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004189/0.1171, allocations: 205.2 kB / 0.4969 GB, free: 2.863 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.016e-05/0.1171, allocations: 8 kB / 0.4969 GB, free: 2.855 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.881e-05/0.1171, allocations: 12 kB / 0.4969 GB, free: 2.844 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.678e-05/0.1172, allocations: 4 kB / 0.497 GB, free: 2.84 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001363/0.1173, allocations: 31.97 kB / 0.497 GB, free: 2.809 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.111e-05/0.1173, allocations: 7.938 kB / 0.497 GB, free: 2.801 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001273/0.1175, allocations: 32.3 kB / 0.497 GB, free: 2.77 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.829e-05/0.1175, allocations: 20 kB / 0.497 GB, free: 2.75 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.0001157/0.1176, allocations: 133.7 kB / 0.4972 GB, free: 2.609 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.991e-05/0.1177, allocations: 19.86 kB / 0.4972 GB, free: 2.59 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003764/0.118, allocations: 134.9 kB / 0.4973 GB, free: 2.449 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.099e-06/0.1181, allocations: 4 kB / 0.4973 GB, free: 2.445 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.975e-05/0.1181, allocations: 12 kB / 0.4973 GB, free: 2.434 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.433e-05/0.1181, allocations: 96.95 kB / 0.4974 GB, free: 2.32 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.774e-05/0.1182, allocations: 0 / 0.4974 GB, free: 2.32 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001092/0.1183, allocations: 11.92 kB / 0.4974 GB, free: 2.309 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.995e-05/0.1183, allocations: 4 kB / 0.4974 GB, free: 2.305 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002998/0.1186, allocations: 180.8 kB / 0.4976 GB, free: 2.121 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003309/0.119, allocations: 274.7 kB / 0.4979 GB, free: 1.836 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00011/0.1191, allocations: 31.97 kB / 0.4979 GB, free: 1.805 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001521/0.1193, allocations: 182 kB / 0.4981 GB, free: 1.629 MB / 382.1 MB Notification: Performance of Backend: time 3.81e-07/0.1193, allocations: 4 kB / 0.4981 GB, free: 1.625 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008198/0.1201, allocations: 287.9 kB / 0.4984 GB, free: 1.324 MB / 382.1 MB Notification: Performance of SimCode: time 0.000858/0.121, allocations: 0.873 MB / 0.4992 GB, free: 396 kB / 382.1 MB Notification: Performance of Templates: time 0.007861/0.1288, allocations: 3.978 MB / 0.5031 GB, free: 12.41 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