Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00101/0.00101, allocations: 170.4 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.328/1.328, allocations: 221.5 MB / 230.7 MB, free: 7.547 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001125/0.001125, allocations: 89.84 kB / 281.6 MB, free: 5.305 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1858/0.1858, allocations: 44.15 MB / 376.5 MB, free: 3.02 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.511e-05/1.515e-05, allocations: 4.219 kB / 444.7 MB, free: 15.18 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1149/0.1149, allocations: 61.91 MB / 0.4947 GB, free: 1.211 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3779/0.4929, allocations: 90.5 MB / 0.5831 GB, free: 5.957 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002774/0.4932, allocations: 95.92 kB / 0.5832 GB, free: 5.863 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01695/0.5101, allocations: 5.932 MB / 0.589 GB, free: 15.87 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.5102, allocations: 0 / 0.589 GB, free: 15.87 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.161e-05/0.5102, allocations: 4 kB / 0.589 GB, free: 15.86 MB / 410.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.0005982/0.5108, allocations: 492.4 kB / 0.5894 GB, free: 15.34 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.269e-05/0.5109, allocations: 15.98 kB / 0.5894 GB, free: 15.32 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001009/0.5119, allocations: 163.5 kB / 0.5896 GB, free: 15.16 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003865/0.5123, allocations: 250.6 kB / 0.5898 GB, free: 14.88 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.909e-05/0.5123, allocations: 11.94 kB / 0.5898 GB, free: 14.87 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.76e-05/0.5123, allocations: 15.98 kB / 0.5899 GB, free: 14.85 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004855/0.5128, allocations: 324.8 kB / 0.5902 GB, free: 14.53 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005201/0.5134, allocations: 384.4 kB / 0.5905 GB, free: 14.12 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.5134, allocations: 0 / 0.5905 GB, free: 14.12 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.568e-05/0.5134, allocations: 0 / 0.5905 GB, free: 14.12 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.935e-05/0.5135, allocations: 28.55 kB / 0.5906 GB, free: 14.09 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001946/0.5154, allocations: 1.626 MB / 0.5922 GB, free: 12.36 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000149/0.5156, allocations: 75.41 kB / 0.5922 GB, free: 12.27 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.155e-05/0.5157, allocations: 40.83 kB / 0.5923 GB, free: 12.23 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.145e-05/0.5157, allocations: 8.141 kB / 0.5923 GB, free: 12.22 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.952e-05/0.5157, allocations: 34.52 kB / 0.5923 GB, free: 12.18 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 1.363e-06/0.5157, allocations: 0 / 0.5923 GB, free: 12.18 MB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002974/0.516, allocations: 113.5 kB / 0.5924 GB, free: 12.06 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.575e-05/0.5161, allocations: 51.41 kB / 0.5925 GB, free: 12 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002136/0.5163, allocations: 189.8 kB / 0.5926 GB, free: 11.8 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.169e-05/0.5163, allocations: 29.64 kB / 0.5927 GB, free: 11.77 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001124/0.5165, allocations: 191.6 kB / 0.5929 GB, free: 11.58 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.19e-05/0.5165, allocations: 23.66 kB / 0.5929 GB, free: 11.55 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.366e-05/0.5165, allocations: 0 / 0.5929 GB, free: 11.55 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001292/0.5167, allocations: 322.8 kB / 0.5932 GB, free: 11.23 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.728e-05/0.5168, allocations: 55.97 kB / 0.5932 GB, free: 11.18 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001399/0.5169, allocations: 106 kB / 0.5933 GB, free: 11.05 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001202/0.517, allocations: 63.94 kB / 0.5934 GB, free: 10.99 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.517, allocations: 4 kB / 0.5934 GB, free: 10.98 MB / 410.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003397/0.5174, allocations: 189.2 kB / 0.5936 GB, free: 10.79 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.5174, allocations: 11.94 kB / 0.5936 GB, free: 10.78 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.5174, allocations: 0 / 0.5936 GB, free: 10.78 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.5174, allocations: 4 kB / 0.5936 GB, free: 10.78 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001446/0.5189, allocations: 124 kB / 0.5937 GB, free: 10.66 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001644/0.5206, allocations: 1.848 MB / 0.5955 GB, free: 8.738 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002276/0.5208, allocations: 15.84 kB / 0.5955 GB, free: 8.723 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.135e-05/0.5208, allocations: 8 kB / 0.5955 GB, free: 8.715 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 () * 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.0001017/0.5209, allocations: 112.9 kB / 0.5957 GB, free: 8.598 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.028e-05/0.521, allocations: 19.77 kB / 0.5957 GB, free: 8.578 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003497/0.5213, allocations: 155.5 kB / 0.5958 GB, free: 8.414 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/0.5214, allocations: 4 kB / 0.5958 GB, free: 8.41 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.5214, allocations: 0 / 0.5958 GB, free: 8.41 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.713e-06/0.5214, allocations: 4 kB / 0.5958 GB, free: 8.406 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002756/0.5217, allocations: 238 kB / 0.5961 GB, free: 8.137 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.684e-06/0.5217, allocations: 4 kB / 0.5961 GB, free: 8.133 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001113/0.5228, allocations: 107.8 kB / 0.5962 GB, free: 8.027 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.327e-06/0.5228, allocations: 0 / 0.5962 GB, free: 8.027 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.553e-05/0.5228, allocations: 7.953 kB / 0.5962 GB, free: 8.02 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001158/0.524, allocations: 1.789 MB / 0.5979 GB, free: 6.16 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.524, allocations: 0 / 0.5979 GB, free: 6.16 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002637/0.5243, allocations: 219.3 kB / 0.5981 GB, free: 5.93 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.742e-05/0.5244, allocations: 97.05 kB / 0.5982 GB, free: 5.816 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.237e-05/0.5244, allocations: 4 kB / 0.5982 GB, free: 5.812 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001869/0.5246, allocations: 15.94 kB / 0.5982 GB, free: 5.797 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.105e-05/0.5246, allocations: 3.984 kB / 0.5982 GB, free: 5.793 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.067e-05/0.5247, allocations: 4 kB / 0.5982 GB, free: 5.789 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001224/0.5248, allocations: 156.3 kB / 0.5984 GB, free: 5.637 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.5248, allocations: 0 / 0.5984 GB, free: 5.637 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003595/0.5252, allocations: 75.78 kB / 0.5985 GB, free: 5.562 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 () * 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.0001963/0.5254, allocations: 135.1 kB / 0.5986 GB, free: 5.422 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001293/0.5267, allocations: 179.8 kB / 0.5988 GB, free: 5.246 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.5267, allocations: 384 / 0.5988 GB, free: 5.246 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007653/0.5275, allocations: 93.27 kB / 0.5989 GB, free: 5.156 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001956/0.5277, allocations: 8.188 kB / 0.5989 GB, free: 5.148 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006166/0.5283, allocations: 305.4 kB / 0.5992 GB, free: 4.824 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003333/0.5286, allocations: 0.7865 MB / 0.5999 GB, free: 4.012 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001259/0.5288, allocations: 41.17 kB / 0.6 GB, free: 3.973 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.481e-05/0.5288, allocations: 11.44 kB / 0.6 GB, free: 3.961 MB / 410.7 MB Notification: Performance of SimCode: time 7.21e-07/0.5288, allocations: 0 / 0.6 GB, free: 3.961 MB / 410.7 MB Notification: Performance of Templates: time 0.00633/0.5352, allocations: 3.615 MB / 0.6035 GB, free: 388 kB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/General/dp_idealGas_DPMFLOW/dp_idealGas_DPMFLOW.csv","../files/ModelicaTest_4.0.0_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_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_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