Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/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.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW") Notification: Performance of loadModel(ModelicaTest): time 2.106/2.106, allocations: 209.2 MB / 224.8 MB, free: 1.211 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004488/0.0004489, allocations: 23.92 kB / 282.6 MB, free: 9.695 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09579/0.09627, allocations: 48.7 MB / 331.3 MB, free: 8.906 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3805/0.4768, allocations: 78.71 MB / 410 MB, free: 6.453 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003202/0.4772, allocations: 95.94 kB / 410.1 MB, free: 6.359 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0256/0.5028, allocations: 5.79 MB / 415.9 MB, free: 0.5039 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.911e-06/0.5029, allocations: 0 / 415.9 MB, free: 0.5039 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.648e-05/0.5029, allocations: 4 kB / 415.9 MB, free: 0.5 MB / 330.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.0008301/0.5037, allocations: 0.5066 MB / 416.4 MB, free: 15.95 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/0.5038, allocations: 8.031 kB / 416.4 MB, free: 15.94 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001207/0.505, allocations: 171.4 kB / 416.6 MB, free: 15.77 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004286/0.5054, allocations: 262 kB / 416.8 MB, free: 15.48 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.019e-05/0.5055, allocations: 20.42 kB / 416.9 MB, free: 15.46 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.86e-05/0.5056, allocations: 23.94 kB / 416.9 MB, free: 15.43 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009228/0.5065, allocations: 429.2 kB / 417.3 MB, free: 14.98 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.372e-05/0.5065, allocations: 0 / 417.3 MB, free: 14.98 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.487e-05/0.5066, allocations: 15.98 kB / 417.3 MB, free: 14.96 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.896e-05/0.5067, allocations: 24.55 kB / 417.3 MB, free: 14.94 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009392/0.5076, allocations: 389.8 kB / 417.7 MB, free: 14.56 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002732/0.5104, allocations: 1.724 MB / 419.4 MB, free: 12.71 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003431/0.5107, allocations: 90.52 kB / 419.5 MB, free: 12.62 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.149e-05/0.5108, allocations: 0 / 419.5 MB, free: 12.62 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.279e-05/0.5108, allocations: 34.56 kB / 419.6 MB, free: 12.57 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 4.599e-06/0.5108, allocations: 3.984 kB / 419.6 MB, free: 12.57 MB / 346.7 MB Notification: Performance of matching and sorting (n=7): time 0.0007643/0.5116, allocations: 201.3 kB / 419.8 MB, free: 12.37 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.593e-05/0.5117, allocations: 51.41 kB / 419.8 MB, free: 12.3 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004629/0.5121, allocations: 301.7 kB / 420.1 MB, free: 12 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.651e-05/0.5122, allocations: 33.7 kB / 420.1 MB, free: 11.96 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001762/0.5124, allocations: 237.9 kB / 420.4 MB, free: 11.73 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.76e-05/0.5124, allocations: 23.66 kB / 420.4 MB, free: 11.71 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.685e-05/0.5125, allocations: 0 / 420.4 MB, free: 11.71 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001701/0.5126, allocations: 322.8 kB / 420.7 MB, free: 11.38 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000262/0.5129, allocations: 75.89 kB / 420.8 MB, free: 11.31 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000291/0.5132, allocations: 125.9 kB / 420.9 MB, free: 11.16 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002884/0.5135, allocations: 91.88 kB / 421 MB, free: 11.07 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.15e-06/0.5135, allocations: 0 / 421 MB, free: 11.07 MB / 346.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0007237/0.5143, allocations: 241.5 kB / 421.2 MB, free: 10.83 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.5143, allocations: 4 kB / 421.2 MB, free: 10.83 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.881e-06/0.5143, allocations: 4 kB / 421.2 MB, free: 10.82 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.5143, allocations: 0 / 421.2 MB, free: 10.82 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001582/0.5159, allocations: 115.8 kB / 421.4 MB, free: 10.71 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002139/0.5181, allocations: 1.844 MB / 423.2 MB, free: 8.797 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003666/0.5185, allocations: 35.7 kB / 423.2 MB, free: 8.762 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.232e-05/0.5185, allocations: 8 kB / 423.2 MB, free: 8.754 MB / 346.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 () * Number of clocked 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.0002385/0.5188, allocations: 157.7 kB / 423.4 MB, free: 8.59 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.617e-05/0.5189, allocations: 23.72 kB / 423.4 MB, free: 8.566 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006916/0.5196, allocations: 207.2 kB / 423.6 MB, free: 8.355 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.825e-06/0.5196, allocations: 4 kB / 423.6 MB, free: 8.352 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.339e-06/0.5196, allocations: 4 kB / 423.6 MB, free: 8.348 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.941e-06/0.5196, allocations: 3.984 kB / 423.6 MB, free: 8.344 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004549/0.5201, allocations: 285.3 kB / 423.9 MB, free: 8.016 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.91e-06/0.5201, allocations: 0 / 423.9 MB, free: 8.016 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001277/0.5214, allocations: 96.66 kB / 424 MB, free: 7.922 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.191e-05/0.5214, allocations: 7.984 kB / 424 MB, free: 7.914 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.899e-05/0.5215, allocations: 0 / 424 MB, free: 7.914 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001628/0.5231, allocations: 1.789 MB / 425.8 MB, free: 6.055 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.621e-06/0.5231, allocations: 4.312 kB / 425.8 MB, free: 6.051 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006058/0.5238, allocations: 263.1 kB / 426.1 MB, free: 5.777 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001215/0.5239, allocations: 104.8 kB / 426.2 MB, free: 5.656 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.996e-05/0.524, allocations: 0 / 426.2 MB, free: 5.656 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002473/0.5242, allocations: 12 kB / 426.2 MB, free: 5.645 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.632e-05/0.5243, allocations: 15.92 kB / 426.2 MB, free: 5.629 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.032e-05/0.5243, allocations: 0 / 426.2 MB, free: 5.629 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003615/0.5247, allocations: 245.8 kB / 426.4 MB, free: 5.387 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.42e-07/0.5247, allocations: 0 / 426.4 MB, free: 5.387 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004862/0.5252, allocations: 71.94 kB / 426.5 MB, free: 5.316 MB / 346.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 (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.0002583/0.5255, allocations: 147.1 kB / 426.6 MB, free: 5.164 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001794/0.5273, allocations: 227.7 kB / 426.9 MB, free: 4.941 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.117e-06/0.5273, allocations: 4 kB / 426.9 MB, free: 4.938 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000996/0.5283, allocations: 107.8 kB / 427 MB, free: 4.832 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004315/0.5288, allocations: 53.12 kB / 427 MB, free: 4.777 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0013/0.5301, allocations: 0.5667 MB / 427.6 MB, free: 4.18 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005401/0.5307, allocations: 0.7872 MB / 428.4 MB, free: 3.367 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001056/0.5308, allocations: 19.44 kB / 428.4 MB, free: 3.352 MB / 346.7 MB Notification: Performance of SimCode: time 1.521e-06/0.5308, allocations: 0 / 428.4 MB, free: 3.352 MB / 346.7 MB Notification: Performance of Templates: time 0.01186/0.5427, allocations: 6.494 MB / 434.9 MB, free: 12.86 MB / 362.7 MB "Error: Could not read variable _derdummy in file ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW_res.mat. Warning: Get data of variable _derdummy from file ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW_res.mat failed! Error: Could not read variable _dummy in file ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW_res.mat. Warning: Get data of variable _dummy from file ModelicaTest_3.2.1_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