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.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.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.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.254/2.254, allocations: 234.9 MB / 250.5 MB, free: 9.535 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004401/0.0004403, allocations: 12 kB / 314.4 MB, free: 9.516 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2917/0.2922, allocations: 54.85 MB / 369.3 MB, free: 12.75 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1406/0.4328, allocations: 93.03 MB / 462.3 MB, free: 15.59 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003295/0.4331, allocations: 103.9 kB / 462.4 MB, free: 15.48 MB / 394.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@2/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.07073/0.5039, allocations: 15.14 MB / 477.6 MB, free: 240 kB / 394.7 MB Notification: Performance of FrontEnd: time 2.526e-06/0.5039, allocations: 4 kB / 477.6 MB, free: 236 kB / 394.7 MB Notification: Performance of Transformations before backend: time 1.166e-05/0.504, allocations: 0 / 477.6 MB, free: 236 kB / 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.001147/0.5051, allocations: 0.5652 MB / 478.1 MB, free: 15.62 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/0.5052, allocations: 8.031 kB / 478.1 MB, free: 15.61 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.083e-05/0.5053, allocations: 27.62 kB / 478.2 MB, free: 15.58 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003639/0.5056, allocations: 238.7 kB / 478.4 MB, free: 15.31 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.643e-05/0.5057, allocations: 16.56 kB / 478.4 MB, free: 15.29 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.146e-05/0.5058, allocations: 24 kB / 478.4 MB, free: 15.27 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008231/0.5066, allocations: 369.2 kB / 478.8 MB, free: 14.9 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.611e-05/0.5066, allocations: 8 kB / 478.8 MB, free: 14.89 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.077e-05/0.5067, allocations: 7.953 kB / 478.8 MB, free: 14.88 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.181e-05/0.5068, allocations: 36.62 kB / 478.9 MB, free: 14.85 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009056/0.5077, allocations: 398.3 kB / 479.2 MB, free: 14.46 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002018/0.5097, allocations: 1.055 MB / 480.3 MB, free: 13.3 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008251/0.5106, allocations: 284.8 kB / 480.6 MB, free: 13.02 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.424e-05/0.5106, allocations: 8.25 kB / 480.6 MB, free: 13.01 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.904e-05/0.5107, allocations: 42.69 kB / 480.6 MB, free: 12.96 MB / 410.7 MB Notification: Performance of pre-optimization done (n=21): time 3.393e-06/0.5107, allocations: 0 / 480.6 MB, free: 12.96 MB / 410.7 MB Notification: Performance of matching and sorting (n=21): time 0.001059/0.5118, allocations: 332.2 kB / 480.9 MB, free: 12.63 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.837e-05/0.5118, allocations: 55.41 kB / 481 MB, free: 12.57 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002998/0.5121, allocations: 206.9 kB / 481.2 MB, free: 12.36 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.343e-05/0.5122, allocations: 29.7 kB / 481.2 MB, free: 12.32 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000147/0.5124, allocations: 202.8 kB / 481.4 MB, free: 12.12 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.672e-05/0.5125, allocations: 78.91 kB / 481.5 MB, free: 12.04 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.468e-05/0.5125, allocations: 0 / 481.5 MB, free: 12.04 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001711/0.5127, allocations: 318.8 kB / 481.8 MB, free: 11.72 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002715/0.5129, allocations: 83.92 kB / 481.9 MB, free: 11.64 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002881/0.5132, allocations: 114.4 kB / 482 MB, free: 11.52 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003233/0.5136, allocations: 106.7 kB / 482.1 MB, free: 11.41 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.897e-06/0.5136, allocations: 3.953 kB / 482.1 MB, free: 11.41 MB / 410.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007653/0.5144, allocations: 253.3 kB / 482.4 MB, free: 11.16 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.062e-05/0.5144, allocations: 4.062 kB / 482.4 MB, free: 11.15 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.964e-06/0.5145, allocations: 4 kB / 482.4 MB, free: 11.15 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.927e-05/0.5145, allocations: 4 kB / 482.4 MB, free: 11.14 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006744/0.5152, allocations: 87.92 kB / 482.5 MB, free: 11.06 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001894/0.5171, allocations: 2.379 MB / 484.8 MB, free: 8.586 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000269/0.5174, allocations: 35.94 kB / 484.9 MB, free: 8.551 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.821e-05/0.5175, allocations: 19.98 kB / 484.9 MB, free: 8.531 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 () * Number of clocked 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.000256/0.5177, allocations: 157.7 kB / 485.1 MB, free: 8.367 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.351e-05/0.5178, allocations: 19.81 kB / 485.1 MB, free: 8.348 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001078/0.5189, allocations: 359.2 kB / 485.4 MB, free: 7.988 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.239e-06/0.5189, allocations: 4 kB / 485.4 MB, free: 7.984 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.172e-06/0.5189, allocations: 0 / 485.4 MB, free: 7.984 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.778e-06/0.519, allocations: 3.938 kB / 485.4 MB, free: 7.98 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005452/0.5195, allocations: 317.3 kB / 485.7 MB, free: 7.621 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.488e-06/0.5195, allocations: 0 / 485.7 MB, free: 7.621 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006047/0.5201, allocations: 99.86 kB / 485.8 MB, free: 7.523 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.118e-06/0.5202, allocations: 7.938 kB / 485.8 MB, free: 7.516 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.757e-05/0.5202, allocations: 8 kB / 485.9 MB, free: 7.508 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001798/0.522, allocations: 2.387 MB / 488.2 MB, free: 5.027 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.007e-06/0.5221, allocations: 0 / 488.2 MB, free: 5.027 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008221/0.5229, allocations: 372 kB / 488.6 MB, free: 4.648 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001911/0.5231, allocations: 132.8 kB / 488.7 MB, free: 4.5 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.565e-05/0.5232, allocations: 4 kB / 488.7 MB, free: 4.496 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002233/0.5234, allocations: 16 kB / 488.8 MB, free: 4.48 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.883e-05/0.5235, allocations: 23.92 kB / 488.8 MB, free: 4.457 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.356e-05/0.5235, allocations: 11.98 kB / 488.8 MB, free: 4.445 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002212/0.5238, allocations: 164.2 kB / 488.9 MB, free: 4.285 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.15e-07/0.5238, allocations: 0 / 488.9 MB, free: 4.285 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007842/0.5246, allocations: 179.6 kB / 489.1 MB, free: 4.109 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 () * Number of clocked 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.0006647/0.5252, allocations: 278.8 kB / 489.4 MB, free: 3.824 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0009944/0.5263, allocations: 259.8 kB / 489.7 MB, free: 3.57 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.03e-06/0.5263, allocations: 0 / 489.7 MB, free: 3.57 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006279/0.5269, allocations: 151.8 kB / 489.8 MB, free: 3.422 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004096/0.5273, allocations: 39.7 kB / 489.8 MB, free: 3.383 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001308/0.5287, allocations: 0.6847 MB / 490.5 MB, free: 2.676 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005096/0.5292, allocations: 0.7948 MB / 491.3 MB, free: 1.855 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001245/0.5293, allocations: 27.42 kB / 491.3 MB, free: 1.828 MB / 410.7 MB Notification: Performance of SimCode: time 1.653e-06/0.5294, allocations: 0 / 491.3 MB, free: 1.828 MB / 410.7 MB Notification: Performance of Templates: time 0.01551/0.5449, allocations: 8.585 MB / 499.9 MB, free: 9.25 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]