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.136/2.136, allocations: 234.9 MB / 250.5 MB, free: 10.54 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004407/0.0004409, allocations: 12 kB / 314.3 MB, free: 10.56 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3128/0.3133, allocations: 54.87 MB / 369.2 MB, free: 10.84 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW): time 0.00257/0.3159, allocations: 1.474 MB / 370.7 MB, free: 9.348 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003132/0.3191, allocations: 1.593 MB / 372.3 MB, free: 7.746 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.031e-05/0.3192, allocations: 0 / 372.3 MB, free: 7.746 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000221/0.3194, allocations: 43.75 kB / 372.3 MB, free: 7.703 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002371/0.3197, allocations: 51.84 kB / 372.4 MB, free: 7.652 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001255/0.3209, allocations: 0.4991 MB / 372.9 MB, free: 7.152 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002431/0.3212, allocations: 159.7 kB / 373 MB, free: 6.996 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.081e-05/0.3213, allocations: 17.69 kB / 373 MB, free: 6.98 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001784/0.3215, allocations: 83.62 kB / 373.1 MB, free: 6.898 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001593/0.3216, allocations: 91.66 kB / 373.2 MB, free: 6.809 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.901e-05/0.3217, allocations: 4 kB / 373.2 MB, free: 6.805 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00194/0.3236, allocations: 1.15 MB / 374.4 MB, free: 5.652 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.947e-05/0.3237, allocations: 55.81 kB / 374.4 MB, free: 5.598 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.469e-05/0.3238, allocations: 57.58 kB / 374.5 MB, free: 5.535 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008973/0.3247, allocations: 436 kB / 374.9 MB, free: 5.109 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.746e-06/0.3248, allocations: 0 / 374.9 MB, free: 5.109 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.993e-06/0.3248, allocations: 0 / 374.9 MB, free: 5.109 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.811e-06/0.3248, allocations: 4 kB / 374.9 MB, free: 5.105 MB / 298.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.0009936/0.3258, allocations: 0.5651 MB / 375.5 MB, free: 4.492 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/0.3258, allocations: 12.03 kB / 375.5 MB, free: 4.48 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.398e-05/0.3259, allocations: 31.61 kB / 375.5 MB, free: 4.449 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000334/0.3263, allocations: 226.7 kB / 375.7 MB, free: 4.188 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.844e-05/0.3263, allocations: 20.42 kB / 375.8 MB, free: 4.168 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.662e-05/0.3264, allocations: 23.94 kB / 375.8 MB, free: 4.145 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007967/0.3272, allocations: 384.4 kB / 376.2 MB, free: 3.758 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.3272, allocations: 0 / 376.2 MB, free: 3.758 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.497e-05/0.3273, allocations: 8 kB / 376.2 MB, free: 3.75 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.648e-05/0.3274, allocations: 36.59 kB / 376.2 MB, free: 3.715 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008889/0.3283, allocations: 406.3 kB / 376.6 MB, free: 3.316 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001895/0.3302, allocations: 1.039 MB / 377.6 MB, free: 2.18 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008021/0.331, allocations: 280.2 kB / 377.9 MB, free: 1.902 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.192e-05/0.3311, allocations: 8.25 kB / 377.9 MB, free: 1.895 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.663e-05/0.3311, allocations: 46.73 kB / 378 MB, free: 1.84 MB / 298.7 MB Notification: Performance of pre-optimization done (n=21): time 2.916e-06/0.3311, allocations: 0 / 378 MB, free: 1.84 MB / 298.7 MB Notification: Performance of matching and sorting (n=21): time 0.001019/0.3321, allocations: 342.2 kB / 378.3 MB, free: 1.5 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.836e-05/0.3322, allocations: 55.39 kB / 378.3 MB, free: 1.434 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003039/0.3325, allocations: 219.8 kB / 378.6 MB, free: 1.207 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.458e-05/0.3326, allocations: 29.7 kB / 378.6 MB, free: 1.172 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001492/0.3327, allocations: 210.8 kB / 378.8 MB, free: 0.9609 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.408e-05/0.3328, allocations: 71 kB / 378.9 MB, free: 0.8906 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.97e-05/0.3329, allocations: 4 kB / 378.9 MB, free: 0.8867 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001641/0.333, allocations: 326.8 kB / 379.2 MB, free: 0.5586 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002665/0.3333, allocations: 79.94 kB / 379.3 MB, free: 492 kB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002843/0.3336, allocations: 118.3 kB / 379.4 MB, free: 364 kB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000294/0.3339, allocations: 94.69 kB / 379.5 MB, free: 272 kB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.89e-06/0.334, allocations: 3.984 kB / 379.5 MB, free: 268 kB / 298.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007004/0.3347, allocations: 257.3 kB / 379.7 MB, free: 4 kB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.5e-05/0.3347, allocations: 8.047 kB / 379.7 MB, free: 15.99 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.741e-06/0.3347, allocations: 3.984 kB / 379.7 MB, free: 15.99 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.3348, allocations: 0 / 379.7 MB, free: 15.99 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005416/0.3353, allocations: 91.81 kB / 379.8 MB, free: 15.9 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001856/0.3372, allocations: 2.395 MB / 382.2 MB, free: 13.41 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002276/0.3374, allocations: 31.72 kB / 382.3 MB, free: 13.38 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.743e-05/0.3375, allocations: 15.94 kB / 382.3 MB, free: 13.37 MB / 314.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.0002321/0.3377, allocations: 153.8 kB / 382.4 MB, free: 13.21 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.981e-05/0.3378, allocations: 15.81 kB / 382.4 MB, free: 13.19 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001025/0.3389, allocations: 363.3 kB / 382.8 MB, free: 12.84 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.283e-06/0.3389, allocations: 4 kB / 382.8 MB, free: 12.83 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.138e-06/0.3389, allocations: 3.938 kB / 382.8 MB, free: 12.83 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.431e-06/0.3389, allocations: 0 / 382.8 MB, free: 12.83 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005116/0.3394, allocations: 325.3 kB / 383.1 MB, free: 12.46 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.815e-06/0.3395, allocations: 0 / 383.1 MB, free: 12.46 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005589/0.34, allocations: 91.86 kB / 383.2 MB, free: 12.37 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.175e-06/0.3401, allocations: 0 / 383.2 MB, free: 12.37 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.679e-05/0.3401, allocations: 8 kB / 383.2 MB, free: 12.36 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001819/0.3419, allocations: 2.387 MB / 385.6 MB, free: 9.883 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.568e-06/0.342, allocations: 0 / 385.6 MB, free: 9.883 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007899/0.3428, allocations: 383.8 kB / 386 MB, free: 9.492 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001854/0.343, allocations: 132.8 kB / 386.1 MB, free: 9.344 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.832e-05/0.343, allocations: 4 kB / 386.1 MB, free: 9.34 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002117/0.3432, allocations: 11.98 kB / 386.1 MB, free: 9.328 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.676e-05/0.3433, allocations: 23.92 kB / 386.1 MB, free: 9.305 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.421e-05/0.3434, allocations: 11.98 kB / 386.2 MB, free: 9.293 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002171/0.3436, allocations: 168.2 kB / 386.3 MB, free: 9.129 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.9e-07/0.3436, allocations: 0 / 386.3 MB, free: 9.129 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006581/0.3443, allocations: 159.7 kB / 386.5 MB, free: 8.973 MB / 314.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.0005576/0.3449, allocations: 238.9 kB / 386.7 MB, free: 8.727 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0009673/0.3458, allocations: 263.7 kB / 387 MB, free: 8.469 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.35e-06/0.3459, allocations: 0 / 387 MB, free: 8.469 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006449/0.3465, allocations: 175.9 kB / 387.1 MB, free: 8.297 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003908/0.3469, allocations: 31.97 kB / 387.2 MB, free: 8.266 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001294/0.3483, allocations: 0.6838 MB / 387.9 MB, free: 7.555 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005197/0.3488, allocations: 0.787 MB / 388.6 MB, free: 6.742 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001198/0.3489, allocations: 31.42 kB / 388.7 MB, free: 6.711 MB / 314.7 MB Notification: Performance of SimCode: time 1.467e-06/0.3489, allocations: 3.938 kB / 388.7 MB, free: 6.707 MB / 314.7 MB Notification: Performance of Templates: time 0.01559/0.3645, allocations: 8.431 MB / 397.1 MB, free: 14.28 MB / 330.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]