Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002027/0.002027, allocations: 200.5 kB / 18.1 MB, free: 3.723 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.709/1.709, allocations: 226.5 MB / 245.4 MB, free: 8.227 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008386/0.0008386, allocations: 97.58 kB / 297.5 MB, free: 6.914 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.332/0.332, allocations: 44.83 MB / 394.3 MB, free: 35.76 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002868/0.0002868, allocations: 8 kB / 467.9 MB, free: 12.04 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3596/0.3599, allocations: 62.95 MB / 0.5184 GB, free: 37.42 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1199/0.4798, allocations: 92.16 MB / 0.6084 GB, free: 13.16 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000303/0.4802, allocations: 103.9 kB / 0.6085 GB, free: 13.07 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01728/0.4975, allocations: 6.052 MB / 0.6144 GB, free: 6.93 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.542e-06/0.4975, allocations: 0 / 0.6144 GB, free: 6.93 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.515e-05/0.4976, allocations: 8 kB / 0.6145 GB, free: 6.922 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.0007475/0.4983, allocations: 0.5029 MB / 0.6149 GB, free: 6.371 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.4984, allocations: 8.031 kB / 0.615 GB, free: 6.363 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001006/0.4994, allocations: 180.3 kB / 0.6151 GB, free: 6.188 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003651/0.4998, allocations: 248 kB / 0.6154 GB, free: 5.906 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.638e-05/0.4998, allocations: 24.75 kB / 0.6154 GB, free: 5.879 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.387e-05/0.4999, allocations: 20.36 kB / 0.6154 GB, free: 5.859 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006696/0.5005, allocations: 437.8 kB / 0.6158 GB, free: 5.395 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.634e-05/0.5006, allocations: 7.875 kB / 0.6158 GB, free: 5.387 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.92e-05/0.5006, allocations: 8 kB / 0.6158 GB, free: 5.379 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.066e-05/0.5007, allocations: 24.55 kB / 0.6159 GB, free: 5.355 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007553/0.5014, allocations: 393.8 kB / 0.6162 GB, free: 4.969 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002087/0.5035, allocations: 1.712 MB / 0.6179 GB, free: 3.145 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002489/0.5038, allocations: 98.52 kB / 0.618 GB, free: 3.039 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001426/0.5039, allocations: 56.81 kB / 0.6181 GB, free: 2.98 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.915e-05/0.504, allocations: 4.141 kB / 0.6181 GB, free: 2.977 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.532e-05/0.504, allocations: 38.5 kB / 0.6181 GB, free: 2.93 MB / 426.7 MB Notification: Performance of pre-optimization done (n=7): time 1.462e-06/0.504, allocations: 0 / 0.6181 GB, free: 2.93 MB / 426.7 MB Notification: Performance of matching and sorting (n=7): time 0.0005904/0.5046, allocations: 209.2 kB / 0.6183 GB, free: 2.719 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.571e-05/0.5047, allocations: 51.41 kB / 0.6183 GB, free: 2.656 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003826/0.505, allocations: 326.7 kB / 0.6187 GB, free: 2.328 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.847e-05/0.5051, allocations: 29.7 kB / 0.6187 GB, free: 2.293 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001144/0.5052, allocations: 179.3 kB / 0.6189 GB, free: 2.113 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.071e-05/0.5052, allocations: 31.55 kB / 0.6189 GB, free: 2.082 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.047e-05/0.5053, allocations: 0 / 0.6189 GB, free: 2.082 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001179/0.5054, allocations: 338.8 kB / 0.6192 GB, free: 1.742 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001779/0.5056, allocations: 71.89 kB / 0.6193 GB, free: 1.672 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002049/0.5058, allocations: 123.8 kB / 0.6194 GB, free: 1.531 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003553/0.5061, allocations: 201.8 kB / 0.6196 GB, free: 1.312 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.5062, allocations: 4 kB / 0.6196 GB, free: 1.309 MB / 426.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004957/0.5067, allocations: 248.6 kB / 0.6198 GB, free: 1.062 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.853e-05/0.5067, allocations: 8 kB / 0.6198 GB, free: 1.055 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.5067, allocations: 4.125 kB / 0.6198 GB, free: 1.051 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/0.5067, allocations: 8 kB / 0.6199 GB, free: 1.043 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001424/0.5082, allocations: 115.8 kB / 0.62 GB, free: 0.9297 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001851/0.51, allocations: 1.84 MB / 0.6218 GB, free: 15.02 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002971/0.5103, allocations: 35.67 kB / 0.6218 GB, free: 14.98 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.327e-05/0.5104, allocations: 12.19 kB / 0.6218 GB, free: 14.97 MB / 442.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.0001806/0.5105, allocations: 166.7 kB / 0.622 GB, free: 14.8 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.576e-05/0.5106, allocations: 27.66 kB / 0.622 GB, free: 14.77 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004965/0.5111, allocations: 203.2 kB / 0.6222 GB, free: 14.57 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.496e-06/0.5111, allocations: 7.984 kB / 0.6222 GB, free: 14.57 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.91e-06/0.5111, allocations: 0 / 0.6222 GB, free: 14.57 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.221e-06/0.5112, allocations: 3.984 kB / 0.6222 GB, free: 14.56 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003354/0.5115, allocations: 269.5 kB / 0.6225 GB, free: 14.25 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.5115, allocations: 4 kB / 0.6225 GB, free: 14.25 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001078/0.5126, allocations: 107.8 kB / 0.6226 GB, free: 14.14 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.402e-06/0.5126, allocations: 3.984 kB / 0.6226 GB, free: 14.14 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.572e-05/0.5126, allocations: 4 kB / 0.6226 GB, free: 14.13 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001299/0.5139, allocations: 1.789 MB / 0.6243 GB, free: 12.27 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.514, allocations: 0 / 0.6243 GB, free: 12.27 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004489/0.5144, allocations: 271.4 kB / 0.6246 GB, free: 11.99 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.832e-05/0.5145, allocations: 104.8 kB / 0.6247 GB, free: 11.87 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.295e-05/0.5145, allocations: 0 / 0.6247 GB, free: 11.87 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001925/0.5147, allocations: 8 kB / 0.6247 GB, free: 11.86 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.01e-05/0.5148, allocations: 7.984 kB / 0.6247 GB, free: 11.86 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.231e-05/0.5148, allocations: 4 kB / 0.6247 GB, free: 11.85 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002467/0.5151, allocations: 249.9 kB / 0.6249 GB, free: 11.61 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5151, allocations: 0 / 0.6249 GB, free: 11.61 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0003609/0.5155, allocations: 71.84 kB / 0.625 GB, free: 11.54 MB / 442.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.0002348/0.5157, allocations: 129 kB / 0.6251 GB, free: 11.4 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002045/0.5177, allocations: 263.8 kB / 0.6254 GB, free: 11.14 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.229e-06/0.5178, allocations: 12.31 kB / 0.6254 GB, free: 11.13 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008705/0.5186, allocations: 117.2 kB / 0.6255 GB, free: 11.02 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003991/0.5191, allocations: 49.75 kB / 0.6255 GB, free: 10.96 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009836/0.5201, allocations: 0.5401 MB / 0.6261 GB, free: 10.4 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003559/0.5204, allocations: 0.7755 MB / 0.6268 GB, free: 9.602 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001609/0.5206, allocations: 54.25 kB / 0.6269 GB, free: 9.551 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.219e-05/0.5207, allocations: 19.44 kB / 0.6269 GB, free: 9.531 MB / 442.7 MB Notification: Performance of SimCode: time 2.2e-07/0.5207, allocations: 0 / 0.6269 GB, free: 9.531 MB / 442.7 MB Notification: Performance of Templates: time 0.009058/0.5297, allocations: 4.829 MB / 0.6316 GB, free: 4.758 MB / 442.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW_res.mat","/var/lib/jenkins1/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_trunk_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