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_roundTube.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_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.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.003905/0.003911, allocations: 371.5 kB / 15.97 MB, free: 6.199 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.191/4.191, allocations: 388.9 MB / 405.6 MB, free: 9.652 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.003557/0.003557, allocations: 222.2 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.6958/0.6958, allocations: 80.03 MB / 0.5627 GB, free: 19.77 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004608/0.000461, allocations: 12.91 kB / 0.6265 GB, free: 96.53 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1199/0.1204, allocations: 54.88 MB / 0.6801 GB, free: 41.65 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube): time 0.004339/0.1248, allocations: 2.228 MB / 0.6823 GB, free: 39.4 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.004686/0.1296, allocations: 1.657 MB / 0.6839 GB, free: 37.73 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004193/0.1301, allocations: 4 kB / 0.6839 GB, free: 37.73 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005722/0.1307, allocations: 83.42 kB / 0.684 GB, free: 37.65 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005219/0.1312, allocations: 103.1 kB / 0.6841 GB, free: 37.55 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001597/0.1329, allocations: 275 kB / 0.6844 GB, free: 37.28 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000558/0.1334, allocations: 258.2 kB / 0.6846 GB, free: 37.02 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001321/0.1336, allocations: 28.72 kB / 0.6846 GB, free: 37 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001496/0.1338, allocations: 87.41 kB / 0.6847 GB, free: 36.91 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002143/0.134, allocations: 107.3 kB / 0.6848 GB, free: 36.8 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 4.343e-05/0.1341, allocations: 8 kB / 0.6848 GB, free: 36.8 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002236/0.1363, allocations: 0.7255 MB / 0.6855 GB, free: 36.07 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001555/0.1365, allocations: 43.66 kB / 0.6856 GB, free: 36.03 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001522/0.1367, allocations: 73.52 kB / 0.6856 GB, free: 35.95 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009994/0.1377, allocations: 395 kB / 0.686 GB, free: 35.56 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.296e-06/0.1377, allocations: 0 / 0.686 GB, free: 35.56 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.805e-06/0.1378, allocations: 4 kB / 0.686 GB, free: 35.56 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.648e-06/0.1378, allocations: 4 kB / 0.686 GB, free: 35.55 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.001238/0.139, allocations: 0.5848 MB / 0.6866 GB, free: 34.92 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.318e-05/0.1391, allocations: 8.031 kB / 0.6866 GB, free: 34.91 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001197/0.1393, allocations: 39.53 kB / 0.6866 GB, free: 34.88 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003814/0.1397, allocations: 234.5 kB / 0.6869 GB, free: 34.61 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.056e-05/0.1397, allocations: 25 kB / 0.6869 GB, free: 34.58 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.831e-05/0.1398, allocations: 36 kB / 0.6869 GB, free: 34.55 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001059/0.1409, allocations: 370.4 kB / 0.6873 GB, free: 34.18 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.592e-05/0.141, allocations: 3.953 kB / 0.6873 GB, free: 34.18 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.912e-05/0.141, allocations: 20 kB / 0.6873 GB, free: 34.16 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.962e-05/0.1411, allocations: 8 kB / 0.6873 GB, free: 34.15 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009458/0.142, allocations: 275.9 kB / 0.6876 GB, free: 33.88 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002401/0.1445, allocations: 0.8767 MB / 0.6884 GB, free: 32.95 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005063/0.145, allocations: 94.55 kB / 0.6885 GB, free: 32.84 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003159/0.1454, allocations: 52.83 kB / 0.6886 GB, free: 32.79 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.796e-05/0.1455, allocations: 0 / 0.6886 GB, free: 32.79 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.408e-05/0.1455, allocations: 42.55 kB / 0.6886 GB, free: 32.74 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 3.867e-06/0.1455, allocations: 0 / 0.6886 GB, free: 32.74 MB / 346.7 MB Notification: Performance of matching and sorting (n=9): time 0.001223/0.1468, allocations: 201.2 kB / 0.6888 GB, free: 32.54 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.095e-05/0.1468, allocations: 63.36 kB / 0.6889 GB, free: 32.46 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007583/0.1476, allocations: 393.8 kB / 0.6892 GB, free: 32.07 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.113e-05/0.1477, allocations: 29.69 kB / 0.6893 GB, free: 32.04 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002525/0.1479, allocations: 251 kB / 0.6895 GB, free: 31.79 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.148e-05/0.148, allocations: 35.55 kB / 0.6895 GB, free: 31.75 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.79e-05/0.1481, allocations: 4 kB / 0.6895 GB, free: 31.75 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001164/0.1482, allocations: 350.7 kB / 0.6899 GB, free: 31.39 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004108/0.1486, allocations: 64.25 kB / 0.6899 GB, free: 31.33 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005147/0.1492, allocations: 244.2 kB / 0.6902 GB, free: 31 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004868/0.1497, allocations: 103.8 kB / 0.6903 GB, free: 30.9 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.079e-05/0.1497, allocations: 4 kB / 0.6903 GB, free: 30.9 MB / 346.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001395/0.1511, allocations: 353.2 kB / 0.6906 GB, free: 30.55 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.258e-05/0.1512, allocations: 8 kB / 0.6906 GB, free: 30.54 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.712e-05/0.1513, allocations: 28 kB / 0.6907 GB, free: 30.51 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.498e-05/0.1513, allocations: 8 kB / 0.6907 GB, free: 30.5 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004407/0.1518, allocations: 67.84 kB / 0.6907 GB, free: 30.44 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.75e-05/0.1518, allocations: 15.92 kB / 0.6907 GB, free: 30.42 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006549/0.1525, allocations: 63.31 kB / 0.6908 GB, free: 30.36 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.283e-05/0.1526, allocations: 24.41 kB / 0.6908 GB, free: 30.34 MB / 346.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.0002561/0.1529, allocations: 150.5 kB / 0.691 GB, free: 30.18 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001081/0.153, allocations: 39.47 kB / 0.691 GB, free: 30.14 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001182/0.1542, allocations: 220.6 kB / 0.6912 GB, free: 29.92 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.416e-06/0.1542, allocations: 0 / 0.6912 GB, free: 29.92 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.068e-05/0.1543, allocations: 27.98 kB / 0.6912 GB, free: 29.89 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001868/0.1545, allocations: 112.6 kB / 0.6913 GB, free: 29.76 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001683/0.1547, allocations: 3.953 kB / 0.6914 GB, free: 29.76 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002655/0.155, allocations: 7.984 kB / 0.6914 GB, free: 29.75 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.608e-05/0.1551, allocations: 12 kB / 0.6914 GB, free: 29.74 MB / 346.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005728/0.1557, allocations: 216.8 kB / 0.6916 GB, free: 29.52 MB / 346.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.000571/0.1563, allocations: 334.3 kB / 0.6919 GB, free: 29.18 MB / 346.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000225/0.1565, allocations: 43.97 kB / 0.6919 GB, free: 29.13 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000345/0.1569, allocations: 275.1 kB / 0.6922 GB, free: 28.86 MB / 346.7 MB Notification: Performance of Backend: time 1.112e-06/0.1569, allocations: 0 / 0.6922 GB, free: 28.86 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002353/0.1592, allocations: 462.4 kB / 0.6926 GB, free: 28.38 MB / 346.7 MB Notification: Performance of SimCode: time 0.001884/0.1612, allocations: 1.196 MB / 0.6938 GB, free: 27.12 MB / 346.7 MB Notification: Performance of Templates: time 0.02007/0.1813, allocations: 7.269 MB / 0.7009 GB, free: 19.9 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],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