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.001143/0.001144, allocations: 197.2 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.238/1.238, allocations: 225.4 MB / 240.1 MB, free: 15.07 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008726/0.0008727, allocations: 90.41 kB / 292.1 MB, free: 5.949 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1788/0.1788, allocations: 45.14 MB / 389.3 MB, free: 11.88 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 2.912e-05/2.915e-05, allocations: 4 kB / 460.4 MB, free: 70 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09368/0.09372, allocations: 63.24 MB / 0.5114 GB, free: 6.777 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3755/0.4693, allocations: 92.23 MB / 0.6014 GB, free: 1.719 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002574/0.4696, allocations: 98.92 kB / 0.6015 GB, free: 1.66 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01796/0.4876, allocations: 6.053 MB / 0.6074 GB, free: 12.38 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.4876, allocations: 0 / 0.6074 GB, free: 12.38 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.314e-05/0.4877, allocations: 4 kB / 0.6075 GB, free: 12.38 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.0005367/0.4882, allocations: 495.1 kB / 0.6079 GB, free: 11.86 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.665e-05/0.4882, allocations: 11.97 kB / 0.6079 GB, free: 11.85 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009196/0.4892, allocations: 166.5 kB / 0.6081 GB, free: 11.7 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003488/0.4895, allocations: 264.4 kB / 0.6083 GB, free: 11.41 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.804e-05/0.4896, allocations: 15.25 kB / 0.6084 GB, free: 11.41 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.536e-05/0.4896, allocations: 23.88 kB / 0.6084 GB, free: 11.39 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005356/0.4902, allocations: 409.1 kB / 0.6088 GB, free: 11.04 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/0.4902, allocations: 4 kB / 0.6088 GB, free: 11.04 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.642e-05/0.4902, allocations: 10.31 kB / 0.6088 GB, free: 11.03 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.311e-05/0.4902, allocations: 24.55 kB / 0.6088 GB, free: 11.01 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004692/0.4907, allocations: 348.7 kB / 0.6091 GB, free: 10.76 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001839/0.4926, allocations: 1.718 MB / 0.6108 GB, free: 9.031 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001655/0.4927, allocations: 89.47 kB / 0.6109 GB, free: 8.945 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.711e-05/0.4928, allocations: 35.66 kB / 0.6109 GB, free: 8.914 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.204e-05/0.4929, allocations: 7.984 kB / 0.6109 GB, free: 8.906 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.745e-05/0.4929, allocations: 34.56 kB / 0.611 GB, free: 8.863 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 1.152e-06/0.4929, allocations: 0 / 0.611 GB, free: 8.863 MB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002834/0.4932, allocations: 131.9 kB / 0.6111 GB, free: 8.738 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.691e-05/0.4932, allocations: 51.41 kB / 0.6112 GB, free: 8.676 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002684/0.4935, allocations: 295.1 kB / 0.6114 GB, free: 8.426 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.697e-05/0.4935, allocations: 25.7 kB / 0.6115 GB, free: 8.395 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.485e-05/0.4936, allocations: 177.4 kB / 0.6116 GB, free: 8.25 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.322e-05/0.4936, allocations: 30.45 kB / 0.6117 GB, free: 8.223 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.254e-05/0.4937, allocations: 7.625 kB / 0.6117 GB, free: 8.219 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001239/0.4938, allocations: 337.6 kB / 0.612 GB, free: 7.891 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001069/0.4939, allocations: 54.72 kB / 0.612 GB, free: 7.848 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001222/0.494, allocations: 101.9 kB / 0.6121 GB, free: 7.742 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001232/0.4942, allocations: 76.88 kB / 0.6122 GB, free: 7.68 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.4942, allocations: 0 / 0.6122 GB, free: 7.68 MB / 410.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003293/0.4945, allocations: 218.1 kB / 0.6124 GB, free: 7.488 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.4945, allocations: 4.188 kB / 0.6124 GB, free: 7.484 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.4945, allocations: 8 kB / 0.6124 GB, free: 7.477 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.024e-05/0.4946, allocations: 0 / 0.6124 GB, free: 7.477 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00135/0.4959, allocations: 119.7 kB / 0.6125 GB, free: 7.363 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001395/0.4973, allocations: 1.836 MB / 0.6143 GB, free: 5.48 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002398/0.4976, allocations: 51 kB / 0.6144 GB, free: 5.434 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.272e-05/0.4976, allocations: 4.188 kB / 0.6144 GB, free: 5.43 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 7.489e-05/0.4977, allocations: 120 kB / 0.6145 GB, free: 5.309 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.928e-05/0.4977, allocations: 19.72 kB / 0.6145 GB, free: 5.289 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003539/0.4981, allocations: 181.2 kB / 0.6147 GB, free: 5.137 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.4981, allocations: 0 / 0.6147 GB, free: 5.137 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.4981, allocations: 0 / 0.6147 GB, free: 5.137 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.4981, allocations: 0 / 0.6147 GB, free: 5.137 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000257/0.4984, allocations: 277.8 kB / 0.615 GB, free: 4.844 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-06/0.4984, allocations: 0 / 0.615 GB, free: 4.844 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001061/0.4995, allocations: 110 kB / 0.6151 GB, free: 4.742 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.4995, allocations: 0 / 0.6151 GB, free: 4.742 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.276e-05/0.4995, allocations: 0 / 0.6151 GB, free: 4.742 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000977/0.5005, allocations: 1.794 MB / 0.6168 GB, free: 2.898 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.5005, allocations: 288 / 0.6168 GB, free: 2.898 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002532/0.5007, allocations: 236.1 kB / 0.617 GB, free: 2.668 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.56e-05/0.5008, allocations: 104.8 kB / 0.6171 GB, free: 2.547 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.315e-05/0.5009, allocations: 0 / 0.6171 GB, free: 2.547 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001882/0.501, allocations: 11.44 kB / 0.6172 GB, free: 2.539 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.789e-05/0.5011, allocations: 11.92 kB / 0.6172 GB, free: 2.527 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.217e-05/0.5011, allocations: 4 kB / 0.6172 GB, free: 2.523 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001996/0.5013, allocations: 243.4 kB / 0.6174 GB, free: 2.328 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5013, allocations: 0 / 0.6174 GB, free: 2.328 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002997/0.5016, allocations: 66.53 kB / 0.6175 GB, free: 2.27 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.0002037/0.5018, allocations: 140.1 kB / 0.6176 GB, free: 2.129 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001237/0.5031, allocations: 192 kB / 0.6178 GB, free: 1.961 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.5031, allocations: 3.938 kB / 0.6178 GB, free: 1.957 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007062/0.5038, allocations: 91.09 kB / 0.6179 GB, free: 1.875 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002574/0.5041, allocations: 53.06 kB / 0.6179 GB, free: 1.832 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006123/0.5047, allocations: 323.8 kB / 0.6182 GB, free: 1.512 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002947/0.505, allocations: 0.7858 MB / 0.619 GB, free: 0.7031 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001413/0.5052, allocations: 54.03 kB / 0.6191 GB, free: 0.6523 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.298e-05/0.5052, allocations: 15.44 kB / 0.6191 GB, free: 0.6367 MB / 410.7 MB Notification: Performance of SimCode: time 2.41e-07/0.5052, allocations: 4 kB / 0.6191 GB, free: 0.6328 MB / 410.7 MB Notification: Performance of Templates: time 0.007843/0.5131, allocations: 4.968 MB / 0.6239 GB, free: 11.73 MB / 426.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