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.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.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.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.336/2.336, allocations: 234.9 MB / 251.1 MB, free: 9.543 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004322/0.0004324, allocations: 12 kB / 315 MB, free: 9.578 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.421/0.4215, allocations: 54.86 MB / 369.8 MB, free: 10.72 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1645/0.586, allocations: 93.03 MB / 462.9 MB, free: 13.55 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004091/0.5865, allocations: 107.9 kB / 463 MB, free: 13.45 MB / 394.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.3821/0.9686, allocations: 15.13 MB / 478.1 MB, free: 93.92 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.856e-06/0.9687, allocations: 0.5312 kB / 478.1 MB, free: 93.92 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.644e-05/0.9687, allocations: 5.812 kB / 478.1 MB, free: 93.92 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.001267/0.97, allocations: 0.5588 MB / 478.6 MB, free: 93.49 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.174e-05/0.97, allocations: 9.344 kB / 478.7 MB, free: 93.49 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001019/0.9701, allocations: 28.48 kB / 478.7 MB, free: 93.48 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003804/0.9705, allocations: 238.4 kB / 478.9 MB, free: 93.28 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.324e-05/0.9706, allocations: 14.67 kB / 478.9 MB, free: 93.28 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.091e-05/0.9707, allocations: 25.47 kB / 479 MB, free: 93.28 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001/0.9717, allocations: 374.7 kB / 479.3 MB, free: 93.24 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.735e-05/0.9717, allocations: 0 / 479.3 MB, free: 93.24 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.226e-05/0.9718, allocations: 13.83 kB / 479.3 MB, free: 93.23 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.004e-05/0.9718, allocations: 32.52 kB / 479.4 MB, free: 93.23 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001099/0.973, allocations: 400.9 kB / 479.8 MB, free: 93.23 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002397/0.9754, allocations: 1.057 MB / 480.8 MB, free: 92.66 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001035/0.9765, allocations: 273.9 kB / 481.1 MB, free: 92.63 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.741e-05/0.9765, allocations: 16.38 kB / 481.1 MB, free: 92.63 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.24e-05/0.9766, allocations: 31.27 kB / 481.1 MB, free: 92.59 MB / 394.7 MB Notification: Performance of pre-optimization done (n=21): time 2.946e-06/0.9766, allocations: 1.156 kB / 481.1 MB, free: 92.59 MB / 394.7 MB Notification: Performance of matching and sorting (n=21): time 0.001294/0.9779, allocations: 344.3 kB / 481.5 MB, free: 92.55 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.254e-05/0.9779, allocations: 53.77 kB / 481.5 MB, free: 92.49 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00033/0.9783, allocations: 220.9 kB / 481.7 MB, free: 92.38 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.211e-05/0.9783, allocations: 30.83 kB / 481.8 MB, free: 92.35 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.151e-05/0.9784, allocations: 208.3 kB / 482 MB, free: 92.18 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.462e-05/0.9785, allocations: 73.67 kB / 482 MB, free: 92.12 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.014e-05/0.9785, allocations: 5.875 kB / 482 MB, free: 92.12 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.61e-05/0.9786, allocations: 323.5 kB / 482.4 MB, free: 91.81 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003334/0.979, allocations: 85.45 kB / 482.4 MB, free: 91.81 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003363/0.9793, allocations: 115.7 kB / 482.6 MB, free: 91.79 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003474/0.9797, allocations: 98.84 kB / 482.7 MB, free: 91.79 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.9797, allocations: 0 / 482.7 MB, free: 91.79 MB / 394.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000836/0.9805, allocations: 260.8 kB / 482.9 MB, free: 91.75 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.049e-05/0.9806, allocations: 5.5 kB / 482.9 MB, free: 91.75 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.9806, allocations: 5.562 kB / 482.9 MB, free: 91.75 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.194e-05/0.9806, allocations: 1.375 kB / 482.9 MB, free: 91.75 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007762/0.9814, allocations: 95.95 kB / 483 MB, free: 91.75 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001111/0.9825, allocations: 2.378 MB / 485.4 MB, free: 89.41 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003462/0.9829, allocations: 34.78 kB / 485.4 MB, free: 89.39 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.894e-05/0.983, allocations: 10.19 kB / 485.4 MB, free: 89.39 MB / 394.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.0002397/0.9832, allocations: 164.5 kB / 485.6 MB, free: 89.28 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.693e-05/0.9833, allocations: 17.62 kB / 485.6 MB, free: 89.27 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00126/0.9846, allocations: 362.2 kB / 486 MB, free: 89.21 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.813e-06/0.9846, allocations: 2.844 kB / 486 MB, free: 89.21 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.9846, allocations: 2.562 kB / 486 MB, free: 89.21 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.9846, allocations: 5.5 kB / 486 MB, free: 89.21 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005245/0.9852, allocations: 319.9 kB / 486.3 MB, free: 89.01 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.9852, allocations: 0 / 486.3 MB, free: 89.01 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007941/0.986, allocations: 90.72 kB / 486.4 MB, free: 89.01 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.835e-06/0.986, allocations: 10.84 kB / 486.4 MB, free: 89.01 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.98e-05/0.9861, allocations: 10.98 kB / 486.4 MB, free: 89.01 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001069/0.9871, allocations: 2.384 MB / 488.8 MB, free: 86.66 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.9872, allocations: 0 / 488.8 MB, free: 86.66 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009374/0.9881, allocations: 370.7 kB / 489.2 MB, free: 86.52 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001912/0.9883, allocations: 140 kB / 489.3 MB, free: 86.41 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.348e-05/0.9884, allocations: 7.594 kB / 489.3 MB, free: 86.4 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002783/0.9887, allocations: 14.05 kB / 489.3 MB, free: 86.4 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.909e-05/0.9888, allocations: 25.08 kB / 489.3 MB, free: 86.39 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.501e-05/0.9888, allocations: 10.06 kB / 489.3 MB, free: 86.39 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000214/0.9891, allocations: 166.5 kB / 489.5 MB, free: 86.32 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.9e-07/0.9891, allocations: 5.031 kB / 489.5 MB, free: 86.32 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009165/0.99, allocations: 178.3 kB / 489.7 MB, free: 86.27 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 (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.0007596/0.9908, allocations: 268.5 kB / 489.9 MB, free: 86.12 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001238/0.992, allocations: 258.4 kB / 490.2 MB, free: 86.12 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.908e-06/0.9921, allocations: 0 / 490.2 MB, free: 86.12 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007798/0.9929, allocations: 181.9 kB / 490.4 MB, free: 86.11 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004582/0.9933, allocations: 35.36 kB / 490.4 MB, free: 86.11 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00131/0.9947, allocations: 0.6823 MB / 491.1 MB, free: 85.75 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002799/0.995, allocations: 0.7871 MB / 491.9 MB, free: 85.06 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001563/0.9951, allocations: 28.72 kB / 491.9 MB, free: 85.05 MB / 394.7 MB Notification: Performance of SimCode: time 2.014e-06/0.9951, allocations: 4 kB / 491.9 MB, free: 85.05 MB / 394.7 MB Notification: Performance of Templates: time 0.01499/1.01, allocations: 8.597 MB / 0.4888 GB, free: 83.09 MB / 394.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]