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.001292/0.001292, allocations: 194.2 kB / 8.767 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.253/1.253, allocations: 225.6 MB / 234.8 MB, free: 3.223 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000873/0.000873, allocations: 101 kB / 286.7 MB, free: 5.285 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1879/0.1879, allocations: 45.15 MB / 383.7 MB, free: 268 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.43e-05/1.433e-05, allocations: 4 kB / 453.2 MB, free: 75.82 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09541/0.09544, allocations: 63.24 MB / 0.5044 GB, free: 12.62 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3706/0.4661, allocations: 91.56 MB / 0.5938 GB, free: 11.04 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002291/0.4664, allocations: 95.94 kB / 0.5939 GB, free: 10.99 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01564/0.482, allocations: 5.99 MB / 0.5997 GB, free: 5.875 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.4821, allocations: 0 / 0.5997 GB, free: 5.875 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.352e-05/0.4821, allocations: 4 kB / 0.5997 GB, free: 5.871 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.0005484/0.4826, allocations: 489.6 kB / 0.6002 GB, free: 5.359 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.4827, allocations: 8.031 kB / 0.6002 GB, free: 5.352 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009228/0.4836, allocations: 170.6 kB / 0.6004 GB, free: 5.195 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003075/0.4839, allocations: 257.9 kB / 0.6006 GB, free: 4.914 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.661e-05/0.484, allocations: 11.98 kB / 0.6006 GB, free: 4.902 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.618e-05/0.484, allocations: 12 kB / 0.6006 GB, free: 4.891 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004177/0.4844, allocations: 318 kB / 0.6009 GB, free: 4.676 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004857/0.4849, allocations: 386.8 kB / 0.6013 GB, free: 4.332 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.4849, allocations: 3.938 kB / 0.6013 GB, free: 4.328 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.468e-05/0.485, allocations: 0 / 0.6013 GB, free: 4.328 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.37e-05/0.485, allocations: 24.55 kB / 0.6013 GB, free: 4.305 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001803/0.4868, allocations: 1.63 MB / 0.6029 GB, free: 2.656 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001425/0.487, allocations: 78.48 kB / 0.603 GB, free: 2.578 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.025e-05/0.4871, allocations: 43.64 kB / 0.6031 GB, free: 2.539 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.587e-05/0.4871, allocations: 0 / 0.6031 GB, free: 2.539 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.165e-05/0.4871, allocations: 38.44 kB / 0.6031 GB, free: 2.492 MB / 394.7 MB Notification: Performance of pre-optimization done (n=7): time 9.12e-07/0.4871, allocations: 0 / 0.6031 GB, free: 2.492 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002872/0.4874, allocations: 112.5 kB / 0.6032 GB, free: 2.383 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.948e-05/0.4875, allocations: 54.34 kB / 0.6032 GB, free: 2.32 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001843/0.4877, allocations: 197 kB / 0.6034 GB, free: 2.145 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.921e-05/0.4877, allocations: 29.7 kB / 0.6035 GB, free: 2.109 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001014/0.4878, allocations: 188 kB / 0.6036 GB, free: 1.941 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.477e-05/0.4878, allocations: 22.16 kB / 0.6037 GB, free: 1.922 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.243e-05/0.4878, allocations: 0 / 0.6037 GB, free: 1.922 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001029/0.4879, allocations: 324.7 kB / 0.604 GB, free: 1.602 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.216e-05/0.488, allocations: 56.3 kB / 0.604 GB, free: 1.559 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001219/0.4882, allocations: 106.6 kB / 0.6041 GB, free: 1.449 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001091/0.4883, allocations: 70.5 kB / 0.6042 GB, free: 1.391 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.4883, allocations: 0 / 0.6042 GB, free: 1.391 MB / 394.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003025/0.4886, allocations: 191.5 kB / 0.6044 GB, free: 1.219 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.349e-05/0.4886, allocations: 9.094 kB / 0.6044 GB, free: 1.211 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.4886, allocations: 0 / 0.6044 GB, free: 1.211 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.751e-05/0.4887, allocations: 4 kB / 0.6044 GB, free: 1.207 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001367/0.49, allocations: 118.9 kB / 0.6045 GB, free: 1.094 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001406/0.4915, allocations: 1.849 MB / 0.6063 GB, free: 15.2 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002194/0.4917, allocations: 24.03 kB / 0.6063 GB, free: 15.18 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.184e-05/0.4917, allocations: 8 kB / 0.6063 GB, free: 15.17 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 8.951e-05/0.4918, allocations: 116.7 kB / 0.6065 GB, free: 15.05 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.746e-05/0.4919, allocations: 11.91 kB / 0.6065 GB, free: 15.04 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000323/0.4922, allocations: 161.6 kB / 0.6066 GB, free: 14.9 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.878e-06/0.4922, allocations: 4 kB / 0.6066 GB, free: 14.89 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.4922, allocations: 0 / 0.6066 GB, free: 14.89 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.4922, allocations: 3.984 kB / 0.6066 GB, free: 14.89 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002557/0.4925, allocations: 242.5 kB / 0.6069 GB, free: 14.64 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.4925, allocations: 0 / 0.6069 GB, free: 14.64 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001063/0.4936, allocations: 95.86 kB / 0.6069 GB, free: 14.55 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.12e-06/0.4936, allocations: 8 kB / 0.607 GB, free: 14.54 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.412e-05/0.4936, allocations: 0 / 0.607 GB, free: 14.54 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001101/0.4947, allocations: 1.795 MB / 0.6087 GB, free: 12.7 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.4947, allocations: 0 / 0.6087 GB, free: 12.7 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002496/0.495, allocations: 225.2 kB / 0.6089 GB, free: 12.47 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.057e-05/0.495, allocations: 96.8 kB / 0.609 GB, free: 12.36 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.231e-05/0.4951, allocations: 0 / 0.609 GB, free: 12.36 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001787/0.4953, allocations: 11.98 kB / 0.609 GB, free: 12.35 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.68e-05/0.4953, allocations: 12.08 kB / 0.609 GB, free: 12.34 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.06e-05/0.4953, allocations: 0 / 0.609 GB, free: 12.34 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001559/0.4955, allocations: 159.5 kB / 0.6092 GB, free: 12.21 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4955, allocations: 0 / 0.6092 GB, free: 12.21 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003969/0.4959, allocations: 63.84 kB / 0.6093 GB, free: 12.14 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.0002639/0.4962, allocations: 131.2 kB / 0.6094 GB, free: 12.01 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00126/0.4975, allocations: 184.8 kB / 0.6096 GB, free: 11.85 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.4975, allocations: 0 / 0.6096 GB, free: 11.85 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007203/0.4982, allocations: 95.64 kB / 0.6096 GB, free: 11.77 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002136/0.4984, allocations: 12.02 kB / 0.6097 GB, free: 11.76 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006629/0.4991, allocations: 303.1 kB / 0.6099 GB, free: 11.45 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003288/0.4994, allocations: 0.7859 MB / 0.6107 GB, free: 10.64 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000123/0.4996, allocations: 45.11 kB / 0.6108 GB, free: 10.6 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.396e-05/0.4996, allocations: 11.44 kB / 0.6108 GB, free: 10.59 MB / 410.7 MB Notification: Performance of SimCode: time 2.6e-07/0.4996, allocations: 0 / 0.6108 GB, free: 10.59 MB / 410.7 MB Notification: Performance of Templates: time 0.006454/0.5061, allocations: 3.607 MB / 0.6143 GB, free: 7.023 MB / 410.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/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_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_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