Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Re|m_flow.1.|m_flow.2.|m_flow.3.|m_flow.4.|Nu.1.|Nu.2.|Nu.3.|Nu.4.|input_Re.y",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.00385/0.003855, allocations: 350 kB / 15.95 MB, free: 6.215 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 3.576/3.576, allocations: 341.5 MB / 358.2 MB, free: 12.64 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.003432/0.003432, allocations: 233.1 kB / 397.9 MB, free: 4.977 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.499/0.499, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006465/0.0006469, allocations: 16 kB / 0.5592 GB, free: 53.45 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08467/0.08536, allocations: 48.71 MB / 0.6068 GB, free: 4.633 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube): time 0.003002/0.08842, allocations: 2.231 MB / 0.6089 GB, free: 2.383 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.2986/0.3871, allocations: 1.602 MB / 0.6105 GB, free: 88.64 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003818/0.3875, allocations: 1.188 kB / 0.6105 GB, free: 88.64 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006192/0.3882, allocations: 95.08 kB / 0.6106 GB, free: 88.64 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006292/0.3889, allocations: 98.34 kB / 0.6107 GB, free: 88.64 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002162/0.391, allocations: 270.9 kB / 0.6109 GB, free: 88.6 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007757/0.3919, allocations: 259.6 kB / 0.6112 GB, free: 88.49 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001884/0.3921, allocations: 22.14 kB / 0.6112 GB, free: 88.49 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002732/0.3924, allocations: 86.3 kB / 0.6113 GB, free: 88.46 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003176/0.3927, allocations: 106.6 kB / 0.6114 GB, free: 88.42 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 5.653e-05/0.3928, allocations: 6.75 kB / 0.6114 GB, free: 88.42 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003249/0.3961, allocations: 0.7202 MB / 0.6121 GB, free: 88.41 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001697/0.3963, allocations: 43.14 kB / 0.6122 GB, free: 88.39 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002092/0.3965, allocations: 73.61 kB / 0.6122 GB, free: 88.35 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001616/0.3982, allocations: 399.2 kB / 0.6126 GB, free: 88.3 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.074e-06/0.3982, allocations: 0 / 0.6126 GB, free: 88.3 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.727e-06/0.3983, allocations: 0.6094 kB / 0.6126 GB, free: 88.3 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.046e-05/0.3983, allocations: 0 / 0.6126 GB, free: 88.3 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.001535/0.3998, allocations: 0.5891 MB / 0.6132 GB, free: 87.83 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.937e-05/0.3999, allocations: 10.28 kB / 0.6132 GB, free: 87.83 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001585/0.4001, allocations: 37.84 kB / 0.6132 GB, free: 87.81 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004812/0.4006, allocations: 241.6 kB / 0.6135 GB, free: 87.58 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.13e-05/0.4007, allocations: 26.91 kB / 0.6135 GB, free: 87.58 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.319e-05/0.4008, allocations: 32.84 kB / 0.6135 GB, free: 87.58 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001263/0.4021, allocations: 368.2 kB / 0.6139 GB, free: 87.54 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.009e-05/0.4021, allocations: 0 / 0.6139 GB, free: 87.54 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.393e-05/0.4022, allocations: 15.92 kB / 0.6139 GB, free: 87.54 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.528e-05/0.4022, allocations: 9.781 kB / 0.6139 GB, free: 87.54 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001114/0.4034, allocations: 272.2 kB / 0.6141 GB, free: 87.54 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002864/0.4063, allocations: 0.8792 MB / 0.615 GB, free: 87.16 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005879/0.4069, allocations: 99.77 kB / 0.6151 GB, free: 87.14 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003299/0.4073, allocations: 48.86 kB / 0.6151 GB, free: 87.13 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.89e-05/0.4074, allocations: 10.19 kB / 0.6152 GB, free: 87.12 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.693e-05/0.4075, allocations: 42.03 kB / 0.6152 GB, free: 87.09 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 5.01e-06/0.4075, allocations: 1.969 kB / 0.6152 GB, free: 87.09 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.001363/0.4089, allocations: 207.3 kB / 0.6154 GB, free: 87.03 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.164e-05/0.4089, allocations: 51.41 kB / 0.6154 GB, free: 86.97 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009352/0.4099, allocations: 398.2 kB / 0.6158 GB, free: 86.85 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.409e-05/0.41, allocations: 30.92 kB / 0.6159 GB, free: 86.82 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002678/0.4103, allocations: 240.5 kB / 0.6161 GB, free: 86.68 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.513e-05/0.4104, allocations: 40.7 kB / 0.6161 GB, free: 86.66 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.551e-05/0.4104, allocations: 5.062 kB / 0.6161 GB, free: 86.66 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001289/0.4106, allocations: 347.3 kB / 0.6165 GB, free: 86.34 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004445/0.411, allocations: 65.39 kB / 0.6165 GB, free: 86.34 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005347/0.4116, allocations: 251.1 kB / 0.6168 GB, free: 86.1 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005118/0.4121, allocations: 100.7 kB / 0.6169 GB, free: 86.1 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.147e-05/0.4122, allocations: 2.094 kB / 0.6169 GB, free: 86.1 MB / 362.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001456/0.4136, allocations: 360.1 kB / 0.6172 GB, free: 86 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.682e-05/0.4137, allocations: 7.25 kB / 0.6172 GB, free: 86 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001054/0.4138, allocations: 27.97 kB / 0.6172 GB, free: 86 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.344e-05/0.4139, allocations: 9.516 kB / 0.6172 GB, free: 86 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004291/0.4143, allocations: 60.28 kB / 0.6173 GB, free: 86 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.726e-05/0.4144, allocations: 16.05 kB / 0.6173 GB, free: 85.99 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006847/0.4151, allocations: 63.94 kB / 0.6174 GB, free: 85.96 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.907e-05/0.4152, allocations: 24.06 kB / 0.6174 GB, free: 85.96 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 5 (m_flow_IN_con_4.N,m_flow_IN_con_4.geometry,m_flow_IN_con_3.geometry,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 (34): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.0003082/0.4155, allocations: 153.1 kB / 0.6175 GB, free: 85.84 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001924/0.4157, allocations: 39.59 kB / 0.6176 GB, free: 85.81 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001311/0.4171, allocations: 218.8 kB / 0.6178 GB, free: 85.77 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.358e-06/0.4171, allocations: 1.406 kB / 0.6178 GB, free: 85.77 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.701e-05/0.4172, allocations: 19.73 kB / 0.6178 GB, free: 85.77 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002486/0.4175, allocations: 112.9 kB / 0.6179 GB, free: 85.65 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001267/0.4176, allocations: 1.156 kB / 0.6179 GB, free: 85.65 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003704/0.418, allocations: 11.83 kB / 0.6179 GB, free: 85.65 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.945e-05/0.4182, allocations: 13.3 kB / 0.6179 GB, free: 85.65 MB / 362.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009128/0.4191, allocations: 211.2 kB / 0.6181 GB, free: 85.54 MB / 362.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001046/0.4202, allocations: 341.3 kB / 0.6185 GB, free: 85.32 MB / 362.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003646/0.4206, allocations: 43.94 kB / 0.6185 GB, free: 85.32 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0006433/0.4213, allocations: 271.8 kB / 0.6188 GB, free: 85.23 MB / 362.7 MB Notification: Performance of Backend: time 1.573e-06/0.4213, allocations: 0 / 0.6188 GB, free: 85.23 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.003132/0.4245, allocations: 445.5 kB / 0.6192 GB, free: 85.02 MB / 362.7 MB Notification: Performance of SimCode: time 0.002628/0.4271, allocations: 1.201 MB / 0.6204 GB, free: 84.09 MB / 362.7 MB Notification: Performance of Templates: time 0.03153/0.4588, allocations: 7.183 MB / 0.6274 GB, free: 83.27 MB / 362.7 MB "Warning: Resultfile and Reference have different end time points! Reffile[5003]=1.010000 File[9905]=2.000002 " Variables in the reference:time,Re,m_flow[1],m_flow[2],m_flow[3],m_flow[4],Nu[1],Nu[2],Nu[3],Nu[4],input_Re.y Variables in the result:A_fr,D_c_1,D_c_2,D_c_3,D_c_4,F_p_1,F_p_2,F_p_3,F_p_4,L_2,L_h_2,L_p_2,N_1,N_2,N_3,N_4,Nu[1],Nu[2],Nu[3],Nu[4],P_l_1,P_l_2,P_l_3,P_l_4,P_t_1,P_t_2,P_t_3,P_t_4,Re,S_h_3,S_p_3,cp,delta_f,delta_f_3,eta,input_Re.duration,input_Re.height,input_Re.offset,input_Re.startTime,input_Re.y,lambda,m_flow[1],m_flow[2],m_flow[3],m_flow[4],m_flow_IN_con_1.A_fr,m_flow_IN_con_1.D_c,m_flow_IN_con_1.F_p,m_flow_IN_con_1.N,m_flow_IN_con_1.P_l,m_flow_IN_con_1.P_t,m_flow_IN_con_1.delta_f,m_flow_IN_con_2.A_fr,m_flow_IN_con_2.D_c,m_flow_IN_con_2.F_p,m_flow_IN_con_2.L,m_flow_IN_con_2.L_h,m_flow_IN_con_2.L_p,m_flow_IN_con_2.N,m_flow_IN_con_2.P_l,m_flow_IN_con_2.P_t,m_flow_IN_con_2.delta_f,m_flow_IN_con_3.A_fr,m_flow_IN_con_3.D_c,m_flow_IN_con_3.F_p,m_flow_IN_con_3.N,m_flow_IN_con_3.P_l,m_flow_IN_con_3.P_t,m_flow_IN_con_3.S_h,m_flow_IN_con_3.S_p,m_flow_IN_con_3.delta_f,m_flow_IN_con_4.A_fr,m_flow_IN_con_4.D_c,m_flow_IN_con_4.F_p,m_flow_IN_con_4.P_t,m_flow_IN_con_4.delta_f,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,m_flow_IN_var_3.cp,m_flow_IN_var_3.eta,m_flow_IN_var_3.lambda,m_flow_IN_var_3.rho,m_flow_IN_var_4.cp,m_flow_IN_var_4.eta,m_flow_IN_var_4.lambda,m_flow_IN_var_4.rho,n,rho,time