Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|delta.1.|delta.2.|delta.3.|delta.4.|eta|rho|input_mdot.1.|input_mdot.2.|input_mdot.3.|input_mdot.4.|input_dp.1.|input_dp.2.|input_dp.3.|input_dp.4.|M_FLOW.1.|M_FLOW.2.|M_FLOW.3.|M_FLOW.4.|DP.1.|DP.2.|DP.3.|DP.4.|DP_plot.1.|DP_plot.2.|DP_plot.3.|DP_plot.4.|velocity.1.|velocity.2.|velocity.3.|velocity.4.|Re.1.|Re.2.|Re.3.|Re.4.|zeta_TOT.1.|zeta_TOT.2.|zeta_TOT.3.|zeta_TOT.4.|input_DP.y",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW") Notification: Performance of loadModel(ModelicaTest): time 2.128/2.128, allocations: 235 MB / 247.6 MB, free: 14.37 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 6.402e-05/6.425e-05, allocations: 4 kB / 304.9 MB, free: 5.637 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3533/0.3534, allocations: 54.85 MB / 359.8 MB, free: 2.672 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1399/0.4934, allocations: 92.96 MB / 452.7 MB, free: 4.031 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002946/0.4937, allocations: 91.94 kB / 452.8 MB, free: 3.941 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Fluid/Dissipation.mo:4809:11-4812:69:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[4], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Fluid/Dissipation.mo:4822:11-4825:59:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[4], got type Real. Notification: Performance of FrontEnd - DAE generated: time 0.07063/0.5644, allocations: 15.09 MB / 467.9 MB, free: 4.793 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.848e-06/0.5644, allocations: 0 / 467.9 MB, free: 4.793 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.565e-05/0.5644, allocations: 4 kB / 467.9 MB, free: 4.789 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: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.001035/0.5655, allocations: 0.5489 MB / 468.5 MB, free: 4.195 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.339e-05/0.5655, allocations: 8.031 kB / 468.5 MB, free: 4.188 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.708e-05/0.5656, allocations: 31.62 kB / 468.5 MB, free: 4.156 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003584/0.566, allocations: 226.7 kB / 468.7 MB, free: 3.895 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.463e-05/0.5661, allocations: 20.55 kB / 468.8 MB, free: 3.875 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.275e-05/0.5661, allocations: 20 kB / 468.8 MB, free: 3.855 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007184/0.5669, allocations: 352.9 kB / 469.1 MB, free: 3.504 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.691e-05/0.5669, allocations: 3.953 kB / 469.1 MB, free: 3.5 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.008e-05/0.5669, allocations: 15.94 kB / 469.1 MB, free: 3.484 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.892e-05/0.567, allocations: 28.77 kB / 469.2 MB, free: 3.457 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007263/0.5677, allocations: 353.4 kB / 469.5 MB, free: 3.109 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002004/0.5698, allocations: 1.059 MB / 470.6 MB, free: 1.949 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007216/0.5705, allocations: 252.5 kB / 470.8 MB, free: 1.695 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001956/0.5707, allocations: 85.19 kB / 470.9 MB, free: 1.609 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.98e-05/0.5708, allocations: 4.188 kB / 470.9 MB, free: 1.605 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.272e-05/0.5708, allocations: 38.75 kB / 470.9 MB, free: 1.559 MB / 394.7 MB Notification: Performance of pre-optimization done (n=21): time 5.101e-06/0.5708, allocations: 0 / 470.9 MB, free: 1.559 MB / 394.7 MB Notification: Performance of matching and sorting (n=21): time 0.0006129/0.5715, allocations: 222.5 kB / 471.2 MB, free: 1.34 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.497e-05/0.5715, allocations: 59.41 kB / 471.2 MB, free: 1.27 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002799/0.5718, allocations: 199.1 kB / 471.4 MB, free: 1.066 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.101e-05/0.5719, allocations: 29.7 kB / 471.4 MB, free: 1.031 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001426/0.572, allocations: 210.9 kB / 471.6 MB, free: 0.8242 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.663e-05/0.5721, allocations: 74.94 kB / 471.7 MB, free: 0.75 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.651e-05/0.5722, allocations: 0 / 471.7 MB, free: 0.75 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001657/0.5723, allocations: 326.8 kB / 472 MB, free: 432 kB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001725/0.5725, allocations: 63.95 kB / 472.1 MB, free: 368 kB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001962/0.5727, allocations: 93.58 kB / 472.2 MB, free: 268 kB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002096/0.573, allocations: 79.92 kB / 472.3 MB, free: 188 kB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.573, allocations: 0 / 472.3 MB, free: 188 kB / 394.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005605/0.5735, allocations: 227.7 kB / 472.5 MB, free: 15.96 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.5736, allocations: 4 kB / 472.5 MB, free: 15.95 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.501e-06/0.5736, allocations: 4 kB / 472.5 MB, free: 15.95 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/0.5736, allocations: 4 kB / 472.5 MB, free: 15.95 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006181/0.5743, allocations: 91.86 kB / 472.6 MB, free: 15.86 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001829/0.5761, allocations: 2.379 MB / 475 MB, free: 13.38 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002403/0.5764, allocations: 39.95 kB / 475 MB, free: 13.34 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.536e-05/0.5764, allocations: 8.531 kB / 475 MB, free: 13.34 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00013/0.5766, allocations: 116.9 kB / 475.1 MB, free: 13.21 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.245e-05/0.5766, allocations: 19.81 kB / 475.2 MB, free: 13.2 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008865/0.5775, allocations: 323 kB / 475.5 MB, free: 12.86 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.103e-06/0.5776, allocations: 4 kB / 475.5 MB, free: 12.86 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.781e-06/0.5776, allocations: 0 / 475.5 MB, free: 12.86 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.721e-06/0.5776, allocations: 7.938 kB / 475.5 MB, free: 12.85 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005276/0.5781, allocations: 305.4 kB / 475.8 MB, free: 12.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.349e-06/0.5782, allocations: 0 / 475.8 MB, free: 12.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006191/0.5788, allocations: 99.8 kB / 475.9 MB, free: 12.41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.255e-06/0.5788, allocations: 4 kB / 475.9 MB, free: 12.4 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.888e-05/0.5789, allocations: 11.98 kB / 475.9 MB, free: 12.39 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001785/0.5807, allocations: 2.383 MB / 478.3 MB, free: 9.914 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.722e-06/0.5807, allocations: 0 / 478.3 MB, free: 9.914 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006115/0.5813, allocations: 331.7 kB / 478.6 MB, free: 9.574 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001903/0.5815, allocations: 136.7 kB / 478.7 MB, free: 9.422 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.462e-05/0.5816, allocations: 7.984 kB / 478.7 MB, free: 9.414 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002446/0.5818, allocations: 27.97 kB / 478.8 MB, free: 9.387 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.837e-05/0.5819, allocations: 15.98 kB / 478.8 MB, free: 9.371 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.313e-05/0.582, allocations: 11.98 kB / 478.8 MB, free: 9.359 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002206/0.5822, allocations: 165.5 kB / 479 MB, free: 9.199 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.13e-07/0.5822, allocations: 0 / 479 MB, free: 9.199 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007958/0.583, allocations: 175.6 kB / 479.1 MB, free: 9.027 MB / 410.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006645/0.5837, allocations: 269.4 kB / 479.4 MB, free: 8.758 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0007815/0.5845, allocations: 215.7 kB / 479.6 MB, free: 8.547 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.19e-06/0.5845, allocations: 0 / 479.6 MB, free: 8.547 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005344/0.585, allocations: 140 kB / 479.7 MB, free: 8.41 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003712/0.5854, allocations: 31.97 kB / 479.8 MB, free: 8.379 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009381/0.5864, allocations: 405.3 kB / 480.2 MB, free: 7.961 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005134/0.5869, allocations: 0.7906 MB / 481 MB, free: 7.145 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001289/0.5871, allocations: 35.42 kB / 481 MB, free: 7.109 MB / 410.7 MB Notification: Performance of SimCode: time 1.665e-06/0.5871, allocations: 0 / 481 MB, free: 7.109 MB / 410.7 MB Notification: Performance of Templates: time 0.01525/0.6023, allocations: 8.555 MB / 489.5 MB, free: 14.57 MB / 426.7 MB "Error: Could not read variable MIN in file ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW_res.mat. Warning: Get data of variable MIN from file ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW_res.mat failed! Error: Could not read variable _derdummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW_res.mat. Warning: Get data of variable _derdummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW_res.mat failed! Error: Could not read variable _dummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW_res.mat. Warning: Get data of variable _dummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW_res.mat failed! " Variables in the reference:time,delta[1],delta[2],delta[3],delta[4],eta,rho,input_mdot[1],input_mdot[2],input_mdot[3],input_mdot[4],input_dp[1],input_dp[2],input_dp[3],input_dp[4],M_FLOW[1],M_FLOW[2],M_FLOW[3],M_FLOW[4],DP[1],DP[2],DP[3],DP[4],DP_plot[1],DP_plot[2],DP_plot[3],DP_plot[4],velocity[1],velocity[2],velocity[3],velocity[4],Re[1],Re[2],Re[3],Re[4],zeta_TOT[1],zeta_TOT[2],zeta_TOT[3],zeta_TOT[4],input_DP.y Variables in the result:A_cross,DP[1],DP[2],DP[3],DP[4],DP_plot[1],DP_plot[2],DP_plot[3],DP_plot[4],K,M_FLOW[1],M_FLOW[2],M_FLOW[3],M_FLOW[4],Re[1],Re[2],Re[3],Re[4],d_hyd,delta[1],delta[2],delta[3],delta[4],dp_IN_con[1].K,dp_IN_con[1].d_hyd,dp_IN_con[1].delta,dp_IN_con[2].K,dp_IN_con[2].d_hyd,dp_IN_con[2].delta,dp_IN_con[3].K,dp_IN_con[3].d_hyd,dp_IN_con[3].delta,dp_IN_con[4].K,dp_IN_con[4].d_hyd,dp_IN_con[4].delta,dp_IN_var[1].eta,dp_IN_var[1].rho,dp_IN_var[2].eta,dp_IN_var[2].rho,dp_IN_var[3].eta,dp_IN_var[3].rho,dp_IN_var[4].eta,dp_IN_var[4].rho,eta,input_DP.duration,input_DP.height,input_DP.offset,input_DP.startTime,input_DP.y,input_dp[1],input_dp[2],input_dp[3],input_dp[4],input_mdot[1],input_mdot[2],input_mdot[3],input_mdot[4],m_flow_IN_con[1].K,m_flow_IN_con[1].d_hyd,m_flow_IN_con[1].delta,m_flow_IN_con[2].K,m_flow_IN_con[2].d_hyd,m_flow_IN_con[2].delta,m_flow_IN_con[3].K,m_flow_IN_con[3].d_hyd,m_flow_IN_con[3].delta,m_flow_IN_con[4].K,m_flow_IN_con[4].d_hyd,m_flow_IN_con[4].delta,m_flow_IN_var[1].eta,m_flow_IN_var[1].rho,m_flow_IN_var[2].eta,m_flow_IN_var[2].rho,m_flow_IN_var[3].eta,m_flow_IN_var[3].rho,m_flow_IN_var[4].eta,m_flow_IN_var[4].rho,n,rho,time,velocity[1],velocity[2],velocity[3],velocity[4],zeta_TOT[1],zeta_TOT[2],zeta_TOT[3],zeta_TOT[4]