Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/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_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube") Notification: Performance of loadModel(ModelicaTest): time 2.339/2.339, allocations: 234.9 MB / 250.5 MB, free: 9.559 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004371/0.0004373, allocations: 12 kB / 314.3 MB, free: 9.582 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.278/0.2785, allocations: 54.87 MB / 369.2 MB, free: 10.73 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube): time 0.003199/0.2818, allocations: 2.126 MB / 371.3 MB, free: 8.574 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002891/0.2847, allocations: 1.6 MB / 372.9 MB, free: 6.969 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001216/0.2848, allocations: 0 / 372.9 MB, free: 6.969 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000322/0.2852, allocations: 95.45 kB / 373 MB, free: 6.875 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002657/0.2855, allocations: 119.6 kB / 373.1 MB, free: 6.758 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008358/0.2863, allocations: 279.2 kB / 373.4 MB, free: 6.484 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002981/0.2866, allocations: 203.5 kB / 373.6 MB, free: 6.285 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.786e-05/0.2867, allocations: 24.73 kB / 373.6 MB, free: 6.262 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001305/0.2869, allocations: 91.5 kB / 373.7 MB, free: 6.172 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001455/0.287, allocations: 95.39 kB / 373.8 MB, free: 6.078 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.877e-05/0.2871, allocations: 8 kB / 373.8 MB, free: 6.07 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001425/0.2885, allocations: 0.7451 MB / 374.6 MB, free: 5.324 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.813e-05/0.2886, allocations: 43.75 kB / 374.6 MB, free: 5.281 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.642e-05/0.2887, allocations: 73.52 kB / 374.7 MB, free: 5.203 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007087/0.2894, allocations: 419 kB / 375.1 MB, free: 4.793 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.2894, allocations: 4 kB / 375.1 MB, free: 4.789 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.128e-06/0.2894, allocations: 3.938 kB / 375.1 MB, free: 4.785 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.341e-06/0.2894, allocations: 0 / 375.1 MB, free: 4.785 MB / 298.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.0008968/0.2904, allocations: 0.581 MB / 375.7 MB, free: 4.156 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.2904, allocations: 12.03 kB / 375.7 MB, free: 4.145 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.931e-05/0.2905, allocations: 35.53 kB / 375.7 MB, free: 4.109 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000331/0.2908, allocations: 250.3 kB / 376 MB, free: 3.824 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.577e-05/0.2909, allocations: 29 kB / 376 MB, free: 3.797 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.231e-05/0.291, allocations: 32 kB / 376 MB, free: 3.766 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007271/0.2917, allocations: 366.5 kB / 376.4 MB, free: 3.398 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.695e-05/0.2917, allocations: 3.953 kB / 376.4 MB, free: 3.395 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.863e-05/0.2918, allocations: 12 kB / 376.4 MB, free: 3.383 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.75e-05/0.2918, allocations: 8 kB / 376.4 MB, free: 3.375 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000595/0.2924, allocations: 275.9 kB / 376.7 MB, free: 3.105 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001612/0.294, allocations: 0.8923 MB / 377.6 MB, free: 2.156 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003169/0.2944, allocations: 94.47 kB / 377.7 MB, free: 2.055 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.574e-05/0.2944, allocations: 7.984 kB / 377.7 MB, free: 2.047 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.61e-05/0.2945, allocations: 38.62 kB / 377.7 MB, free: 2 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 2.553e-06/0.2945, allocations: 0 / 377.7 MB, free: 2 MB / 298.7 MB Notification: Performance of matching and sorting (n=9): time 0.0009437/0.2954, allocations: 0.5096 MB / 378.2 MB, free: 1.41 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.72e-05/0.2955, allocations: 55.36 kB / 378.3 MB, free: 1.344 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005608/0.2961, allocations: 401.8 kB / 378.7 MB, free: 0.9453 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.594e-05/0.2961, allocations: 29.7 kB / 378.7 MB, free: 0.9102 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002269/0.2964, allocations: 293.5 kB / 379 MB, free: 0.6211 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.416e-05/0.2964, allocations: 31.55 kB / 379 MB, free: 0.5898 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.72e-05/0.2964, allocations: 4 kB / 379 MB, free: 0.5859 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001721/0.2966, allocations: 326.8 kB / 379.3 MB, free: 264 kB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002365/0.2969, allocations: 60.23 kB / 379.4 MB, free: 204 kB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004019/0.2973, allocations: 257.9 kB / 379.7 MB, free: 15.86 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003113/0.2976, allocations: 111.8 kB / 379.8 MB, free: 15.75 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.133e-05/0.2977, allocations: 4 kB / 379.8 MB, free: 15.74 MB / 314.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0008753/0.2985, allocations: 325.6 kB / 380.1 MB, free: 15.42 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.351e-05/0.2986, allocations: 8 kB / 380.1 MB, free: 15.41 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.417e-05/0.2987, allocations: 28.05 kB / 380.1 MB, free: 15.38 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.562e-05/0.2987, allocations: 12 kB / 380.1 MB, free: 15.37 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002701/0.299, allocations: 59.91 kB / 380.2 MB, free: 15.31 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.834e-05/0.299, allocations: 11.94 kB / 380.2 MB, free: 15.3 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003517/0.2994, allocations: 71.22 kB / 380.3 MB, free: 15.23 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.911e-05/0.2994, allocations: 16 kB / 380.3 MB, free: 15.21 MB / 314.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.0002043/0.2997, allocations: 150.9 kB / 380.4 MB, free: 15.06 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.592e-05/0.2998, allocations: 35.62 kB / 380.5 MB, free: 15.02 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007294/0.3005, allocations: 228.6 kB / 380.7 MB, free: 14.79 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.365e-06/0.3005, allocations: 0 / 380.7 MB, free: 14.79 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.943e-06/0.3005, allocations: 3.984 kB / 380.7 MB, free: 14.79 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.744e-06/0.3006, allocations: 4 kB / 380.7 MB, free: 14.79 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004557/0.301, allocations: 277.5 kB / 381 MB, free: 14.46 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.781e-05/0.3011, allocations: 16 kB / 381 MB, free: 14.45 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.88e-05/0.3012, allocations: 15.92 kB / 381 MB, free: 14.43 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.513e-06/0.3012, allocations: 0 / 381 MB, free: 14.43 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.813e-05/0.3012, allocations: 4 kB / 381 MB, free: 14.43 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.586e-06/0.3012, allocations: 0 / 381 MB, free: 14.43 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.983e-06/0.3013, allocations: 4 kB / 381 MB, free: 14.43 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005552/0.3018, allocations: 259 kB / 381.3 MB, free: 14.16 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001197/0.302, allocations: 112.6 kB / 381.4 MB, free: 14.03 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.859e-05/0.302, allocations: 11.98 kB / 381.4 MB, free: 14.02 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001864/0.3022, allocations: 4 kB / 381.4 MB, free: 14.01 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.816e-05/0.3023, allocations: 11.98 kB / 381.4 MB, free: 14 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.813e-05/0.3023, allocations: 7.938 kB / 381.4 MB, free: 13.99 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0003824/0.3027, allocations: 267.1 kB / 381.7 MB, free: 13.73 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.57e-07/0.3027, allocations: 0 / 381.7 MB, free: 13.73 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0007238/0.3035, allocations: 123.9 kB / 381.8 MB, free: 13.61 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 1 * 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 Backend phase and start with SimCode phase: time 0.0005148/0.304, allocations: 195.1 kB / 382 MB, free: 13.41 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0008632/0.3049, allocations: 324.1 kB / 382.3 MB, free: 13.07 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.3049, allocations: 0 / 382.3 MB, free: 13.07 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004423/0.3054, allocations: 191.1 kB / 382.5 MB, free: 12.86 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003758/0.3058, allocations: 41.44 kB / 382.5 MB, free: 12.82 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001225/0.307, allocations: 0.6461 MB / 383.2 MB, free: 12.14 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004863/0.3075, allocations: 0.7833 MB / 384 MB, free: 11.33 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.441e-05/0.3076, allocations: 23.44 kB / 384 MB, free: 11.31 MB / 314.7 MB Notification: Performance of SimCode: time 1.367e-06/0.3076, allocations: 0 / 384 MB, free: 11.31 MB / 314.7 MB Notification: Performance of Templates: time 0.01577/0.3234, allocations: 9.376 MB / 393.4 MB, free: 1.93 MB / 314.7 MB "Error: Could not read variable _derdummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_res.mat. Warning: Get data of variable _derdummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_res.mat failed! Error: Could not read variable _dummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_res.mat. Warning: Get data of variable _dummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_res.mat failed! " 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.L,m_flow_IN_con_1.L_h,m_flow_IN_con_1.L_p,m_flow_IN_con_1.N,m_flow_IN_con_1.P_d,m_flow_IN_con_1.P_l,m_flow_IN_con_1.P_t,m_flow_IN_con_1.S_h,m_flow_IN_con_1.S_p,m_flow_IN_con_1.X_f,m_flow_IN_con_1.delta_f,m_flow_IN_con_1.geometry,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_d,m_flow_IN_con_2.P_l,m_flow_IN_con_2.P_t,m_flow_IN_con_2.S_h,m_flow_IN_con_2.S_p,m_flow_IN_con_2.X_f,m_flow_IN_con_2.delta_f,m_flow_IN_con_2.geometry,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.L,m_flow_IN_con_3.L_h,m_flow_IN_con_3.L_p,m_flow_IN_con_3.N,m_flow_IN_con_3.P_d,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.X_f,m_flow_IN_con_3.delta_f,m_flow_IN_con_3.geometry,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.L,m_flow_IN_con_4.L_h,m_flow_IN_con_4.L_p,m_flow_IN_con_4.N,m_flow_IN_con_4.P_d,m_flow_IN_con_4.P_l,m_flow_IN_con_4.P_t,m_flow_IN_con_4.S_h,m_flow_IN_con_4.S_p,m_flow_IN_con_4.X_f,m_flow_IN_con_4.delta_f,m_flow_IN_con_4.geometry,m_flow_IN_var_1.cp,m_flow_IN_var_1.eta,m_flow_IN_var_1.lambda,m_flow_IN_var_1.m_flow,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.m_flow,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.m_flow,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.m_flow,m_flow_IN_var_4.rho,n,rho,time