Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.314/2.314, allocations: 234.9 MB / 251.1 MB, free: 9.551 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007384/0.0007386, allocations: 12 kB / 315 MB, free: 9.582 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3773/0.3781, allocations: 54.87 MB / 369.8 MB, free: 10.74 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1995/0.5776, allocations: 96.09 MB / 465.9 MB, free: 10.51 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00041/0.5781, allocations: 99.94 kB / 466 MB, free: 10.41 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3627/0.9408, allocations: 12.33 MB / 478.3 MB, free: 91.82 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.345e-06/0.9409, allocations: 3.688 kB / 478.3 MB, free: 91.82 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.996e-05/0.9409, allocations: 4.219 kB / 478.4 MB, free: 91.82 MB / 394.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.001157/0.9421, allocations: 0.6061 MB / 479 MB, free: 91.35 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.641e-05/0.9421, allocations: 8.984 kB / 479 MB, free: 91.35 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.772e-05/0.9422, allocations: 47.25 kB / 479 MB, free: 91.32 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003175/0.9426, allocations: 233.1 kB / 479.2 MB, free: 91.11 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.623e-05/0.9426, allocations: 32.69 kB / 479.3 MB, free: 91.11 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.436e-05/0.9427, allocations: 29.75 kB / 479.3 MB, free: 91.11 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008629/0.9435, allocations: 367.8 kB / 479.7 MB, free: 91.06 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.92e-05/0.9436, allocations: 0.5156 kB / 479.7 MB, free: 91.06 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.595e-05/0.9436, allocations: 14.84 kB / 479.7 MB, free: 91.06 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.748e-05/0.9437, allocations: 13.36 kB / 479.7 MB, free: 91.06 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007131/0.9444, allocations: 272.9 kB / 480 MB, free: 91.05 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001964/0.9464, allocations: 0.892 MB / 480.8 MB, free: 90.69 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003918/0.9468, allocations: 96.02 kB / 480.9 MB, free: 90.67 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.74e-05/0.9469, allocations: 5.078 kB / 480.9 MB, free: 90.67 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.691e-05/0.9469, allocations: 40.22 kB / 481 MB, free: 90.63 MB / 394.7 MB Notification: Performance of pre-optimization done (n=9): time 2.906e-06/0.9469, allocations: 0 / 481 MB, free: 90.63 MB / 394.7 MB Notification: Performance of matching and sorting (n=9): time 0.001045/0.948, allocations: 0.5055 MB / 481.5 MB, free: 90.2 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.171e-05/0.948, allocations: 53.17 kB / 481.5 MB, free: 90.14 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000594/0.9486, allocations: 402.3 kB / 481.9 MB, free: 90.02 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.522e-05/0.9487, allocations: 29.36 kB / 482 MB, free: 89.99 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001617/0.9488, allocations: 290 kB / 482.2 MB, free: 89.78 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.76e-05/0.9489, allocations: 32.05 kB / 482.3 MB, free: 89.77 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.942e-05/0.9489, allocations: 5.688 kB / 482.3 MB, free: 89.77 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.535e-05/0.949, allocations: 329.2 kB / 482.6 MB, free: 89.45 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003017/0.9493, allocations: 66.91 kB / 482.7 MB, free: 89.44 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004023/0.9497, allocations: 257 kB / 482.9 MB, free: 89.2 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004069/0.9502, allocations: 109.3 kB / 483 MB, free: 89.2 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.164e-06/0.9502, allocations: 1.469 kB / 483 MB, free: 89.2 MB / 394.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.000974/0.9512, allocations: 334.1 kB / 483.4 MB, free: 89.13 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.629e-05/0.9512, allocations: 8.062 kB / 483.4 MB, free: 89.13 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.55e-05/0.9513, allocations: 30.06 kB / 483.4 MB, free: 89.13 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.36e-05/0.9513, allocations: 10.41 kB / 483.4 MB, free: 89.13 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000314/0.9517, allocations: 55.52 kB / 483.5 MB, free: 89.12 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.918e-05/0.9517, allocations: 13.56 kB / 483.5 MB, free: 89.12 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004366/0.9521, allocations: 58.2 kB / 483.5 MB, free: 89.09 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.976e-05/0.9522, allocations: 24.72 kB / 483.6 MB, free: 89.09 MB / 394.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.0002018/0.9524, allocations: 148.5 kB / 483.7 MB, free: 88.97 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.801e-05/0.9525, allocations: 37.75 kB / 483.7 MB, free: 88.95 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009304/0.9535, allocations: 231.7 kB / 484 MB, free: 88.88 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.716e-06/0.9535, allocations: 2.75 kB / 484 MB, free: 88.88 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.9535, allocations: 0 / 484 MB, free: 88.88 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.9535, allocations: 0 / 484 MB, free: 88.88 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004927/0.954, allocations: 279.3 kB / 484.2 MB, free: 88.69 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.888e-05/0.9541, allocations: 20.39 kB / 484.3 MB, free: 88.69 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001032/0.9542, allocations: 14.61 kB / 484.3 MB, free: 88.69 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.486e-06/0.9542, allocations: 1.375 kB / 484.3 MB, free: 88.69 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.021e-05/0.9542, allocations: 6.688 kB / 484.3 MB, free: 88.69 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/0.9543, allocations: 5.312 kB / 484.3 MB, free: 88.68 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.9543, allocations: 0.9062 kB / 484.3 MB, free: 88.68 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000611/0.9549, allocations: 264.7 kB / 484.5 MB, free: 88.53 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001074/0.955, allocations: 108.7 kB / 484.6 MB, free: 88.41 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.043e-05/0.9551, allocations: 4.094 kB / 484.7 MB, free: 88.41 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002305/0.9553, allocations: 5.625 kB / 484.7 MB, free: 88.41 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.545e-05/0.9554, allocations: 17.44 kB / 484.7 MB, free: 88.41 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.146e-05/0.9555, allocations: 4.906 kB / 484.7 MB, free: 88.41 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003734/0.9558, allocations: 268.3 kB / 484.9 MB, free: 88.32 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.9559, allocations: 0 / 484.9 MB, free: 88.32 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009762/0.9568, allocations: 145 kB / 485.1 MB, free: 88.3 MB / 394.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.0007369/0.9576, allocations: 275.4 kB / 485.4 MB, free: 88.18 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001062/0.9587, allocations: 315 kB / 485.7 MB, free: 88.04 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.9587, allocations: 9.406 kB / 485.7 MB, free: 88.03 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004782/0.9592, allocations: 186.4 kB / 485.9 MB, free: 87.9 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004632/0.9597, allocations: 47.12 kB / 485.9 MB, free: 87.89 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001395/0.9611, allocations: 0.6494 MB / 486.5 MB, free: 87.52 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002406/0.9613, allocations: 0.7813 MB / 487.3 MB, free: 86.81 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.866e-05/0.9614, allocations: 23.25 kB / 487.4 MB, free: 86.8 MB / 394.7 MB Notification: Performance of SimCode: time 9.61e-07/0.9614, allocations: 0 / 487.4 MB, free: 86.8 MB / 394.7 MB Notification: Performance of Templates: time 0.01655/0.978, allocations: 9.893 MB / 497.2 MB, free: 85.37 MB / 394.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