Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.296/2.296, allocations: 209.2 MB / 225.4 MB, free: 0.6211 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009056/0.0009059, allocations: 16 kB / 283.1 MB, free: 9.68 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.367/0.3679, allocations: 48.7 MB / 331.8 MB, free: 6.535 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1424/0.5104, allocations: 78.71 MB / 410.5 MB, free: 15.75 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003872/0.5109, allocations: 95.94 kB / 410.6 MB, free: 15.66 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02704/0.5379, allocations: 5.797 MB / 416.4 MB, free: 9.777 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.538, allocations: 0 / 416.4 MB, free: 9.777 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.291e-05/0.538, allocations: 4 kB / 416.4 MB, free: 9.773 MB / 346.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.0009739/0.539, allocations: 0.5027 MB / 416.9 MB, free: 9.223 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.514e-05/0.5391, allocations: 8.031 kB / 416.9 MB, free: 9.215 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001664/0.5407, allocations: 171.4 kB / 417.1 MB, free: 9.047 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005038/0.5413, allocations: 262.6 kB / 417.4 MB, free: 8.75 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.979e-05/0.5413, allocations: 16.38 kB / 417.4 MB, free: 8.734 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.782e-05/0.5414, allocations: 24 kB / 417.4 MB, free: 8.711 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001092/0.5425, allocations: 433.2 kB / 417.8 MB, free: 8.254 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.495e-05/0.5425, allocations: 0 / 417.8 MB, free: 8.254 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.39e-05/0.5426, allocations: 15.98 kB / 417.8 MB, free: 8.238 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.074e-05/0.5427, allocations: 16.56 kB / 417.9 MB, free: 8.223 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001192/0.5439, allocations: 397.8 kB / 418.2 MB, free: 7.832 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003461/0.5473, allocations: 1.712 MB / 420 MB, free: 6 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004419/0.5478, allocations: 102.5 kB / 420.1 MB, free: 5.891 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.723e-05/0.5479, allocations: 4 kB / 420.1 MB, free: 5.887 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.317e-05/0.5479, allocations: 30.56 kB / 420.1 MB, free: 5.848 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 2.565e-06/0.5479, allocations: 0 / 420.1 MB, free: 5.848 MB / 346.7 MB Notification: Performance of matching and sorting (n=7): time 0.001009/0.5489, allocations: 205.5 kB / 420.3 MB, free: 5.641 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.703e-05/0.549, allocations: 55.41 kB / 420.3 MB, free: 5.574 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005592/0.5496, allocations: 334.5 kB / 420.7 MB, free: 5.238 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.223e-05/0.5496, allocations: 25.7 kB / 420.7 MB, free: 5.207 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001703/0.5498, allocations: 225.8 kB / 420.9 MB, free: 4.984 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.586e-05/0.5499, allocations: 35.58 kB / 420.9 MB, free: 4.949 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.524e-05/0.5499, allocations: 8 kB / 421 MB, free: 4.941 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001514/0.5501, allocations: 314.8 kB / 421.3 MB, free: 4.625 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003328/0.5504, allocations: 75.88 kB / 421.3 MB, free: 4.551 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003838/0.5508, allocations: 125.9 kB / 421.5 MB, free: 4.406 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003708/0.5512, allocations: 87.94 kB / 421.5 MB, free: 4.32 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.221e-05/0.5512, allocations: 4 kB / 421.5 MB, free: 4.316 MB / 346.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0008773/0.5521, allocations: 229.5 kB / 421.8 MB, free: 4.086 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.365e-05/0.5522, allocations: 12 kB / 421.8 MB, free: 4.074 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/0.5522, allocations: 0 / 421.8 MB, free: 4.074 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.048e-05/0.5522, allocations: 4 kB / 421.8 MB, free: 4.07 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002658/0.5549, allocations: 123.8 kB / 421.9 MB, free: 3.949 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003042/0.5579, allocations: 1.832 MB / 423.7 MB, free: 2.047 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000563/0.5586, allocations: 39.98 kB / 423.8 MB, free: 2.008 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.325e-05/0.5586, allocations: 8 kB / 423.8 MB, free: 2 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.0002787/0.5589, allocations: 161.7 kB / 423.9 MB, free: 1.832 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.98e-05/0.559, allocations: 23.72 kB / 424 MB, free: 1.809 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009457/0.5599, allocations: 203.2 kB / 424.2 MB, free: 1.602 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.454e-06/0.56, allocations: 4 kB / 424.2 MB, free: 1.598 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.508e-06/0.56, allocations: 0 / 424.2 MB, free: 1.598 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.56, allocations: 7.875 kB / 424.2 MB, free: 1.59 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000505/0.5605, allocations: 285.4 kB / 424.5 MB, free: 1.262 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.5605, allocations: 7.984 kB / 424.5 MB, free: 1.254 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002139/0.5627, allocations: 96.66 kB / 424.6 MB, free: 1.16 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.831e-06/0.5627, allocations: 0 / 424.6 MB, free: 1.16 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.424e-05/0.5628, allocations: 4 kB / 424.6 MB, free: 1.156 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001809/0.5646, allocations: 1.789 MB / 426.4 MB, free: 15.3 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.367e-06/0.5646, allocations: 0 / 426.4 MB, free: 15.3 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008178/0.5654, allocations: 271.4 kB / 426.6 MB, free: 15.02 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001304/0.5656, allocations: 100.8 kB / 426.7 MB, free: 14.9 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.256e-05/0.5657, allocations: 0 / 426.7 MB, free: 14.9 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003499/0.566, allocations: 7.984 kB / 426.7 MB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.389e-05/0.5661, allocations: 15.98 kB / 426.7 MB, free: 14.88 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.985e-05/0.5662, allocations: 7.938 kB / 426.7 MB, free: 14.87 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004221/0.5666, allocations: 237.9 kB / 427 MB, free: 14.63 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.5666, allocations: 0 / 427 MB, free: 14.63 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004945/0.5671, allocations: 75.92 kB / 427.1 MB, free: 14.56 MB / 362.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.0002961/0.5674, allocations: 148.1 kB / 427.2 MB, free: 14.41 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.004044/0.5715, allocations: 271.7 kB / 427.5 MB, free: 14.14 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.429e-06/0.5715, allocations: 0 / 427.5 MB, free: 14.14 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001754/0.5733, allocations: 115.8 kB / 427.6 MB, free: 14.03 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004804/0.5738, allocations: 57.06 kB / 427.6 MB, free: 13.97 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001542/0.5753, allocations: 0.5593 MB / 428.2 MB, free: 13.38 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004742/0.5759, allocations: 0.7872 MB / 429 MB, free: 12.57 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001387/0.576, allocations: 19.44 kB / 429 MB, free: 12.55 MB / 362.7 MB Notification: Performance of SimCode: time 1.122e-06/0.576, allocations: 0 / 429 MB, free: 12.55 MB / 362.7 MB Notification: Performance of Templates: time 0.01464/0.5907, allocations: 6.498 MB / 435.5 MB, free: 6.059 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