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.001046/0.001046, allocations: 177 kB / 17.06 MB, free: 5.094 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.32/1.32, allocations: 223.2 MB / 241 MB, free: 11.86 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008565/0.0008567, allocations: 98.08 kB / 292.2 MB, free: 10.88 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.3168/0.3168, allocations: 44.21 MB / 387.5 MB, free: 38.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002906/0.0002908, allocations: 8 kB / 459.9 MB, free: 1.484 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3159/0.3162, allocations: 61.9 MB / 0.5096 GB, free: 38.14 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1205/0.4368, allocations: 91.23 MB / 0.5987 GB, free: 3.844 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002568/0.4371, allocations: 103.7 kB / 0.5988 GB, free: 3.746 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01645/0.4536, allocations: 6 MB / 0.6046 GB, free: 13.66 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.904e-06/0.4536, allocations: 0 / 0.6046 GB, free: 13.66 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.464e-05/0.4537, allocations: 7.938 kB / 0.6046 GB, free: 13.65 MB / 426.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.0006744/0.4543, allocations: 0.4989 MB / 0.6051 GB, free: 13.11 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.928e-05/0.4544, allocations: 8.031 kB / 0.6051 GB, free: 13.1 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001045/0.4554, allocations: 171.4 kB / 0.6053 GB, free: 12.93 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003914/0.4558, allocations: 252 kB / 0.6055 GB, free: 12.64 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.34e-05/0.4559, allocations: 28.38 kB / 0.6056 GB, free: 12.62 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.196e-05/0.4559, allocations: 27.92 kB / 0.6056 GB, free: 12.59 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006739/0.4566, allocations: 429.2 kB / 0.606 GB, free: 12.13 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.4566, allocations: 3.984 kB / 0.606 GB, free: 12.12 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.513e-05/0.4567, allocations: 11.98 kB / 0.606 GB, free: 12.11 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.698e-05/0.4567, allocations: 20.56 kB / 0.606 GB, free: 12.09 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006493/0.4574, allocations: 397.8 kB / 0.6064 GB, free: 11.7 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002107/0.4595, allocations: 1.712 MB / 0.6081 GB, free: 9.871 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002386/0.4597, allocations: 103.3 kB / 0.6082 GB, free: 9.762 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.602e-05/0.4598, allocations: 3.953 kB / 0.6082 GB, free: 9.758 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.243e-05/0.4598, allocations: 38.5 kB / 0.6082 GB, free: 9.711 MB / 426.7 MB Notification: Performance of pre-optimization done (n=7): time 2.074e-06/0.4598, allocations: 0 / 0.6082 GB, free: 9.711 MB / 426.7 MB Notification: Performance of matching and sorting (n=7): time 0.0005722/0.4604, allocations: 201.3 kB / 0.6084 GB, free: 9.508 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.78e-05/0.4604, allocations: 55.34 kB / 0.6085 GB, free: 9.441 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002865/0.4607, allocations: 301.7 kB / 0.6088 GB, free: 9.145 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.02e-05/0.4608, allocations: 25.7 kB / 0.6088 GB, free: 9.113 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00011/0.4609, allocations: 186.2 kB / 0.609 GB, free: 8.93 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.803e-05/0.4609, allocations: 27.64 kB / 0.609 GB, free: 8.902 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.196e-05/0.4609, allocations: 0 / 0.609 GB, free: 8.902 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000125/0.4611, allocations: 338.8 kB / 0.6093 GB, free: 8.562 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001817/0.4612, allocations: 71.94 kB / 0.6094 GB, free: 8.492 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001999/0.4615, allocations: 120.4 kB / 0.6095 GB, free: 8.355 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001952/0.4617, allocations: 87.94 kB / 0.6096 GB, free: 8.27 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.4617, allocations: 3.953 kB / 0.6096 GB, free: 8.266 MB / 426.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004806/0.4622, allocations: 250.2 kB / 0.6098 GB, free: 8.016 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.129e-05/0.4622, allocations: 8 kB / 0.6098 GB, free: 8.008 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.4622, allocations: 0 / 0.6098 GB, free: 8.008 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/0.4622, allocations: 4 kB / 0.6098 GB, free: 8.004 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001653/0.4639, allocations: 124 kB / 0.6099 GB, free: 7.883 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001639/0.4655, allocations: 1.844 MB / 0.6117 GB, free: 5.969 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002848/0.4658, allocations: 35.62 kB / 0.6118 GB, free: 5.934 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.197e-05/0.4659, allocations: 11.98 kB / 0.6118 GB, free: 5.922 MB / 426.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.0001756/0.466, allocations: 167.4 kB / 0.612 GB, free: 5.75 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.931e-05/0.4661, allocations: 19.72 kB / 0.612 GB, free: 5.73 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005128/0.4666, allocations: 211.1 kB / 0.6122 GB, free: 5.516 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.758e-06/0.4666, allocations: 0 / 0.6122 GB, free: 5.516 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.4666, allocations: 0 / 0.6122 GB, free: 5.516 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.4666, allocations: 4 kB / 0.6122 GB, free: 5.512 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000322/0.467, allocations: 273.4 kB / 0.6124 GB, free: 5.195 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/0.467, allocations: 7.953 kB / 0.6124 GB, free: 5.188 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001263/0.4683, allocations: 103.9 kB / 0.6125 GB, free: 5.086 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.4683, allocations: 3.938 kB / 0.6125 GB, free: 5.082 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.437e-05/0.4683, allocations: 0 / 0.6125 GB, free: 5.082 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001128/0.4694, allocations: 1.789 MB / 0.6143 GB, free: 3.223 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.4694, allocations: 0 / 0.6143 GB, free: 3.223 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004089/0.4699, allocations: 271.2 kB / 0.6146 GB, free: 2.941 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.856e-05/0.47, allocations: 104.7 kB / 0.6147 GB, free: 2.82 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.912e-05/0.47, allocations: 4 kB / 0.6147 GB, free: 2.816 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002041/0.4702, allocations: 11.98 kB / 0.6147 GB, free: 2.805 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.098e-05/0.4703, allocations: 7.984 kB / 0.6147 GB, free: 2.797 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.408e-05/0.4703, allocations: 4 kB / 0.6147 GB, free: 2.793 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002798/0.4706, allocations: 245.9 kB / 0.6149 GB, free: 2.551 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4706, allocations: 0 / 0.6149 GB, free: 2.551 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006471/0.4713, allocations: 75.94 kB / 0.615 GB, free: 2.477 MB / 426.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.0003158/0.4716, allocations: 131.1 kB / 0.6151 GB, free: 2.34 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00167/0.4733, allocations: 225.3 kB / 0.6153 GB, free: 2.121 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.4733, allocations: 0 / 0.6153 GB, free: 2.121 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009138/0.4742, allocations: 121.5 kB / 0.6154 GB, free: 2.004 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003577/0.4746, allocations: 41.25 kB / 0.6155 GB, free: 1.961 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00105/0.4756, allocations: 0.5357 MB / 0.616 GB, free: 1.402 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003491/0.476, allocations: 0.7833 MB / 0.6168 GB, free: 0.5898 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001537/0.4762, allocations: 54.25 kB / 0.6168 GB, free: 0.5352 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.898e-05/0.4762, allocations: 19.44 kB / 0.6168 GB, free: 0.5156 MB / 426.7 MB Notification: Performance of SimCode: time 4.51e-07/0.4762, allocations: 0 / 0.6168 GB, free: 0.5156 MB / 426.7 MB Notification: Performance of Templates: time 0.008808/0.4851, allocations: 4.898 MB / 0.6216 GB, free: 11.67 MB / 442.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_IN_con[1].R_s,dp_IN_con[1].exp,dp_IN_con[2].R_s,dp_IN_con[2].exp,dp_IN_con[3].R_s,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].R_s,m_flow_IN_con[1].exp,m_flow_IN_con[2].R_s,m_flow_IN_con[2].exp,m_flow_IN_con[3].R_s,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