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.001028/0.001028, allocations: 198.9 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.179/1.179, allocations: 227.2 MB / 245 MB, free: 5.898 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008683/0.0008684, allocations: 101.5 kB / 297.3 MB, free: 5.977 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2808/0.2808, allocations: 45.24 MB / 394.7 MB, free: 31.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002465/0.0002464, allocations: 12 kB / 468.4 MB, free: 7.699 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2892/0.2895, allocations: 63.24 MB / 0.5192 GB, free: 37.52 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.107/0.3966, allocations: 92.29 MB / 0.6093 GB, free: 11.14 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002835/0.3969, allocations: 99.73 kB / 0.6094 GB, free: 11.04 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01723/0.4141, allocations: 6.062 MB / 0.6154 GB, free: 4.891 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.355e-06/0.4142, allocations: 0 / 0.6154 GB, free: 4.891 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.682e-05/0.4142, allocations: 4 kB / 0.6154 GB, free: 4.887 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.000829/0.4151, allocations: 0.5066 MB / 0.6159 GB, free: 4.332 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.876e-05/0.4151, allocations: 12.03 kB / 0.6159 GB, free: 4.32 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00113/0.4163, allocations: 171.4 kB / 0.616 GB, free: 4.152 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003898/0.4167, allocations: 260.8 kB / 0.6163 GB, free: 3.859 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.353e-05/0.4167, allocations: 16.44 kB / 0.6163 GB, free: 3.84 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.588e-05/0.4168, allocations: 20 kB / 0.6163 GB, free: 3.82 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006439/0.4174, allocations: 445.1 kB / 0.6167 GB, free: 3.352 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.4174, allocations: 0 / 0.6167 GB, free: 3.352 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.958e-05/0.4175, allocations: 8 kB / 0.6167 GB, free: 3.344 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.535e-05/0.4175, allocations: 20.55 kB / 0.6168 GB, free: 3.324 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006936/0.4182, allocations: 401.7 kB / 0.6171 GB, free: 2.926 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002076/0.4203, allocations: 1.71 MB / 0.6188 GB, free: 1.105 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002332/0.4205, allocations: 102.5 kB / 0.6189 GB, free: 0.9961 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.565e-05/0.4206, allocations: 0 / 0.6189 GB, free: 0.9961 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.392e-05/0.4206, allocations: 30.56 kB / 0.6189 GB, free: 0.957 MB / 426.7 MB Notification: Performance of pre-optimization done (n=7): time 1.052e-06/0.4206, allocations: 4 kB / 0.6189 GB, free: 0.9531 MB / 426.7 MB Notification: Performance of matching and sorting (n=7): time 0.0005427/0.4212, allocations: 205.4 kB / 0.6191 GB, free: 0.7461 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.182e-05/0.4212, allocations: 55.41 kB / 0.6192 GB, free: 0.6797 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002949/0.4215, allocations: 305.7 kB / 0.6195 GB, free: 384 kB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.878e-05/0.4215, allocations: 25.7 kB / 0.6195 GB, free: 352 kB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001068/0.4216, allocations: 183.2 kB / 0.6197 GB, free: 164 kB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.556e-05/0.4217, allocations: 27.64 kB / 0.6197 GB, free: 136 kB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.273e-05/0.4217, allocations: 4 kB / 0.6197 GB, free: 132 kB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001146/0.4218, allocations: 334.8 kB / 0.62 GB, free: 15.79 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001716/0.422, allocations: 75.94 kB / 0.6201 GB, free: 15.72 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002052/0.4222, allocations: 117.9 kB / 0.6202 GB, free: 15.58 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001892/0.4224, allocations: 91.88 kB / 0.6203 GB, free: 15.49 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.4224, allocations: 0 / 0.6203 GB, free: 15.49 MB / 442.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004843/0.4229, allocations: 253.2 kB / 0.6206 GB, free: 15.24 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.4229, allocations: 8 kB / 0.6206 GB, free: 15.23 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.4229, allocations: 0 / 0.6206 GB, free: 15.23 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/0.423, allocations: 4 kB / 0.6206 GB, free: 15.23 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001603/0.4246, allocations: 119.8 kB / 0.6207 GB, free: 15.11 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001834/0.4264, allocations: 1.852 MB / 0.6225 GB, free: 13.19 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002929/0.4267, allocations: 31.64 kB / 0.6225 GB, free: 13.16 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.767e-05/0.4268, allocations: 12 kB / 0.6225 GB, free: 13.14 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.0001725/0.4269, allocations: 162.7 kB / 0.6227 GB, free: 12.98 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.197e-05/0.427, allocations: 19.72 kB / 0.6227 GB, free: 12.96 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000534/0.4275, allocations: 211.3 kB / 0.6229 GB, free: 12.74 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.4276, allocations: 0 / 0.6229 GB, free: 12.74 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.4276, allocations: 4 kB / 0.6229 GB, free: 12.74 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.4276, allocations: 0 / 0.6229 GB, free: 12.74 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003377/0.4279, allocations: 277.3 kB / 0.6232 GB, free: 12.42 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/0.4279, allocations: 0 / 0.6232 GB, free: 12.42 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001245/0.4292, allocations: 107.8 kB / 0.6233 GB, free: 12.31 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.448e-06/0.4292, allocations: 0 / 0.6233 GB, free: 12.31 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.079e-05/0.4292, allocations: 4 kB / 0.6233 GB, free: 12.31 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001238/0.4305, allocations: 1.789 MB / 0.625 GB, free: 10.45 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.4305, allocations: 4.094 kB / 0.625 GB, free: 10.45 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004147/0.4309, allocations: 271 kB / 0.6253 GB, free: 10.16 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.6e-05/0.431, allocations: 96.81 kB / 0.6254 GB, free: 10.05 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.576e-05/0.4311, allocations: 16 kB / 0.6254 GB, free: 10.04 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002066/0.4313, allocations: 7.984 kB / 0.6254 GB, free: 10.03 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.536e-05/0.4313, allocations: 7.984 kB / 0.6254 GB, free: 10.02 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.345e-05/0.4313, allocations: 8 kB / 0.6254 GB, free: 10.01 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002352/0.4316, allocations: 237.9 kB / 0.6256 GB, free: 9.777 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4316, allocations: 0 / 0.6256 GB, free: 9.777 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0003295/0.4319, allocations: 71.92 kB / 0.6257 GB, free: 9.707 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.0002318/0.4322, allocations: 131.2 kB / 0.6258 GB, free: 9.57 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001617/0.4338, allocations: 230.9 kB / 0.6261 GB, free: 9.348 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.4338, allocations: 0 / 0.6261 GB, free: 9.348 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009346/0.4347, allocations: 109.6 kB / 0.6262 GB, free: 9.242 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002841/0.435, allocations: 49.19 kB / 0.6262 GB, free: 9.191 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001003/0.4361, allocations: 0.535 MB / 0.6267 GB, free: 8.633 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003631/0.4364, allocations: 0.7872 MB / 0.6275 GB, free: 7.82 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.000165/0.4366, allocations: 54.25 kB / 0.6276 GB, free: 7.766 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.864e-05/0.4367, allocations: 19.44 kB / 0.6276 GB, free: 7.746 MB / 442.7 MB Notification: Performance of SimCode: time 7.52e-07/0.4367, allocations: 0 / 0.6276 GB, free: 7.746 MB / 442.7 MB Notification: Performance of Templates: time 0.008816/0.4455, allocations: 4.888 MB / 0.6323 GB, free: 2.918 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/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_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