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: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Bend_dp_edgedOverall_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.306/2.306, allocations: 234.9 MB / 250.5 MB, free: 10.54 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004284/0.0004285, allocations: 8 kB / 314.4 MB, free: 10.47 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3423/0.3427, allocations: 54.87 MB / 369.3 MB, free: 10.85 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW): time 0.002724/0.3455, allocations: 1.478 MB / 370.8 MB, free: 9.352 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003638/0.3492, allocations: 1.589 MB / 372.4 MB, free: 7.754 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001298/0.3494, allocations: 0 / 372.4 MB, free: 7.754 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002969/0.3497, allocations: 39.8 kB / 372.4 MB, free: 7.715 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002953/0.35, allocations: 55.84 kB / 372.5 MB, free: 7.66 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001742/0.3518, allocations: 0.5029 MB / 373 MB, free: 7.156 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003586/0.3522, allocations: 163.6 kB / 373.1 MB, free: 6.996 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.923e-05/0.3523, allocations: 17.67 kB / 373.1 MB, free: 6.98 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002325/0.3525, allocations: 83.67 kB / 373.2 MB, free: 6.898 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001864/0.3527, allocations: 91.55 kB / 373.3 MB, free: 6.809 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.524e-05/0.3528, allocations: 12 kB / 373.3 MB, free: 6.797 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002519/0.3553, allocations: 1.139 MB / 374.5 MB, free: 5.656 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001753/0.3555, allocations: 55.81 kB / 374.5 MB, free: 5.602 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001233/0.3557, allocations: 61.58 kB / 374.6 MB, free: 5.535 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001284/0.357, allocations: 432.2 kB / 375 MB, free: 5.113 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.357, allocations: 0 / 375 MB, free: 5.113 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.645e-06/0.357, allocations: 0 / 375 MB, free: 5.113 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.298e-06/0.357, allocations: 0 / 375 MB, free: 5.113 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.001239/0.3583, allocations: 0.5652 MB / 375.6 MB, free: 4.5 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.279e-05/0.3584, allocations: 8.031 kB / 375.6 MB, free: 4.492 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001134/0.3585, allocations: 74.42 kB / 375.6 MB, free: 4.41 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.151e-05/0.3586, allocations: 27.62 kB / 375.7 MB, free: 4.383 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003723/0.3589, allocations: 230.7 kB / 375.9 MB, free: 4.117 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.765e-05/0.359, allocations: 12.44 kB / 375.9 MB, free: 4.105 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.765e-05/0.3591, allocations: 23.94 kB / 375.9 MB, free: 4.082 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009894/0.3601, allocations: 384.4 kB / 376.3 MB, free: 3.695 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.423e-05/0.3601, allocations: 0 / 376.3 MB, free: 3.695 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.876e-05/0.3602, allocations: 12 kB / 376.3 MB, free: 3.684 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.338e-05/0.3602, allocations: 36.58 kB / 376.4 MB, free: 3.648 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001106/0.3614, allocations: 398.3 kB / 376.7 MB, free: 3.258 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002361/0.3637, allocations: 1.039 MB / 377.8 MB, free: 2.121 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001059/0.3648, allocations: 291.6 kB / 378.1 MB, free: 1.828 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.5e-05/0.3649, allocations: 4.25 kB / 378.1 MB, free: 1.824 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.532e-05/0.365, allocations: 46.67 kB / 378.1 MB, free: 1.77 MB / 298.7 MB Notification: Performance of pre-optimization done (n=21): time 3.326e-06/0.365, allocations: 0 / 378.1 MB, free: 1.77 MB / 298.7 MB Notification: Performance of matching and sorting (n=21): time 0.001293/0.3663, allocations: 339.7 kB / 378.4 MB, free: 1.434 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.445e-05/0.3664, allocations: 55.34 kB / 378.5 MB, free: 1.367 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003331/0.3667, allocations: 219.8 kB / 378.7 MB, free: 1.141 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.571e-05/0.3668, allocations: 29.7 kB / 378.7 MB, free: 1.105 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001432/0.3669, allocations: 210.8 kB / 379 MB, free: 0.8945 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.441e-05/0.367, allocations: 70.91 kB / 379 MB, free: 0.8242 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.43e-05/0.3671, allocations: 12 kB / 379 MB, free: 0.8125 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001393/0.3672, allocations: 318.8 kB / 379.3 MB, free: 0.4922 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003558/0.3676, allocations: 79.94 kB / 379.4 MB, free: 424 kB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003657/0.368, allocations: 122.9 kB / 379.5 MB, free: 292 kB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003795/0.3684, allocations: 98.67 kB / 379.6 MB, free: 196 kB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.192e-06/0.3684, allocations: 4 kB / 379.6 MB, free: 192 kB / 298.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000904/0.3693, allocations: 253.4 kB / 379.9 MB, free: 15.93 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.08e-05/0.3693, allocations: 4 kB / 379.9 MB, free: 15.93 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.687e-06/0.3693, allocations: 0 / 379.9 MB, free: 15.93 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.074e-05/0.3694, allocations: 4 kB / 379.9 MB, free: 15.93 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008044/0.3702, allocations: 87.86 kB / 380 MB, free: 15.84 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001656/0.3719, allocations: 2.391 MB / 382.4 MB, free: 13.36 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003306/0.3722, allocations: 31.72 kB / 382.4 MB, free: 13.32 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.157e-05/0.3723, allocations: 15.94 kB / 382.4 MB, free: 13.31 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.0002574/0.3726, allocations: 157.7 kB / 382.6 MB, free: 13.14 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.417e-05/0.3726, allocations: 15.81 kB / 382.6 MB, free: 13.13 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001311/0.3739, allocations: 367.3 kB / 382.9 MB, free: 12.77 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/0.374, allocations: 4 kB / 383 MB, free: 12.77 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/0.374, allocations: 0 / 383 MB, free: 12.77 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.374, allocations: 4 kB / 383 MB, free: 12.76 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005867/0.3746, allocations: 317.3 kB / 383.3 MB, free: 12.4 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.3746, allocations: 0 / 383.3 MB, free: 12.4 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000804/0.3754, allocations: 91.86 kB / 383.4 MB, free: 12.31 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.414e-06/0.3755, allocations: 0 / 383.4 MB, free: 12.31 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.157e-05/0.3755, allocations: 8 kB / 383.4 MB, free: 12.3 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001725/0.3773, allocations: 2.391 MB / 385.8 MB, free: 9.82 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.3773, allocations: 3.938 kB / 385.8 MB, free: 9.816 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00103/0.3784, allocations: 375.7 kB / 386.1 MB, free: 9.434 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002119/0.3786, allocations: 132.8 kB / 386.3 MB, free: 9.285 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.391e-05/0.3787, allocations: 4 kB / 386.3 MB, free: 9.281 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002859/0.379, allocations: 15.98 kB / 386.3 MB, free: 9.266 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.961e-05/0.3791, allocations: 23.86 kB / 386.3 MB, free: 9.242 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.114e-05/0.3791, allocations: 8 kB / 386.3 MB, free: 9.234 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002728/0.3794, allocations: 168.2 kB / 386.5 MB, free: 9.07 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.3794, allocations: 0 / 386.5 MB, free: 9.07 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0007702/0.3802, allocations: 167.6 kB / 386.6 MB, free: 8.906 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.001982/0.3822, allocations: 1.028 MB / 387.7 MB, free: 7.848 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001346/0.3836, allocations: 268.3 kB / 387.9 MB, free: 7.586 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.362e-06/0.3836, allocations: 4 kB / 387.9 MB, free: 7.582 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008569/0.3845, allocations: 179.8 kB / 388.1 MB, free: 7.406 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004943/0.385, allocations: 35.39 kB / 388.1 MB, free: 7.375 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004019/0.389, allocations: 1.676 MB / 389.8 MB, free: 5.648 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004721/0.3896, allocations: 0.787 MB / 390.6 MB, free: 4.832 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002479/0.3898, allocations: 83.39 kB / 390.7 MB, free: 4.746 MB / 314.7 MB Notification: Performance of SimCode: time 1.052e-06/0.3898, allocations: 4 kB / 390.7 MB, free: 4.742 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.86/3.25, allocations: 9.564 MB / 400.2 MB, free: 11.18 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]