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_flatTube.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_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.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002595/0.002595, allocations: 353.7 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.577/3.577, 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.003474/0.003474, allocations: 225.1 kB / 397.9 MB, free: 4.984 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.4735/0.4735, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004776/0.0004779, allocations: 11.98 kB / 0.5592 GB, free: 53.45 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08606/0.08658, allocations: 48.71 MB / 0.6068 GB, free: 4.637 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube): time 0.002576/0.08921, allocations: 1.75 MB / 0.6085 GB, free: 2.871 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.002216/0.09149, allocations: 1.283 MB / 0.6097 GB, free: 1.586 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001802/0.09173, allocations: 0 / 0.6097 GB, free: 1.586 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003729/0.09212, allocations: 75.52 kB / 0.6098 GB, free: 1.512 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002012/0.09234, allocations: 51.55 kB / 0.6098 GB, free: 1.461 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.2812/0.3736, allocations: 171.4 kB / 0.61 GB, free: 88.62 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002933/0.3739, allocations: 147.7 kB / 0.6101 GB, free: 88.62 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.002e-05/0.374, allocations: 18.06 kB / 0.6102 GB, free: 88.62 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001633/0.3742, allocations: 52.97 kB / 0.6102 GB, free: 88.62 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001267/0.3743, allocations: 61.92 kB / 0.6103 GB, free: 88.62 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.467e-05/0.3743, allocations: 3.625 kB / 0.6103 GB, free: 88.62 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00103/0.3754, allocations: 400.7 kB / 0.6107 GB, free: 88.62 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.309e-05/0.3755, allocations: 30.03 kB / 0.6107 GB, free: 88.62 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 6.792e-05/0.3755, allocations: 47.89 kB / 0.6107 GB, free: 88.58 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005065/0.3761, allocations: 232.2 kB / 0.611 GB, free: 88.57 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.3761, allocations: 0.5625 kB / 0.611 GB, free: 88.57 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.414e-06/0.3761, allocations: 1.031 kB / 0.611 GB, free: 88.57 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.651e-06/0.3761, allocations: 0 / 0.611 GB, free: 88.57 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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0007236/0.3768, allocations: 486.1 kB / 0.6114 GB, free: 88.15 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.685e-05/0.3769, allocations: 8.562 kB / 0.6114 GB, free: 88.15 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.231e-05/0.377, allocations: 21.41 kB / 0.6115 GB, free: 88.14 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002109/0.3772, allocations: 207 kB / 0.6116 GB, free: 87.93 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.725e-05/0.3772, allocations: 13.88 kB / 0.6117 GB, free: 87.93 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.607e-05/0.3773, allocations: 20.75 kB / 0.6117 GB, free: 87.93 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005628/0.3779, allocations: 207.9 kB / 0.6119 GB, free: 87.89 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.379e-05/0.3779, allocations: 3.969 kB / 0.6119 GB, free: 87.89 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.488e-05/0.3779, allocations: 12.47 kB / 0.6119 GB, free: 87.89 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.188e-05/0.3779, allocations: 4.688 kB / 0.6119 GB, free: 87.89 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005102/0.3785, allocations: 153.5 kB / 0.612 GB, free: 87.89 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001195/0.3797, allocations: 0.5745 MB / 0.6126 GB, free: 87.57 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002988/0.38, allocations: 68.92 kB / 0.6127 GB, free: 87.54 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001883/0.3802, allocations: 34.56 kB / 0.6127 GB, free: 87.54 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.971e-05/0.3803, allocations: 1.75 kB / 0.6127 GB, free: 87.54 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.455e-05/0.3803, allocations: 36.28 kB / 0.6127 GB, free: 87.49 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 2.936e-06/0.3803, allocations: 0.9062 kB / 0.6127 GB, free: 87.49 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.000742/0.3811, allocations: 149.5 kB / 0.6129 GB, free: 87.45 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.534e-05/0.3811, allocations: 52.11 kB / 0.6129 GB, free: 87.39 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003771/0.3815, allocations: 256.1 kB / 0.6132 GB, free: 87.29 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.734e-05/0.3815, allocations: 26.27 kB / 0.6132 GB, free: 87.25 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001384/0.3817, allocations: 165.5 kB / 0.6134 GB, free: 87.14 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.934e-05/0.3817, allocations: 22.16 kB / 0.6134 GB, free: 87.13 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.125e-05/0.3817, allocations: 1.125 kB / 0.6134 GB, free: 87.13 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.307e-05/0.3818, allocations: 336.8 kB / 0.6137 GB, free: 86.82 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002138/0.382, allocations: 47.86 kB / 0.6138 GB, free: 86.81 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002657/0.3823, allocations: 138.2 kB / 0.6139 GB, free: 86.69 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002532/0.3826, allocations: 59.66 kB / 0.6139 GB, free: 86.68 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.181e-06/0.3826, allocations: 4.094 kB / 0.6139 GB, free: 86.68 MB / 362.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000719/0.3833, allocations: 207.4 kB / 0.6141 GB, free: 86.62 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.269e-05/0.3834, allocations: 5.844 kB / 0.6141 GB, free: 86.62 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-05/0.3834, allocations: 15.45 kB / 0.6142 GB, free: 86.62 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.593e-05/0.3835, allocations: 4.094 kB / 0.6142 GB, free: 86.62 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002206/0.3837, allocations: 35.69 kB / 0.6142 GB, free: 86.62 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.751e-05/0.3837, allocations: 8.844 kB / 0.6142 GB, free: 86.62 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002479/0.384, allocations: 38.17 kB / 0.6142 GB, free: 86.6 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.09e-05/0.384, allocations: 11.12 kB / 0.6143 GB, free: 86.6 MB / 362.7 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.0001507/0.3842, allocations: 134.3 kB / 0.6144 GB, free: 86.48 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.363e-05/0.3843, allocations: 15.81 kB / 0.6144 GB, free: 86.47 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006177/0.3849, allocations: 152.6 kB / 0.6145 GB, free: 86.44 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.3849, allocations: 6.547 kB / 0.6146 GB, free: 86.44 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.241e-05/0.385, allocations: 9.234 kB / 0.6146 GB, free: 86.44 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.637e-05/0.385, allocations: 91.33 kB / 0.6146 GB, free: 86.34 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.228e-05/0.3851, allocations: 0.9688 kB / 0.6146 GB, free: 86.34 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000176/0.3853, allocations: 8.703 kB / 0.6147 GB, free: 86.34 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.905e-05/0.3854, allocations: 12.83 kB / 0.6147 GB, free: 86.33 MB / 362.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000511/0.3859, allocations: 188 kB / 0.6148 GB, free: 86.22 MB / 362.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0005045/0.3864, allocations: 289.2 kB / 0.6151 GB, free: 86.01 MB / 362.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002077/0.3866, allocations: 38.67 kB / 0.6152 GB, free: 86.01 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002601/0.3869, allocations: 179 kB / 0.6153 GB, free: 85.93 MB / 362.7 MB Notification: Performance of Backend: time 4.71e-07/0.3869, allocations: 1.031 kB / 0.6153 GB, free: 85.93 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001413/0.3883, allocations: 301.9 kB / 0.6156 GB, free: 85.78 MB / 362.7 MB Notification: Performance of SimCode: time 0.00112/0.3895, allocations: 0.9256 MB / 0.6165 GB, free: 85 MB / 362.7 MB Notification: Performance of Templates: time 0.01274/0.4023, allocations: 3.681 MB / 0.6201 GB, free: 84.84 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],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