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.General.dp_idealGas_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.General.dp_idealGas_DPMFLOW,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|frac_KmToRs.1.|frac_KmToRs.2.|frac_KmToRs.3.|dp_nom.1.|dp_nom.2.|dp_nom.3.|p_2.1.|p_2.2.|p_2.3.|m_flow_nom.1.|m_flow_nom.2.|m_flow_nom.3.|Km.1.|Km.2.|Km.3.|input_mdot.1.|input_mdot.2.|input_mdot.3.|input_dp.1.|input_dp.2.|input_dp.3.|M_FLOW.1.|M_FLOW.2.|M_FLOW.3.|DP.1.|DP.2.|DP.3.|DP_plot.1.|DP_plot.2.|DP_plot.3.|input_DP.y",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW") Notification: Performance of loadModel(ModelicaTest): time 2.264/2.264, allocations: 235 MB / 248.1 MB, free: 14.37 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.757e-05/2.771e-05, allocations: 7.984 kB / 309.7 MB, free: 1.301 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3175/0.3175, allocations: 54.85 MB / 364.6 MB, free: 5.559 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1264/0.4439, allocations: 85.05 MB / 449.6 MB, free: 11.43 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003148/0.4443, allocations: 91.92 kB / 449.7 MB, free: 11.34 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0245/0.4688, allocations: 5.794 MB / 455.5 MB, free: 5.496 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.838e-06/0.4689, allocations: 0 / 455.5 MB, free: 5.496 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.588e-05/0.4689, allocations: 4 kB / 455.5 MB, free: 5.492 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.0007122/0.4696, allocations: 486.2 kB / 456 MB, free: 4.973 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/0.4697, allocations: 12.03 kB / 456 MB, free: 4.961 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0012/0.4709, allocations: 167.4 kB / 456.2 MB, free: 4.797 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004146/0.4713, allocations: 258.6 kB / 456.4 MB, free: 4.504 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.434e-05/0.4714, allocations: 12.44 kB / 456.4 MB, free: 4.492 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.803e-05/0.4714, allocations: 28 kB / 456.4 MB, free: 4.465 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008088/0.4722, allocations: 409.3 kB / 456.8 MB, free: 4.02 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.435e-05/0.4723, allocations: 4 kB / 456.8 MB, free: 4.016 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.762e-05/0.4723, allocations: 19.89 kB / 456.9 MB, free: 3.996 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.99e-05/0.4724, allocations: 20.55 kB / 456.9 MB, free: 3.977 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007591/0.4732, allocations: 357.8 kB / 457.2 MB, free: 3.629 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00268/0.4759, allocations: 1.728 MB / 459 MB, free: 1.777 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000251/0.4762, allocations: 78.53 kB / 459 MB, free: 1.691 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001229/0.4763, allocations: 36.84 kB / 459.1 MB, free: 1.652 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.477e-05/0.4763, allocations: 8 kB / 459.1 MB, free: 1.645 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.932e-05/0.4764, allocations: 30.56 kB / 459.1 MB, free: 1.605 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 3.553e-06/0.4764, allocations: 0 / 459.1 MB, free: 1.605 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.000417/0.4768, allocations: 125.4 kB / 459.2 MB, free: 1.477 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.201e-05/0.4769, allocations: 55.36 kB / 459.3 MB, free: 1.41 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004515/0.4773, allocations: 295.1 kB / 459.6 MB, free: 1.113 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.692e-05/0.4774, allocations: 25.7 kB / 459.6 MB, free: 1.082 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001711/0.4776, allocations: 233.8 kB / 459.8 MB, free: 0.8516 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.967e-05/0.4776, allocations: 27.66 kB / 459.9 MB, free: 0.8242 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.777e-05/0.4776, allocations: 0 / 459.9 MB, free: 0.8242 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001618/0.4778, allocations: 322.8 kB / 460.2 MB, free: 0.5 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001757/0.478, allocations: 55.97 kB / 460.2 MB, free: 456 kB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002104/0.4782, allocations: 101.1 kB / 460.3 MB, free: 336 kB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001998/0.4784, allocations: 75.89 kB / 460.4 MB, free: 260 kB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.702e-06/0.4785, allocations: 0 / 460.4 MB, free: 260 kB / 378.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005434/0.479, allocations: 197.4 kB / 460.6 MB, free: 56 kB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.107e-05/0.479, allocations: 4.188 kB / 460.6 MB, free: 52 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.146e-05/0.4791, allocations: 11.95 kB / 460.6 MB, free: 40 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/0.4791, allocations: 0 / 460.6 MB, free: 40 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001705/0.4808, allocations: 123 kB / 460.7 MB, free: 15.92 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002149/0.483, allocations: 1.84 MB / 462.6 MB, free: 14.01 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003762/0.4834, allocations: 43.56 kB / 462.6 MB, free: 13.97 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.023e-05/0.4834, allocations: 8.188 kB / 462.6 MB, free: 13.96 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * 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: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001327/0.4836, allocations: 116.9 kB / 462.7 MB, free: 13.84 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.078e-05/0.4837, allocations: 23.66 kB / 462.8 MB, free: 13.82 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005397/0.4842, allocations: 175.3 kB / 462.9 MB, free: 13.64 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.291e-06/0.4843, allocations: 0 / 462.9 MB, free: 13.64 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.4843, allocations: 0 / 462.9 MB, free: 13.64 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.142e-06/0.4843, allocations: 3.984 kB / 462.9 MB, free: 13.63 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004488/0.4847, allocations: 273.5 kB / 463.2 MB, free: 13.32 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.877e-06/0.4848, allocations: 0 / 463.2 MB, free: 13.32 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001319/0.4861, allocations: 103.8 kB / 463.3 MB, free: 13.21 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.026e-05/0.4861, allocations: 3.984 kB / 463.3 MB, free: 13.21 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.939e-05/0.4862, allocations: 0 / 463.3 MB, free: 13.21 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001609/0.4878, allocations: 1.797 MB / 465.1 MB, free: 11.34 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.563e-06/0.4878, allocations: 4.281 kB / 465.1 MB, free: 11.34 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004319/0.4882, allocations: 227.2 kB / 465.3 MB, free: 11.1 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001193/0.4884, allocations: 104.8 kB / 465.4 MB, free: 10.98 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.04e-05/0.4884, allocations: 0 / 465.4 MB, free: 10.98 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002642/0.4887, allocations: 11.98 kB / 465.4 MB, free: 10.97 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.84e-05/0.4888, allocations: 19.88 kB / 465.5 MB, free: 10.95 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.182e-05/0.4888, allocations: 4 kB / 465.5 MB, free: 10.95 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003538/0.4892, allocations: 243.1 kB / 465.7 MB, free: 10.71 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.43e-07/0.4892, allocations: 0 / 465.7 MB, free: 10.71 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004841/0.4897, allocations: 71.84 kB / 465.8 MB, free: 10.64 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * 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: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000256/0.49, allocations: 135.2 kB / 465.9 MB, free: 10.5 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001617/0.4916, allocations: 195.9 kB / 466.1 MB, free: 10.3 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.012e-05/0.4917, allocations: 0 / 466.1 MB, free: 10.3 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009259/0.4926, allocations: 95.83 kB / 466.2 MB, free: 10.21 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003906/0.493, allocations: 49.17 kB / 466.2 MB, free: 10.16 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009431/0.494, allocations: 349.8 kB / 466.6 MB, free: 9.789 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004877/0.4945, allocations: 0.7794 MB / 467.4 MB, free: 8.98 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001069/0.4946, allocations: 23.42 kB / 467.4 MB, free: 8.957 MB / 394.7 MB Notification: Performance of SimCode: time 1.843e-06/0.4946, allocations: 0 / 467.4 MB, free: 8.957 MB / 394.7 MB Notification: Performance of Templates: time 0.01183/0.5064, allocations: 6.503 MB / 473.9 MB, free: 2.469 MB / 394.7 MB "Error: Could not read variable _derdummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW_res.mat. Warning: Get data of variable _derdummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW_res.mat failed! Error: Could not read variable _dummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW_res.mat. Warning: Get data of variable _dummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW_res.mat failed! " Variables in the reference:time,frac_KmToRs[1],frac_KmToRs[2],frac_KmToRs[3],dp_nom[1],dp_nom[2],dp_nom[3],p_2[1],p_2[2],p_2[3],m_flow_nom[1],m_flow_nom[2],m_flow_nom[3],Km[1],Km[2],Km[3],input_mdot[1],input_mdot[2],input_mdot[3],input_dp[1],input_dp[2],input_dp[3],M_FLOW[1],M_FLOW[2],M_FLOW[3],DP[1],DP[2],DP[3],DP_plot[1],DP_plot[2],DP_plot[3],input_DP.y Variables in the result:DP[1],DP[2],DP[3],DP_plot[1],DP_plot[2],DP_plot[3],Km[1],Km[2],Km[3],M_FLOW[1],M_FLOW[2],M_FLOW[3],R_s,T_m,dp_IN_con[1].Km,dp_IN_con[1].R_s,dp_IN_con[1].dp_smooth,dp_IN_con[1].exp,dp_IN_con[2].Km,dp_IN_con[2].R_s,dp_IN_con[2].dp_smooth,dp_IN_con[2].exp,dp_IN_con[3].Km,dp_IN_con[3].R_s,dp_IN_con[3].dp_smooth,dp_IN_con[3].exp,dp_IN_var[1].T_m,dp_IN_var[1].p_m,dp_IN_var[1].rho_m,dp_IN_var[2].T_m,dp_IN_var[2].p_m,dp_IN_var[2].rho_m,dp_IN_var[3].T_m,dp_IN_var[3].p_m,dp_IN_var[3].rho_m,dp_nom[1],dp_nom[2],dp_nom[3],exp,frac_KmToRs[1],frac_KmToRs[2],frac_KmToRs[3],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_mdot[1],input_mdot[2],input_mdot[3],m_flow_IN_con[1].Km,m_flow_IN_con[1].R_s,m_flow_IN_con[1].dp_smooth,m_flow_IN_con[1].exp,m_flow_IN_con[2].Km,m_flow_IN_con[2].R_s,m_flow_IN_con[2].dp_smooth,m_flow_IN_con[2].exp,m_flow_IN_con[3].Km,m_flow_IN_con[3].R_s,m_flow_IN_con[3].dp_smooth,m_flow_IN_con[3].exp,m_flow_IN_var[1].T_m,m_flow_IN_var[1].p_m,m_flow_IN_var[1].rho_m,m_flow_IN_var[2].T_m,m_flow_IN_var[2].p_m,m_flow_IN_var[2].rho_m,m_flow_IN_var[3].T_m,m_flow_IN_var[3].p_m,m_flow_IN_var[3].rho_m,m_flow_nom[1],m_flow_nom[2],m_flow_nom[3],n,p_1,p_2[1],p_2[2],p_2[3],p_m,rho_m,time