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.036/2.036, allocations: 209.3 MB / 224.8 MB, free: 196 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004393/0.0004396, allocations: 19.98 kB / 282.5 MB, free: 9.566 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2837/0.2842, allocations: 48.7 MB / 331.2 MB, free: 6.508 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW): time 0.002155/0.2864, allocations: 1.417 MB / 332.6 MB, free: 5.766 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00162/0.288, allocations: 0.8775 MB / 333.5 MB, free: 5.164 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.119e-05/0.2881, allocations: 1.75 kB / 333.5 MB, free: 5.164 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002201/0.2884, allocations: 41.97 kB / 333.6 MB, free: 5.141 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001922/0.2886, allocations: 62.95 kB / 333.6 MB, free: 5.102 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003436/0.289, allocations: 84.33 kB / 333.7 MB, free: 5.066 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002015/0.2892, allocations: 155.8 kB / 333.8 MB, free: 4.988 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.32e-05/0.2893, allocations: 24.3 kB / 333.9 MB, free: 4.98 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001202/0.2894, allocations: 72.36 kB / 333.9 MB, free: 4.949 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001543/0.2896, allocations: 84.8 kB / 334 MB, free: 4.914 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.854e-05/0.2896, allocations: 6.531 kB / 334 MB, free: 4.914 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004307/0.2901, allocations: 197.3 kB / 334.2 MB, free: 4.863 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.656e-05/0.2902, allocations: 54.91 kB / 334.3 MB, free: 4.84 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.435e-05/0.2902, allocations: 61.2 kB / 334.3 MB, free: 4.789 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003491/0.2906, allocations: 193.1 kB / 334.5 MB, free: 4.73 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.87e-06/0.2906, allocations: 0 / 334.5 MB, free: 4.73 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.319e-06/0.2906, allocations: 0 / 334.5 MB, free: 4.73 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.196e-06/0.2906, allocations: 0 / 334.5 MB, free: 4.73 MB / 266.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.0006797/0.2913, allocations: 0.4972 MB / 335 MB, free: 4.293 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/0.2914, allocations: 12.53 kB / 335 MB, free: 4.289 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009697/0.2923, allocations: 128.8 kB / 335.2 MB, free: 4.266 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003243/0.2927, allocations: 252.5 kB / 335.4 MB, free: 4.035 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.606e-05/0.2927, allocations: 21.56 kB / 335.4 MB, free: 4.023 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.95e-05/0.2928, allocations: 16.41 kB / 335.4 MB, free: 4.02 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008525/0.2937, allocations: 438.3 kB / 335.9 MB, free: 3.82 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.428e-05/0.2937, allocations: 0 / 335.9 MB, free: 3.82 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.094e-05/0.2938, allocations: 11.06 kB / 335.9 MB, free: 3.812 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.652e-05/0.2938, allocations: 28.67 kB / 335.9 MB, free: 3.809 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009268/0.2948, allocations: 404.5 kB / 336.3 MB, free: 3.699 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002069/0.2969, allocations: 1.481 MB / 337.8 MB, free: 2.371 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003222/0.2972, allocations: 101.4 kB / 337.9 MB, free: 2.316 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.346e-05/0.2973, allocations: 1.625 kB / 337.9 MB, free: 2.316 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.564e-05/0.2973, allocations: 34.5 kB / 337.9 MB, free: 2.273 MB / 266.7 MB Notification: Performance of pre-optimization done (n=7): time 3.158e-06/0.2973, allocations: 0 / 337.9 MB, free: 2.273 MB / 266.7 MB Notification: Performance of matching and sorting (n=7): time 0.0007064/0.298, allocations: 202 kB / 338.1 MB, free: 2.176 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.549e-05/0.2981, allocations: 52.78 kB / 338.2 MB, free: 2.113 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004035/0.2985, allocations: 331.1 kB / 338.5 MB, free: 1.902 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.952e-05/0.2985, allocations: 27.3 kB / 338.5 MB, free: 1.871 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.87e-05/0.2986, allocations: 238.3 kB / 338.8 MB, free: 1.645 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.09e-05/0.2987, allocations: 28.09 kB / 338.8 MB, free: 1.621 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.953e-05/0.2987, allocations: 4 kB / 338.8 MB, free: 1.617 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.423e-05/0.2988, allocations: 322.5 kB / 339.1 MB, free: 1.297 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002448/0.299, allocations: 71.84 kB / 339.2 MB, free: 1.27 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002604/0.2993, allocations: 124.9 kB / 339.3 MB, free: 1.176 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002756/0.2996, allocations: 92.81 kB / 339.4 MB, free: 1.137 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.2996, allocations: 1.906 kB / 339.4 MB, free: 1.137 MB / 266.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006584/0.3003, allocations: 236.3 kB / 339.6 MB, free: 1.02 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/0.3003, allocations: 5.5 kB / 339.6 MB, free: 1.02 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8e-06/0.3003, allocations: 1.875 kB / 339.6 MB, free: 1.02 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.064e-05/0.3004, allocations: 5.672 kB / 339.6 MB, free: 1.016 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001548/0.3019, allocations: 115.7 kB / 339.7 MB, free: 0.9766 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001998/0.304, allocations: 1.846 MB / 341.6 MB, free: 15.15 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003698/0.3044, allocations: 41.2 kB / 341.6 MB, free: 15.12 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.229e-05/0.3044, allocations: 9.812 kB / 341.6 MB, free: 15.12 MB / 282.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.0002407/0.3047, allocations: 158 kB / 341.8 MB, free: 14.98 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.171e-05/0.3047, allocations: 21.69 kB / 341.8 MB, free: 14.96 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006908/0.3054, allocations: 211.1 kB / 342 MB, free: 14.84 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.464e-06/0.3055, allocations: 5.375 kB / 342 MB, free: 14.84 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.299e-06/0.3055, allocations: 0 / 342 MB, free: 14.84 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.176e-06/0.3055, allocations: 3.953 kB / 342 MB, free: 14.84 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004581/0.306, allocations: 280.6 kB / 342.3 MB, free: 14.57 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.249e-06/0.306, allocations: 0 / 342.3 MB, free: 14.57 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001271/0.3073, allocations: 98.69 kB / 342.4 MB, free: 14.54 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.462e-06/0.3073, allocations: 1.344 kB / 342.4 MB, free: 14.54 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.964e-05/0.3073, allocations: 1.281 kB / 342.4 MB, free: 14.54 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001692/0.309, allocations: 1.787 MB / 344.2 MB, free: 12.73 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.998e-06/0.309, allocations: 4.062 kB / 344.2 MB, free: 12.73 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006271/0.3097, allocations: 276.5 kB / 344.5 MB, free: 12.53 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001282/0.3098, allocations: 100.4 kB / 344.6 MB, free: 12.42 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.85e-05/0.3099, allocations: 9.094 kB / 344.6 MB, free: 12.41 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000254/0.3102, allocations: 9.828 kB / 344.6 MB, free: 12.41 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.661e-05/0.3103, allocations: 8.328 kB / 344.6 MB, free: 12.41 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.952e-05/0.3103, allocations: 2.406 kB / 344.6 MB, free: 12.41 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003832/0.3107, allocations: 246.9 kB / 344.8 MB, free: 12.25 MB / 282.7 MB Notification: Performance of sort global known variables: time 7.62e-07/0.3107, allocations: 0 / 344.8 MB, free: 12.25 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004886/0.3112, allocations: 68 kB / 344.9 MB, free: 12.23 MB / 282.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.0002281/0.3114, allocations: 118.5 kB / 345 MB, free: 12.13 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.002565/0.314, allocations: 268.5 kB / 345.3 MB, free: 12.03 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.961e-06/0.314, allocations: 0 / 345.3 MB, free: 12.03 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001158/0.3152, allocations: 119 kB / 345.4 MB, free: 11.98 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004778/0.3157, allocations: 43.91 kB / 345.4 MB, free: 11.96 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001303/0.317, allocations: 0.5588 MB / 346 MB, free: 11.54 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005146/0.3176, allocations: 0.7835 MB / 346.8 MB, free: 10.8 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001094/0.3177, allocations: 20.12 kB / 346.8 MB, free: 10.79 MB / 282.7 MB Notification: Performance of SimCode: time 1.561e-06/0.3177, allocations: 0 / 346.8 MB, free: 10.79 MB / 282.7 MB Notification: Performance of Templates: time 0.01178/0.3295, allocations: 6.32 MB / 353.1 MB, free: 7.527 MB / 282.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