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_curvedOverall_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_curvedOverall_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Bend_dp_curvedOverall_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.362/2.362, allocations: 234.9 MB / 250.5 MB, free: 10.66 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004288/0.000429, allocations: 12 kB / 314.4 MB, free: 10.6 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3472/0.3477, allocations: 54.86 MB / 369.3 MB, free: 10.86 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW): time 0.00315/0.3509, allocations: 1.715 MB / 371 MB, free: 9.129 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003995/0.355, allocations: 1.682 MB / 372.7 MB, free: 7.438 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001734/0.3552, allocations: 4 kB / 372.7 MB, free: 7.434 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003566/0.3556, allocations: 67.66 kB / 372.8 MB, free: 7.367 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004431/0.356, allocations: 99.73 kB / 372.9 MB, free: 7.27 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001901/0.3579, allocations: 0.5145 MB / 373.4 MB, free: 6.754 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005022/0.3585, allocations: 251.5 kB / 373.6 MB, free: 6.508 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001089/0.3586, allocations: 32.73 kB / 373.6 MB, free: 6.477 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000268/0.3589, allocations: 127.5 kB / 373.8 MB, free: 6.352 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002566/0.3591, allocations: 135.5 kB / 373.9 MB, free: 6.219 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.444e-05/0.3592, allocations: 8 kB / 373.9 MB, free: 6.211 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00333/0.3625, allocations: 1.603 MB / 375.5 MB, free: 4.605 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002347/0.3628, allocations: 83.72 kB / 375.6 MB, free: 4.523 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001638/0.363, allocations: 77.52 kB / 375.7 MB, free: 4.441 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001495/0.3645, allocations: 0.5155 MB / 376.2 MB, free: 3.926 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.3645, allocations: 0 / 376.2 MB, free: 3.926 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.274e-06/0.3646, allocations: 0 / 376.2 MB, free: 3.926 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.193e-06/0.3646, allocations: 0 / 376.2 MB, free: 3.926 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: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.001499/0.3661, allocations: 0.6176 MB / 376.8 MB, free: 3.258 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.868e-05/0.3662, allocations: 16.03 kB / 376.8 MB, free: 3.242 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001235/0.3663, allocations: 82.5 kB / 376.9 MB, free: 3.152 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001027/0.3664, allocations: 35.53 kB / 376.9 MB, free: 3.117 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004309/0.3669, allocations: 254.5 kB / 377.2 MB, free: 2.828 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.514e-05/0.3669, allocations: 28.64 kB / 377.2 MB, free: 2.801 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.469e-05/0.367, allocations: 28 kB / 377.2 MB, free: 2.773 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001239/0.3682, allocations: 0.4998 MB / 377.7 MB, free: 2.266 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.622e-05/0.3683, allocations: 4 kB / 377.7 MB, free: 2.262 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.153e-05/0.3683, allocations: 19.94 kB / 377.8 MB, free: 2.242 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000112/0.3685, allocations: 48.95 kB / 377.8 MB, free: 2.195 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001413/0.3699, allocations: 0.5386 MB / 378.4 MB, free: 1.656 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002974/0.3729, allocations: 1.329 MB / 379.7 MB, free: 220 kB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001379/0.3743, allocations: 374.3 kB / 380 MB, free: 15.84 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.85e-05/0.3744, allocations: 15.92 kB / 380.1 MB, free: 15.82 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.673e-05/0.3744, allocations: 42.72 kB / 380.1 MB, free: 15.77 MB / 314.7 MB Notification: Performance of pre-optimization done (n=26): time 3.427e-06/0.3745, allocations: 0 / 380.1 MB, free: 15.77 MB / 314.7 MB Notification: Performance of matching and sorting (n=26): time 0.001577/0.376, allocations: 437.6 kB / 380.5 MB, free: 15.34 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.502e-05/0.3761, allocations: 51.41 kB / 380.6 MB, free: 15.28 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000496/0.3766, allocations: 306.6 kB / 380.9 MB, free: 14.97 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.846e-05/0.3767, allocations: 29.7 kB / 380.9 MB, free: 14.94 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001774/0.3769, allocations: 258.4 kB / 381.2 MB, free: 14.68 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001047/0.377, allocations: 86.75 kB / 381.2 MB, free: 14.6 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.206e-05/0.377, allocations: 4 kB / 381.3 MB, free: 14.59 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001347/0.3772, allocations: 330.8 kB / 381.6 MB, free: 14.26 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004469/0.3776, allocations: 123.9 kB / 381.7 MB, free: 14.14 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005024/0.3781, allocations: 162.7 kB / 381.9 MB, free: 13.97 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005108/0.3787, allocations: 149.2 kB / 382 MB, free: 13.83 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.3787, allocations: 0 / 382 MB, free: 13.83 MB / 314.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001191/0.3799, allocations: 370.6 kB / 382.4 MB, free: 13.46 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.34e-05/0.3799, allocations: 4 kB / 382.4 MB, free: 13.46 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.258e-05/0.38, allocations: 7.953 kB / 382.4 MB, free: 13.45 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.081e-05/0.38, allocations: 0 / 382.4 MB, free: 13.45 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001085/0.3811, allocations: 123.8 kB / 382.5 MB, free: 13.33 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00208/0.3832, allocations: 3.008 MB / 385.5 MB, free: 10.2 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004551/0.3837, allocations: 43.48 kB / 385.5 MB, free: 10.16 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.873e-05/0.3838, allocations: 23.98 kB / 385.6 MB, free: 10.14 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 (36): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * 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: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003128/0.3841, allocations: 181.7 kB / 385.7 MB, free: 9.949 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.995e-05/0.3842, allocations: 23.72 kB / 385.8 MB, free: 9.926 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001721/0.3859, allocations: 471.1 kB / 386.2 MB, free: 9.461 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.131e-05/0.3859, allocations: 4 kB / 386.2 MB, free: 9.457 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.301e-06/0.386, allocations: 3.938 kB / 386.2 MB, free: 9.453 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.506e-06/0.386, allocations: 3.984 kB / 386.2 MB, free: 9.449 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007344/0.3867, allocations: 381.1 kB / 386.6 MB, free: 9.027 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/0.3867, allocations: 0 / 386.6 MB, free: 9.027 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001007/0.3878, allocations: 115.8 kB / 386.7 MB, free: 8.914 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.078e-05/0.3878, allocations: 4 kB / 386.7 MB, free: 8.91 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.069e-05/0.3878, allocations: 11.98 kB / 386.7 MB, free: 8.898 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002041/0.3899, allocations: 3 MB / 389.7 MB, free: 5.781 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.3899, allocations: 288 / 389.7 MB, free: 5.781 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001192/0.3911, allocations: 466.6 kB / 390.2 MB, free: 5.309 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000124/0.3913, allocations: 112.7 kB / 390.3 MB, free: 5.18 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.176e-05/0.3914, allocations: 4 kB / 390.3 MB, free: 5.176 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003423/0.3917, allocations: 19.98 kB / 390.3 MB, free: 5.156 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.46e-05/0.3918, allocations: 19.97 kB / 390.4 MB, free: 5.137 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.78e-05/0.3919, allocations: 15.98 kB / 390.4 MB, free: 5.121 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0003502/0.3922, allocations: 221.9 kB / 390.6 MB, free: 4.902 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.3923, allocations: 0 / 390.6 MB, free: 4.902 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0007903/0.3931, allocations: 183.7 kB / 390.8 MB, free: 4.723 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 (31): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * 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: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00214/0.3952, allocations: 1.114 MB / 391.9 MB, free: 3.578 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001666/0.3969, allocations: 379.8 kB / 392.2 MB, free: 3.207 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.397, allocations: 0 / 392.2 MB, free: 3.207 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001104/0.3981, allocations: 219.8 kB / 392.5 MB, free: 2.992 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005923/0.3987, allocations: 68.39 kB / 392.5 MB, free: 2.926 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005055/0.4037, allocations: 2.164 MB / 394.7 MB, free: 0.6953 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005413/0.4043, allocations: 0.8379 MB / 395.5 MB, free: 15.83 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003242/0.4047, allocations: 123.3 kB / 395.7 MB, free: 15.71 MB / 330.7 MB Notification: Performance of SimCode: time 1.383e-06/0.4047, allocations: 0 / 395.7 MB, free: 15.71 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.949/3.353, allocations: 14.14 MB / 409.8 MB, free: 1.566 MB / 330.7 MB "Error: Could not read variable _derdummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW_res.mat. Warning: Get data of variable _derdummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW_res.mat failed! Error: Could not read variable _dummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW_res.mat. Warning: Get data of variable _dummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW_res.mat failed! " Variables in the reference:time,delta[1],delta[2],delta[3],R_0[1],R_0[2],eta,rho,input_mdot_1[1],input_mdot_1[2],input_dp_1[1],input_dp_1[2],M_FLOW_1[1],M_FLOW_1[2],DP_1[1],DP_1[2],input_mdot_2[1],input_mdot_2[2],input_mdot_2[3],input_dp_2[1],input_dp_2[2],input_dp_2[3],M_FLOW_2[1],M_FLOW_2[2],M_FLOW_2[3],DP_2[1],DP_2[2],DP_2[3],frac_RD[1],frac_RD[2],velocity_1[1],velocity_1[2],Re_1[1],Re_1[2],velocity_2[1],velocity_2[2],velocity_2[3],Re_2[1],Re_2[2],Re_2[3],DP_plot_1[1],DP_plot_1[2],DP_plot_2[1],DP_plot_2[2],DP_plot_2[3],zeta_TOT_1[1],zeta_TOT_1[2],zeta_TOT_2[1],zeta_TOT_2[2],zeta_TOT_2[3],input_DP.y Variables in the result:A_cross,DP_1[1],DP_1[2],DP_2[1],DP_2[2],DP_2[3],DP_plot_1[1],DP_plot_1[2],DP_plot_2[1],DP_plot_2[2],DP_plot_2[3],K,M_FLOW_1[1],M_FLOW_1[2],M_FLOW_2[1],M_FLOW_2[2],M_FLOW_2[3],R_0[1],R_0[2],Re_1[1],Re_1[2],Re_2[1],Re_2[2],Re_2[3],d_hyd,delta[1],delta[2],delta[3],dp_IN_con_1[1].K,dp_IN_con_1[1].R_0,dp_IN_con_1[1].d_hyd,dp_IN_con_1[1].delta,dp_IN_con_1[2].K,dp_IN_con_1[2].R_0,dp_IN_con_1[2].d_hyd,dp_IN_con_1[2].delta,dp_IN_con_2[1].K,dp_IN_con_2[1].R_0,dp_IN_con_2[1].d_hyd,dp_IN_con_2[1].delta,dp_IN_con_2[2].K,dp_IN_con_2[2].R_0,dp_IN_con_2[2].d_hyd,dp_IN_con_2[2].delta,dp_IN_con_2[3].K,dp_IN_con_2[3].R_0,dp_IN_con_2[3].d_hyd,dp_IN_con_2[3].delta,dp_IN_var_1[1].eta,dp_IN_var_1[1].rho,dp_IN_var_1[2].eta,dp_IN_var_1[2].rho,dp_IN_var_2[1].eta,dp_IN_var_2[1].rho,dp_IN_var_2[2].eta,dp_IN_var_2[2].rho,dp_IN_var_2[3].eta,dp_IN_var_2[3].rho,eta,frac_RD[1],frac_RD[2],input_DP.duration,input_DP.height,input_DP.offset,input_DP.startTime,input_DP.y,input_dp_1[1],input_dp_1[2],input_dp_2[1],input_dp_2[2],input_dp_2[3],input_mdot_1[1],input_mdot_1[2],input_mdot_2[1],input_mdot_2[2],input_mdot_2[3],m,m_flow_IN_con_1[1].K,m_flow_IN_con_1[1].R_0,m_flow_IN_con_1[1].d_hyd,m_flow_IN_con_1[1].delta,m_flow_IN_con_1[2].K,m_flow_IN_con_1[2].R_0,m_flow_IN_con_1[2].d_hyd,m_flow_IN_con_1[2].delta,m_flow_IN_con_2[1].K,m_flow_IN_con_2[1].R_0,m_flow_IN_con_2[1].d_hyd,m_flow_IN_con_2[1].delta,m_flow_IN_con_2[2].K,m_flow_IN_con_2[2].R_0,m_flow_IN_con_2[2].d_hyd,m_flow_IN_con_2[2].delta,m_flow_IN_con_2[3].K,m_flow_IN_con_2[3].R_0,m_flow_IN_con_2[3].d_hyd,m_flow_IN_con_2[3].delta,m_flow_IN_var_1[1].eta,m_flow_IN_var_1[1].rho,m_flow_IN_var_1[2].eta,m_flow_IN_var_1[2].rho,m_flow_IN_var_2[1].eta,m_flow_IN_var_2[1].rho,m_flow_IN_var_2[2].eta,m_flow_IN_var_2[2].rho,m_flow_IN_var_2[3].eta,m_flow_IN_var_2[3].rho,n,rho,time,velocity_1[1],velocity_1[2],velocity_2[1],velocity_2[2],velocity_2[3],zeta_TOT_1[1],zeta_TOT_1[2],zeta_TOT_2[1],zeta_TOT_2[2],zeta_TOT_2[3]