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.298/2.298, allocations: 235 MB / 248.1 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.797e-05/2.809e-05, allocations: 0 / 309.7 MB, free: 1.301 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3698/0.3699, allocations: 54.86 MB / 364.6 MB, free: 5.551 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.138/0.5079, allocations: 92.95 MB / 457.5 MB, free: 3.5 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003143/0.5083, allocations: 100.5 kB / 457.6 MB, free: 3.402 MB / 378.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.07186/0.5802, allocations: 15.12 MB / 472.7 MB, free: 4.215 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.814e-06/0.5802, allocations: 0 / 472.7 MB, free: 4.215 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.485e-05/0.5802, allocations: 4 kB / 472.7 MB, free: 4.211 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.001014/0.5813, allocations: 0.5567 MB / 473.3 MB, free: 3.609 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.828e-05/0.5813, allocations: 8.031 kB / 473.3 MB, free: 3.602 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.548e-05/0.5814, allocations: 31.62 kB / 473.3 MB, free: 3.57 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003376/0.5818, allocations: 226.7 kB / 473.6 MB, free: 3.309 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.678e-05/0.5818, allocations: 16.56 kB / 473.6 MB, free: 3.293 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.574e-05/0.5819, allocations: 23.98 kB / 473.6 MB, free: 3.27 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006984/0.5826, allocations: 354.1 kB / 473.9 MB, free: 2.914 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.69e-05/0.5826, allocations: 3.953 kB / 473.9 MB, free: 2.91 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.778e-05/0.5827, allocations: 8 kB / 474 MB, free: 2.902 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.668e-05/0.5828, allocations: 28.77 kB / 474 MB, free: 2.875 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007007/0.5835, allocations: 358.9 kB / 474.3 MB, free: 2.523 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001951/0.5854, allocations: 1.063 MB / 475.4 MB, free: 1.359 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007248/0.5862, allocations: 264.7 kB / 475.7 MB, free: 1.094 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001938/0.5864, allocations: 89.17 kB / 475.7 MB, free: 1.004 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.982e-05/0.5865, allocations: 4.188 kB / 475.7 MB, free: 1 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.942e-05/0.5865, allocations: 30.75 kB / 475.8 MB, free: 0.9609 MB / 394.7 MB Notification: Performance of pre-optimization done (n=21): time 3.243e-06/0.5865, allocations: 0 / 475.8 MB, free: 0.9609 MB / 394.7 MB Notification: Performance of matching and sorting (n=21): time 0.0005865/0.5871, allocations: 220 kB / 476 MB, free: 0.7422 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.759e-05/0.5872, allocations: 51.41 kB / 476 MB, free: 0.6797 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002769/0.5875, allocations: 207 kB / 476.2 MB, free: 480 kB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.376e-05/0.5875, allocations: 29.7 kB / 476.3 MB, free: 444 kB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001366/0.5877, allocations: 206.9 kB / 476.5 MB, free: 236 kB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.572e-05/0.5878, allocations: 83 kB / 476.6 MB, free: 152 kB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.765e-05/0.5878, allocations: 4 kB / 476.6 MB, free: 148 kB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001726/0.588, allocations: 318.8 kB / 476.9 MB, free: 15.82 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001725/0.5881, allocations: 63.95 kB / 476.9 MB, free: 15.76 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000198/0.5884, allocations: 94.47 kB / 477 MB, free: 15.66 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001983/0.5886, allocations: 86.36 kB / 477.1 MB, free: 15.58 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.798e-06/0.5886, allocations: 0 / 477.1 MB, free: 15.58 MB / 410.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005489/0.5892, allocations: 217.4 kB / 477.3 MB, free: 15.36 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/0.5892, allocations: 4 kB / 477.3 MB, free: 15.36 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.773e-06/0.5892, allocations: 0 / 477.3 MB, free: 15.36 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.5892, allocations: 4 kB / 477.3 MB, free: 15.35 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005667/0.5898, allocations: 95.92 kB / 477.4 MB, free: 15.26 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001766/0.5916, allocations: 2.383 MB / 479.8 MB, free: 12.78 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002395/0.5919, allocations: 31.69 kB / 479.8 MB, free: 12.75 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.794e-05/0.5919, allocations: 7.984 kB / 479.8 MB, free: 12.74 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.0001219/0.592, allocations: 116.9 kB / 480 MB, free: 12.62 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.853e-05/0.5921, allocations: 16 kB / 480 MB, free: 12.61 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008805/0.593, allocations: 331 kB / 480.3 MB, free: 12.27 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.164e-06/0.593, allocations: 4 kB / 480.3 MB, free: 12.26 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.961e-06/0.5931, allocations: 3.984 kB / 480.3 MB, free: 12.26 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.58e-06/0.5931, allocations: 7.891 kB / 480.3 MB, free: 12.25 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005077/0.5936, allocations: 305.4 kB / 480.6 MB, free: 11.9 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.5936, allocations: 4 kB / 480.6 MB, free: 11.9 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005725/0.5942, allocations: 87.92 kB / 480.7 MB, free: 11.81 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.807e-06/0.5942, allocations: 4 kB / 480.7 MB, free: 11.81 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.13e-05/0.5943, allocations: 11.98 kB / 480.7 MB, free: 11.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001738/0.596, allocations: 2.398 MB / 483.1 MB, free: 9.309 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.767e-06/0.596, allocations: 0 / 483.1 MB, free: 9.309 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000604/0.5967, allocations: 332 kB / 483.4 MB, free: 8.969 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001874/0.5969, allocations: 140.6 kB / 483.6 MB, free: 8.812 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.244e-05/0.5969, allocations: 4 kB / 483.6 MB, free: 8.809 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002329/0.5972, allocations: 19.94 kB / 483.6 MB, free: 8.789 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.426e-05/0.5973, allocations: 19.97 kB / 483.6 MB, free: 8.77 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.914e-05/0.5973, allocations: 12 kB / 483.6 MB, free: 8.758 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002243/0.5976, allocations: 161.5 kB / 483.8 MB, free: 8.602 MB / 410.7 MB Notification: Performance of sort global known variables: time 9.09e-07/0.5976, allocations: 4 kB / 483.8 MB, free: 8.598 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007711/0.5984, allocations: 179.6 kB / 484 MB, free: 8.422 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.000622/0.599, allocations: 270.8 kB / 484.2 MB, free: 8.148 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00076/0.5998, allocations: 222 kB / 484.4 MB, free: 7.934 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.5998, allocations: 0 / 484.4 MB, free: 7.934 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005103/0.6003, allocations: 143.8 kB / 484.6 MB, free: 7.793 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003683/0.6007, allocations: 43.28 kB / 484.6 MB, free: 7.754 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009081/0.6016, allocations: 401.4 kB / 485 MB, free: 7.34 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005018/0.6021, allocations: 0.7828 MB / 485.8 MB, free: 6.527 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001198/0.6023, allocations: 35.42 kB / 485.8 MB, free: 6.492 MB / 410.7 MB Notification: Performance of SimCode: time 1.694e-06/0.6023, allocations: 4 kB / 485.8 MB, free: 6.488 MB / 410.7 MB Notification: Performance of Templates: time 0.01494/0.6172, allocations: 8.568 MB / 494.4 MB, free: 13.91 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]