Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.003951/0.00395, allocations: 371.3 kB / 15.97 MB, free: 6.195 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 4.039/4.039, allocations: 388.9 MB / 405.6 MB, free: 9.656 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003476/0.003476, allocations: 226.5 kB / 451 MB, free: 145 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.6365/0.6365, allocations: 80.02 MB / 0.5627 GB, free: 19.77 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007135/0.0007139, allocations: 18.64 kB / 0.6265 GB, free: 96.52 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1332/0.134, allocations: 54.87 MB / 0.6801 GB, free: 41.64 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube): time 0.003451/0.1375, allocations: 1.757 MB / 0.6818 GB, free: 39.86 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002981/0.1405, allocations: 1.284 MB / 0.6831 GB, free: 38.57 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001513/0.1407, allocations: 0 / 0.6831 GB, free: 38.57 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004431/0.1412, allocations: 75.56 kB / 0.6832 GB, free: 38.5 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002649/0.1415, allocations: 63.48 kB / 0.6832 GB, free: 38.43 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008587/0.1423, allocations: 155.4 kB / 0.6834 GB, free: 38.28 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002691/0.1426, allocations: 163 kB / 0.6835 GB, free: 38.12 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.171e-05/0.1428, allocations: 12.31 kB / 0.6835 GB, free: 38.11 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00017/0.1429, allocations: 51.67 kB / 0.6836 GB, free: 38.06 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001439/0.1431, allocations: 63.58 kB / 0.6836 GB, free: 38 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.779e-05/0.1432, allocations: 4 kB / 0.6837 GB, free: 37.99 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001142/0.1443, allocations: 403.4 kB / 0.684 GB, free: 37.6 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.428e-05/0.1444, allocations: 19.86 kB / 0.6841 GB, free: 37.58 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 6.691e-05/0.1445, allocations: 57.56 kB / 0.6841 GB, free: 37.52 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005337/0.1451, allocations: 235.4 kB / 0.6843 GB, free: 37.29 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.1451, allocations: 0 / 0.6843 GB, free: 37.29 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.305e-06/0.1451, allocations: 0 / 0.6843 GB, free: 37.29 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.282e-06/0.1451, allocations: 0 / 0.6843 GB, free: 37.29 MB / 346.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.0008452/0.146, allocations: 485.8 kB / 0.6848 GB, free: 36.77 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.274e-05/0.146, allocations: 8.031 kB / 0.6848 GB, free: 36.76 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.858e-05/0.1461, allocations: 23.72 kB / 0.6848 GB, free: 36.73 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000248/0.1464, allocations: 206.7 kB / 0.685 GB, free: 36.49 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.493e-05/0.1464, allocations: 12 kB / 0.685 GB, free: 36.48 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.694e-05/0.1465, allocations: 23.98 kB / 0.6851 GB, free: 36.46 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006791/0.1472, allocations: 201.7 kB / 0.6853 GB, free: 36.25 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.937e-05/0.1472, allocations: 4 kB / 0.6853 GB, free: 36.25 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.131e-05/0.1473, allocations: 11.94 kB / 0.6853 GB, free: 36.24 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.53e-05/0.1473, allocations: 7.953 kB / 0.6853 GB, free: 36.23 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006558/0.148, allocations: 160.2 kB / 0.6854 GB, free: 36.07 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001399/0.1494, allocations: 0.5752 MB / 0.686 GB, free: 35.45 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003807/0.1498, allocations: 62.55 kB / 0.686 GB, free: 35.38 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002536/0.1501, allocations: 36.94 kB / 0.6861 GB, free: 35.34 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.882e-05/0.1502, allocations: 0 / 0.6861 GB, free: 35.34 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.346e-05/0.1502, allocations: 42.56 kB / 0.6861 GB, free: 35.29 MB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 3.306e-06/0.1502, allocations: 0 / 0.6861 GB, free: 35.29 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0009388/0.1512, allocations: 153.2 kB / 0.6863 GB, free: 35.13 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.955e-05/0.1512, allocations: 55.39 kB / 0.6863 GB, free: 35.07 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004131/0.1517, allocations: 258.7 kB / 0.6866 GB, free: 34.81 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.986e-05/0.1517, allocations: 25.7 kB / 0.6866 GB, free: 34.78 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001381/0.1519, allocations: 167.5 kB / 0.6868 GB, free: 34.61 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.785e-05/0.1519, allocations: 15.8 kB / 0.6868 GB, free: 34.59 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.602e-05/0.152, allocations: 11.94 kB / 0.6868 GB, free: 34.58 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.248e-05/0.1521, allocations: 326.8 kB / 0.6871 GB, free: 34.25 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002826/0.1524, allocations: 39.97 kB / 0.6871 GB, free: 34.21 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003482/0.1528, allocations: 140.8 kB / 0.6873 GB, free: 34.03 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003291/0.1531, allocations: 59.97 kB / 0.6873 GB, free: 33.97 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.422e-06/0.1531, allocations: 0 / 0.6873 GB, free: 33.97 MB / 346.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0008809/0.154, allocations: 213 kB / 0.6875 GB, free: 33.76 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.636e-05/0.1541, allocations: 4.438 kB / 0.6875 GB, free: 33.75 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.604e-05/0.1541, allocations: 19.94 kB / 0.6875 GB, free: 33.73 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.019e-05/0.1542, allocations: 7.953 kB / 0.6876 GB, free: 33.73 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002776/0.1545, allocations: 31.98 kB / 0.6876 GB, free: 33.7 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.644e-05/0.1545, allocations: 11.92 kB / 0.6876 GB, free: 33.68 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003274/0.1549, allocations: 31.69 kB / 0.6876 GB, free: 33.65 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.684e-05/0.1549, allocations: 12 kB / 0.6876 GB, free: 33.64 MB / 346.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.0001756/0.1551, allocations: 130.6 kB / 0.6878 GB, free: 33.5 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.71e-05/0.1552, allocations: 23.94 kB / 0.6878 GB, free: 33.48 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007981/0.156, allocations: 154.8 kB / 0.6879 GB, free: 33.32 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.551e-06/0.1561, allocations: 0 / 0.6879 GB, free: 33.32 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.639e-05/0.1561, allocations: 11.95 kB / 0.6879 GB, free: 33.31 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.006e-05/0.1562, allocations: 92.91 kB / 0.688 GB, free: 33.2 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.053e-05/0.1563, allocations: 0 / 0.688 GB, free: 33.2 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002347/0.1565, allocations: 12 kB / 0.688 GB, free: 33.19 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.8e-05/0.1566, allocations: 7.984 kB / 0.6881 GB, free: 33.18 MB / 346.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005343/0.1571, allocations: 184.9 kB / 0.6882 GB, free: 33 MB / 346.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0006521/0.1578, allocations: 290.5 kB / 0.6885 GB, free: 32.7 MB / 346.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002319/0.1581, allocations: 39.97 kB / 0.6885 GB, free: 32.66 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002712/0.1584, allocations: 178 kB / 0.6887 GB, free: 32.48 MB / 346.7 MB Notification: Performance of Backend: time 1.022e-06/0.1584, allocations: 4 kB / 0.6887 GB, free: 32.48 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00209/0.1605, allocations: 294.5 kB / 0.689 GB, free: 32.18 MB / 346.7 MB Notification: Performance of SimCode: time 0.001287/0.1618, allocations: 0.9278 MB / 0.6899 GB, free: 31.19 MB / 346.7 MB Notification: Performance of Templates: time 0.01434/0.1762, allocations: 3.676 MB / 0.6935 GB, free: 27.55 MB / 346.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