Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/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.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW") 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.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001554/0.001554, allocations: 185.9 kB / 16.41 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.896/1.896, allocations: 205.4 MB / 222.5 MB, free: 9.133 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001118/0.001118, allocations: 100.3 kB / 270.9 MB, free: 8.383 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5036/0.5036, allocations: 43.55 MB / 362.7 MB, free: 52.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004665/0.0004666, allocations: 12 kB / 431.4 MB, free: 6.156 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1214/0.1219, allocations: 58.84 MB / 490.2 MB, free: 11.23 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.478/0.5999, allocations: 90.13 MB / 0.5668 GB, free: 12.59 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003284/0.6003, allocations: 91.94 kB / 0.5668 GB, free: 12.5 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03306/0.6334, allocations: 5.851 MB / 0.5726 GB, free: 6.617 MB / 394.7 MB Notification: Performance of FrontEnd: time 4.047e-06/0.6334, allocations: 4 kB / 0.5726 GB, free: 6.613 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.461e-05/0.6335, allocations: 7.938 kB / 0.5726 GB, free: 6.605 MB / 394.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.0009114/0.6344, allocations: 0.5063 MB / 0.5731 GB, free: 6.055 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.38e-05/0.6344, allocations: 8.031 kB / 0.5731 GB, free: 6.047 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001727/0.6362, allocations: 178.8 kB / 0.5732 GB, free: 5.875 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000485/0.6367, allocations: 252.3 kB / 0.5735 GB, free: 5.59 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.885e-05/0.6367, allocations: 20.42 kB / 0.5735 GB, free: 5.57 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.865e-05/0.6368, allocations: 20 kB / 0.5735 GB, free: 5.551 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001075/0.6379, allocations: 441.1 kB / 0.5739 GB, free: 5.082 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.57e-05/0.6379, allocations: 4 kB / 0.5739 GB, free: 5.078 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.615e-05/0.638, allocations: 5.031 kB / 0.574 GB, free: 5.074 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.968e-05/0.6381, allocations: 28.55 kB / 0.574 GB, free: 5.047 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001193/0.6393, allocations: 393.8 kB / 0.5744 GB, free: 4.664 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003221/0.6425, allocations: 1.706 MB / 0.576 GB, free: 2.84 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004605/0.643, allocations: 103.8 kB / 0.5761 GB, free: 2.73 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.739e-05/0.6431, allocations: 4 kB / 0.5761 GB, free: 2.727 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.289e-05/0.6431, allocations: 34.5 kB / 0.5762 GB, free: 2.684 MB / 394.7 MB Notification: Performance of pre-optimization done (n=7): time 3.366e-06/0.6431, allocations: 0 / 0.5762 GB, free: 2.684 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0009848/0.6441, allocations: 205.4 kB / 0.5764 GB, free: 2.477 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.965e-05/0.6442, allocations: 51.41 kB / 0.5764 GB, free: 2.414 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005164/0.6447, allocations: 301.7 kB / 0.5767 GB, free: 2.113 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.901e-05/0.6447, allocations: 29.7 kB / 0.5767 GB, free: 2.078 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001555/0.6449, allocations: 233.5 kB / 0.5769 GB, free: 1.848 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.236e-05/0.645, allocations: 23.66 kB / 0.577 GB, free: 1.824 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.88e-05/0.645, allocations: 11.94 kB / 0.577 GB, free: 1.812 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001278/0.6451, allocations: 322.8 kB / 0.5773 GB, free: 1.488 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003322/0.6455, allocations: 71.94 kB / 0.5774 GB, free: 1.418 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003684/0.6459, allocations: 118 kB / 0.5775 GB, free: 1.281 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003657/0.6462, allocations: 92.44 kB / 0.5776 GB, free: 1.191 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.6463, allocations: 0 / 0.5776 GB, free: 1.191 MB / 394.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0008916/0.6472, allocations: 240 kB / 0.5778 GB, free: 0.9531 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.138e-05/0.6472, allocations: 4.188 kB / 0.5778 GB, free: 0.9492 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/0.6472, allocations: 8 kB / 0.5778 GB, free: 0.9414 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.031e-05/0.6473, allocations: 4 kB / 0.5778 GB, free: 0.9375 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002681/0.6499, allocations: 119.8 kB / 0.5779 GB, free: 0.8203 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002479/0.6525, allocations: 1.84 MB / 0.5797 GB, free: 14.91 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005031/0.653, allocations: 49.66 kB / 0.5798 GB, free: 14.86 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.242e-05/0.6531, allocations: 11.94 kB / 0.5798 GB, free: 14.85 MB / 410.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.0002445/0.6533, allocations: 153.8 kB / 0.5799 GB, free: 14.69 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.043e-05/0.6534, allocations: 23.72 kB / 0.5799 GB, free: 14.67 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008782/0.6543, allocations: 211.1 kB / 0.5801 GB, free: 14.46 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.6543, allocations: 0 / 0.5801 GB, free: 14.46 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.6543, allocations: 0 / 0.5801 GB, free: 14.46 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.6543, allocations: 0 / 0.5801 GB, free: 14.46 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004821/0.6548, allocations: 281.4 kB / 0.5804 GB, free: 14.13 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.6548, allocations: 4 kB / 0.5804 GB, free: 14.13 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002194/0.657, allocations: 100.7 kB / 0.5805 GB, free: 14.03 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.035e-06/0.6571, allocations: 0 / 0.5805 GB, free: 14.03 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.455e-05/0.6571, allocations: 0 / 0.5805 GB, free: 14.03 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001673/0.6588, allocations: 1.797 MB / 0.5823 GB, free: 12.16 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.793e-06/0.6588, allocations: 7.031 kB / 0.5823 GB, free: 12.16 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007631/0.6596, allocations: 268.2 kB / 0.5825 GB, free: 11.88 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001196/0.6598, allocations: 105.6 kB / 0.5826 GB, free: 11.76 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.04e-05/0.6598, allocations: 0 / 0.5826 GB, free: 11.76 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000352/0.6602, allocations: 11.98 kB / 0.5826 GB, free: 11.75 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.807e-05/0.6603, allocations: 11.98 kB / 0.5826 GB, free: 11.74 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.163e-05/0.6603, allocations: 8 kB / 0.5827 GB, free: 11.73 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004059/0.6607, allocations: 245.8 kB / 0.5829 GB, free: 11.49 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.6607, allocations: 0 / 0.5829 GB, free: 11.49 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004926/0.6612, allocations: 60 kB / 0.5829 GB, free: 11.43 MB / 410.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.0002828/0.6615, allocations: 149.7 kB / 0.5831 GB, free: 11.28 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002765/0.6643, allocations: 227.7 kB / 0.5833 GB, free: 11.06 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.722e-06/0.6644, allocations: 4.375 kB / 0.5833 GB, free: 11.05 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001591/0.666, allocations: 116 kB / 0.5834 GB, free: 10.94 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004577/0.6664, allocations: 33.61 kB / 0.5835 GB, free: 10.91 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001433/0.6679, allocations: 0.5568 MB / 0.584 GB, free: 10.32 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004145/0.6683, allocations: 0.7872 MB / 0.5848 GB, free: 9.512 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001465/0.6685, allocations: 23.44 kB / 0.5848 GB, free: 9.488 MB / 410.7 MB Notification: Performance of SimCode: time 1.353e-06/0.6685, allocations: 0 / 0.5848 GB, free: 9.488 MB / 410.7 MB Notification: Performance of Templates: time 0.01395/0.6825, allocations: 6.506 MB / 0.5911 GB, free: 3.008 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/General/dp_idealGas_DPMFLOW/dp_idealGas_DPMFLOW.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" 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