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.281/2.281, allocations: 234.9 MB / 250.5 MB, free: 9.477 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004364/0.0004366, allocations: 15.94 kB / 314.3 MB, free: 9.504 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.274/0.2745, allocations: 54.86 MB / 369.2 MB, free: 10.72 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW): time 0.002262/0.2768, allocations: 1.431 MB / 370.6 MB, free: 9.27 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001719/0.2785, allocations: 0.89 MB / 371.5 MB, free: 8.375 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.494e-05/0.2786, allocations: 4 kB / 371.5 MB, free: 8.371 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002051/0.2788, allocations: 31.88 kB / 371.6 MB, free: 8.34 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001977/0.279, allocations: 67.75 kB / 371.6 MB, free: 8.273 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003434/0.2794, allocations: 91.75 kB / 371.7 MB, free: 8.184 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002295/0.2796, allocations: 151.6 kB / 371.9 MB, free: 8.035 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.828e-05/0.2797, allocations: 29.66 kB / 371.9 MB, free: 8.008 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001275/0.2799, allocations: 67.7 kB / 372 MB, free: 7.941 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001574/0.28, allocations: 83.61 kB / 372 MB, free: 7.859 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.517e-05/0.2801, allocations: 4 kB / 372 MB, free: 7.855 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004251/0.2805, allocations: 199.8 kB / 372.2 MB, free: 7.66 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.846e-05/0.2806, allocations: 51.75 kB / 372.3 MB, free: 7.609 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.004e-05/0.2807, allocations: 57.58 kB / 372.3 MB, free: 7.547 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003548/0.2811, allocations: 188.3 kB / 372.5 MB, free: 7.363 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.548e-06/0.2811, allocations: 4 kB / 372.5 MB, free: 7.359 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.2811, allocations: 0 / 372.5 MB, free: 7.359 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.634e-06/0.2811, allocations: 4 kB / 372.5 MB, free: 7.355 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.0008186/0.2819, allocations: 0.4989 MB / 373 MB, free: 6.809 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.668e-05/0.282, allocations: 8.031 kB / 373 MB, free: 6.801 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009298/0.2829, allocations: 131.4 kB / 373.2 MB, free: 6.672 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003921/0.2833, allocations: 250.8 kB / 373.4 MB, free: 6.387 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.493e-05/0.2834, allocations: 16.42 kB / 373.4 MB, free: 6.371 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.858e-05/0.2835, allocations: 20 kB / 373.5 MB, free: 6.352 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008875/0.2844, allocations: 441.8 kB / 373.9 MB, free: 5.895 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.319e-05/0.2844, allocations: 0 / 373.9 MB, free: 5.895 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.377e-05/0.2844, allocations: 11.98 kB / 373.9 MB, free: 5.883 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.298e-05/0.2845, allocations: 28.53 kB / 373.9 MB, free: 5.852 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009644/0.2855, allocations: 401.8 kB / 374.3 MB, free: 5.457 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002473/0.288, allocations: 1.488 MB / 375.8 MB, free: 3.855 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003492/0.2884, allocations: 102.5 kB / 375.9 MB, free: 3.746 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.77e-05/0.2884, allocations: 0 / 375.9 MB, free: 3.746 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.12e-05/0.2884, allocations: 34.56 kB / 375.9 MB, free: 3.703 MB / 298.7 MB Notification: Performance of pre-optimization done (n=7): time 2.211e-06/0.2884, allocations: 0 / 375.9 MB, free: 3.703 MB / 298.7 MB Notification: Performance of matching and sorting (n=7): time 0.000778/0.2892, allocations: 209.2 kB / 376.1 MB, free: 3.492 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.616e-05/0.2893, allocations: 55.41 kB / 376.2 MB, free: 3.426 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004839/0.2898, allocations: 322.7 kB / 376.5 MB, free: 3.102 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.424e-05/0.2899, allocations: 29.69 kB / 376.5 MB, free: 3.066 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002552/0.2901, allocations: 245.8 kB / 376.8 MB, free: 2.824 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.583e-05/0.2902, allocations: 31.58 kB / 376.8 MB, free: 2.793 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.697e-05/0.2903, allocations: 0 / 376.8 MB, free: 2.793 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.00022/0.2905, allocations: 314.8 kB / 377.1 MB, free: 2.477 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003315/0.2909, allocations: 75.94 kB / 377.2 MB, free: 2.402 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002967/0.2912, allocations: 119 kB / 377.3 MB, free: 2.266 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003027/0.2915, allocations: 99.88 kB / 377.4 MB, free: 2.168 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.421e-06/0.2915, allocations: 0 / 377.4 MB, free: 2.168 MB / 298.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0007131/0.2922, allocations: 233.6 kB / 377.6 MB, free: 1.934 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.102e-05/0.2923, allocations: 8 kB / 377.6 MB, free: 1.926 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.856e-06/0.2923, allocations: 0 / 377.6 MB, free: 1.926 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.138e-05/0.2923, allocations: 4 kB / 377.6 MB, free: 1.922 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001649/0.294, allocations: 115.8 kB / 377.8 MB, free: 1.809 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002337/0.2964, allocations: 1.844 MB / 379.6 MB, free: 15.89 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003464/0.2967, allocations: 39.98 kB / 379.6 MB, free: 15.86 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.149e-05/0.2968, allocations: 8 kB / 379.7 MB, free: 15.85 MB / 314.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.0002192/0.297, allocations: 153.7 kB / 379.8 MB, free: 15.69 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.861e-05/0.2971, allocations: 27.67 kB / 379.8 MB, free: 15.66 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006849/0.2978, allocations: 203.2 kB / 380 MB, free: 15.46 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.448e-06/0.2978, allocations: 4 kB / 380 MB, free: 15.45 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.984e-06/0.2979, allocations: 4 kB / 380 MB, free: 15.45 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.742e-06/0.2979, allocations: 7.938 kB / 380 MB, free: 15.44 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004518/0.2983, allocations: 281.4 kB / 380.3 MB, free: 15.12 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.112e-06/0.2984, allocations: 0 / 380.3 MB, free: 15.12 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001279/0.2997, allocations: 99.81 kB / 380.4 MB, free: 15.02 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.276e-05/0.2997, allocations: 7.953 kB / 380.4 MB, free: 15.01 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.095e-05/0.2997, allocations: 0 / 380.4 MB, free: 15.01 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0017/0.3014, allocations: 1.793 MB / 382.2 MB, free: 13.15 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.864e-06/0.3015, allocations: 4 kB / 382.2 MB, free: 13.14 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006182/0.3021, allocations: 267.5 kB / 382.5 MB, free: 12.87 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001161/0.3022, allocations: 100.8 kB / 382.6 MB, free: 12.75 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.663e-05/0.3023, allocations: 11.94 kB / 382.6 MB, free: 12.74 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000244/0.3025, allocations: 12 kB / 382.6 MB, free: 12.73 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.837e-05/0.3026, allocations: 7.984 kB / 382.6 MB, free: 12.72 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.951e-05/0.3027, allocations: 4 kB / 382.6 MB, free: 12.71 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0003574/0.303, allocations: 245.8 kB / 382.9 MB, free: 12.48 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.14e-07/0.303, allocations: 4 kB / 382.9 MB, free: 12.47 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004644/0.3035, allocations: 63.94 kB / 382.9 MB, free: 12.41 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 (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.0002186/0.3037, allocations: 116.6 kB / 383 MB, free: 12.29 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002424/0.3062, allocations: 267.6 kB / 383.3 MB, free: 12.03 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.921e-06/0.3062, allocations: 0 / 383.3 MB, free: 12.03 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001081/0.3073, allocations: 119.8 kB / 383.4 MB, free: 11.91 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003674/0.3077, allocations: 43.31 kB / 383.5 MB, free: 11.87 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001204/0.3089, allocations: 0.5624 MB / 384 MB, free: 11.28 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005181/0.3095, allocations: 0.7831 MB / 384.8 MB, free: 10.47 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001042/0.3096, allocations: 19.44 kB / 384.8 MB, free: 10.45 MB / 314.7 MB Notification: Performance of SimCode: time 1.623e-06/0.3096, allocations: 0 / 384.8 MB, free: 10.45 MB / 314.7 MB Notification: Performance of Templates: time 0.01136/0.321, allocations: 6.307 MB / 391.1 MB, free: 4.148 MB / 314.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