Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.288/2.288, allocations: 234.9 MB / 251.1 MB, free: 9.793 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004242/0.0004244, allocations: 16 kB / 315 MB, free: 9.816 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4046/0.4051, allocations: 54.86 MB / 369.8 MB, free: 12.8 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1552/0.5603, allocations: 85.11 MB / 454.9 MB, free: 7.562 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004044/0.5608, allocations: 103.9 kB / 455 MB, free: 7.461 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02671/0.5875, allocations: 5.807 MB / 460.8 MB, free: 1.57 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.365e-06/0.5876, allocations: 0 / 460.8 MB, free: 1.57 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.672e-05/0.5876, allocations: 4 kB / 460.8 MB, free: 1.566 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.0009388/0.5886, allocations: 0.5027 MB / 461.4 MB, free: 1.016 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.444e-05/0.5886, allocations: 12.03 kB / 461.4 MB, free: 1.004 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001722/0.5904, allocations: 179.3 kB / 461.5 MB, free: 0.8281 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004642/0.5908, allocations: 254.6 kB / 461.8 MB, free: 0.5391 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.252e-05/0.5909, allocations: 24.41 kB / 461.8 MB, free: 0.5156 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.761e-05/0.591, allocations: 20 kB / 461.8 MB, free: 0.4961 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00107/0.592, allocations: 429.2 kB / 462.2 MB, free: 36 kB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.657e-05/0.5921, allocations: 3.938 kB / 462.3 MB, free: 32 kB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.326e-05/0.5921, allocations: 19.94 kB / 462.3 MB, free: 12 kB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.88e-05/0.5922, allocations: 24.59 kB / 462.3 MB, free: 15.98 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001186/0.5934, allocations: 393.8 kB / 462.7 MB, free: 15.6 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00323/0.5967, allocations: 1.704 MB / 464.4 MB, free: 13.77 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004285/0.5972, allocations: 94.52 kB / 464.5 MB, free: 13.67 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.818e-05/0.5972, allocations: 0 / 464.5 MB, free: 13.67 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.205e-05/0.5972, allocations: 42.5 kB / 464.5 MB, free: 13.62 MB / 394.7 MB Notification: Performance of pre-optimization done (n=7): time 1.904e-06/0.5973, allocations: 0 / 464.5 MB, free: 13.62 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0009834/0.5982, allocations: 201.3 kB / 464.7 MB, free: 13.42 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.871e-05/0.5983, allocations: 55.34 kB / 464.8 MB, free: 13.35 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005469/0.5989, allocations: 338.5 kB / 465.1 MB, free: 13.01 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.876e-05/0.5989, allocations: 25.7 kB / 465.1 MB, free: 12.98 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001698/0.5991, allocations: 237.9 kB / 465.4 MB, free: 12.74 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.331e-05/0.5992, allocations: 27.64 kB / 465.4 MB, free: 12.71 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.387e-05/0.5992, allocations: 4 kB / 465.4 MB, free: 12.71 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001266/0.5993, allocations: 318.8 kB / 465.7 MB, free: 12.39 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003274/0.5997, allocations: 71.94 kB / 465.8 MB, free: 12.32 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003738/0.6001, allocations: 129.2 kB / 465.9 MB, free: 12.18 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003686/0.6004, allocations: 87.94 kB / 466 MB, free: 12.09 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.6005, allocations: 0 / 466 MB, free: 12.09 MB / 394.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0008934/0.6014, allocations: 233.6 kB / 466.2 MB, free: 11.86 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.069e-05/0.6014, allocations: 9.344 kB / 466.2 MB, free: 11.85 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/0.6014, allocations: 4 kB / 466.2 MB, free: 11.84 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.979e-05/0.6014, allocations: 3.953 kB / 466.2 MB, free: 11.84 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002659/0.6041, allocations: 123.8 kB / 466.3 MB, free: 11.72 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002762/0.6069, allocations: 1.844 MB / 468.2 MB, free: 9.805 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005316/0.6075, allocations: 39.73 kB / 468.2 MB, free: 9.766 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.285e-05/0.6075, allocations: 8 kB / 468.2 MB, free: 9.758 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 () * 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.0002499/0.6078, allocations: 157.7 kB / 468.4 MB, free: 9.594 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.763e-05/0.6078, allocations: 19.72 kB / 468.4 MB, free: 9.574 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008927/0.6087, allocations: 215.1 kB / 468.6 MB, free: 9.359 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.324e-06/0.6088, allocations: 3.953 kB / 468.6 MB, free: 9.355 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.6088, allocations: 0 / 468.6 MB, free: 9.355 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.6088, allocations: 4 kB / 468.6 MB, free: 9.352 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004845/0.6093, allocations: 277.4 kB / 468.9 MB, free: 9.031 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.6093, allocations: 3.984 kB / 468.9 MB, free: 9.027 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002157/0.6115, allocations: 96.72 kB / 469 MB, free: 8.934 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.352e-06/0.6115, allocations: 3.938 kB / 469 MB, free: 8.93 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.365e-05/0.6115, allocations: 0 / 469 MB, free: 8.93 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001688/0.6132, allocations: 1.797 MB / 470.8 MB, free: 7.062 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.025e-06/0.6133, allocations: 0 / 470.8 MB, free: 7.062 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007468/0.614, allocations: 267.4 kB / 471.1 MB, free: 6.785 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001179/0.6141, allocations: 100.8 kB / 471.2 MB, free: 6.668 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.12e-05/0.6142, allocations: 0 / 471.2 MB, free: 6.668 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003498/0.6146, allocations: 15.98 kB / 471.2 MB, free: 6.652 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.387e-05/0.6147, allocations: 11.95 kB / 471.2 MB, free: 6.641 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.481e-05/0.6147, allocations: 7.984 kB / 471.2 MB, free: 6.633 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0004063/0.6151, allocations: 237.9 kB / 471.4 MB, free: 6.402 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.6151, allocations: 0 / 471.4 MB, free: 6.402 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004774/0.6156, allocations: 67.92 kB / 471.5 MB, free: 6.336 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 () * 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.0003023/0.6159, allocations: 149.8 kB / 471.6 MB, free: 6.184 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.004036/0.62, allocations: 271.7 kB / 471.9 MB, free: 5.918 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.62, allocations: 0 / 471.9 MB, free: 5.918 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001781/0.6218, allocations: 117.3 kB / 472 MB, free: 5.805 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004624/0.6223, allocations: 45.12 kB / 472.1 MB, free: 5.754 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00141/0.6237, allocations: 0.5546 MB / 472.6 MB, free: 5.168 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004254/0.6242, allocations: 0.7794 MB / 473.4 MB, free: 4.359 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001377/0.6243, allocations: 23.44 kB / 473.4 MB, free: 4.336 MB / 394.7 MB Notification: Performance of SimCode: time 8.92e-07/0.6243, allocations: 4 kB / 473.4 MB, free: 4.332 MB / 394.7 MB Notification: Performance of Templates: time 0.01389/0.6382, allocations: 6.509 MB / 479.9 MB, free: 13.84 MB / 410.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