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.333/2.333, allocations: 234.9 MB / 250.5 MB, free: 10.64 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004863/0.0004865, allocations: 8 kB / 314.4 MB, free: 10.64 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2779/0.2784, allocations: 54.87 MB / 369.3 MB, free: 10.85 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1434/0.4219, allocations: 96.11 MB / 465.4 MB, free: 10.6 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003279/0.4222, allocations: 103.9 kB / 465.5 MB, free: 10.5 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3289/0.7511, allocations: 12.32 MB / 477.8 MB, free: 91.82 MB / 394.7 MB Notification: Performance of FrontEnd: time 5.087e-06/0.7512, allocations: 0.5938 kB / 477.8 MB, free: 91.82 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.522e-05/0.7513, allocations: 4.188 kB / 477.8 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.001398/0.7527, allocations: 0.6151 MB / 478.4 MB, free: 91.35 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.98e-05/0.7528, allocations: 8.625 kB / 478.4 MB, free: 91.35 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.667e-05/0.7529, allocations: 44.33 kB / 478.5 MB, free: 91.33 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002834/0.7532, allocations: 232.9 kB / 478.7 MB, free: 91.11 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.523e-05/0.7532, allocations: 26.09 kB / 478.7 MB, free: 91.11 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.559e-05/0.7533, allocations: 32.81 kB / 478.8 MB, free: 91.11 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007219/0.754, allocations: 366.3 kB / 479.1 MB, free: 91.07 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.862e-05/0.7541, allocations: 6.234 kB / 479.1 MB, free: 91.07 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.287e-05/0.7541, allocations: 13.19 kB / 479.2 MB, free: 91.07 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.807e-05/0.7541, allocations: 12.17 kB / 479.2 MB, free: 91.06 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005969/0.7547, allocations: 274.4 kB / 479.4 MB, free: 91.05 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00165/0.7564, allocations: 0.8949 MB / 480.3 MB, free: 90.69 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000315/0.7567, allocations: 94.09 kB / 480.4 MB, free: 90.67 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.792e-05/0.7568, allocations: 3.375 kB / 480.4 MB, free: 90.67 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.981e-05/0.7568, allocations: 31.59 kB / 480.5 MB, free: 90.63 MB / 394.7 MB Notification: Performance of pre-optimization done (n=9): time 3.599e-06/0.7568, allocations: 6.375 kB / 480.5 MB, free: 90.63 MB / 394.7 MB Notification: Performance of matching and sorting (n=9): time 0.0008255/0.7577, allocations: 0.5155 MB / 481 MB, free: 90.2 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.409e-05/0.7577, allocations: 53.28 kB / 481 MB, free: 90.14 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005021/0.7582, allocations: 343.7 kB / 481.4 MB, free: 90.03 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.006e-05/0.7583, allocations: 30.7 kB / 481.4 MB, free: 90 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001358/0.7584, allocations: 289.1 kB / 481.7 MB, free: 89.79 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.174e-05/0.7585, allocations: 29.72 kB / 481.7 MB, free: 89.77 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.92e-05/0.7585, allocations: 8.875 kB / 481.7 MB, free: 89.77 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.258e-05/0.7586, allocations: 333.9 kB / 482 MB, free: 89.46 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002323/0.7588, allocations: 65.25 kB / 482.1 MB, free: 89.45 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003119/0.7591, allocations: 257.4 kB / 482.4 MB, free: 89.21 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002862/0.7595, allocations: 103 kB / 482.5 MB, free: 89.21 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.724e-06/0.7595, allocations: 4.188 kB / 482.5 MB, free: 89.21 MB / 394.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0008179/0.7603, allocations: 327 kB / 482.8 MB, free: 89.14 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.308e-05/0.7603, allocations: 11.34 kB / 482.8 MB, free: 89.14 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-05/0.7604, allocations: 23.44 kB / 482.8 MB, free: 89.14 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.602e-05/0.7605, allocations: 9.188 kB / 482.8 MB, free: 89.14 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002304/0.7607, allocations: 58.59 kB / 482.9 MB, free: 89.14 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.934e-05/0.7607, allocations: 16.97 kB / 482.9 MB, free: 89.13 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003628/0.7611, allocations: 65.25 kB / 483 MB, free: 89.1 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.281e-05/0.7612, allocations: 22.52 kB / 483 MB, free: 89.1 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.0001667/0.7613, allocations: 152.5 kB / 483.1 MB, free: 88.97 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.516e-05/0.7614, allocations: 38.78 kB / 483.2 MB, free: 88.95 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007251/0.7622, allocations: 229.3 kB / 483.4 MB, free: 88.89 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.718e-06/0.7622, allocations: 1.375 kB / 483.4 MB, free: 88.89 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.442e-06/0.7622, allocations: 0 / 483.4 MB, free: 88.89 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.053e-06/0.7622, allocations: 0 / 483.4 MB, free: 88.89 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000371/0.7626, allocations: 284 kB / 483.7 MB, free: 88.7 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.752e-05/0.7627, allocations: 21.52 kB / 483.7 MB, free: 88.7 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.49e-05/0.7628, allocations: 12.45 kB / 483.7 MB, free: 88.7 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.252e-06/0.7628, allocations: 1.375 kB / 483.7 MB, free: 88.7 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.963e-05/0.7628, allocations: 4.125 kB / 483.7 MB, free: 88.7 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.962e-06/0.7628, allocations: 0 / 483.7 MB, free: 88.7 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.611e-06/0.7628, allocations: 1.375 kB / 483.7 MB, free: 88.7 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004698/0.7633, allocations: 267.9 kB / 484 MB, free: 88.54 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.404e-05/0.7634, allocations: 110.2 kB / 484.1 MB, free: 88.43 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.944e-05/0.7635, allocations: 0 / 484.1 MB, free: 88.43 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002026/0.7637, allocations: 14 kB / 484.1 MB, free: 88.43 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.741e-05/0.7638, allocations: 13.3 kB / 484.1 MB, free: 88.42 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.859e-05/0.7638, allocations: 4.5 kB / 484.1 MB, free: 88.42 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003127/0.7641, allocations: 265.8 kB / 484.4 MB, free: 88.34 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.46e-07/0.7641, allocations: 0 / 484.4 MB, free: 88.34 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008553/0.765, allocations: 147.9 kB / 484.5 MB, free: 88.32 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.0005887/0.7656, allocations: 269.8 kB / 484.8 MB, free: 88.2 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0008207/0.7664, allocations: 322.6 kB / 485.1 MB, free: 88.04 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.148e-06/0.7665, allocations: 256 / 485.1 MB, free: 88.04 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000397/0.7669, allocations: 192.2 kB / 485.3 MB, free: 87.91 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003666/0.7673, allocations: 44.95 kB / 485.3 MB, free: 87.9 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001068/0.7683, allocations: 0.644 MB / 486 MB, free: 87.52 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002187/0.7686, allocations: 0.7823 MB / 486.7 MB, free: 86.82 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.091e-05/0.7686, allocations: 23.22 kB / 486.8 MB, free: 86.81 MB / 394.7 MB Notification: Performance of SimCode: time 1.447e-06/0.7687, allocations: 0 / 486.8 MB, free: 86.81 MB / 394.7 MB Notification: Performance of Templates: time 0.01369/0.7824, allocations: 9.887 MB / 496.7 MB, free: 85.4 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