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.001005/0.001005, allocations: 180.7 kB / 14.15 MB, free: 1.176 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.226/1.226, allocations: 221.3 MB / 236 MB, free: 2.969 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009007/0.0009007, allocations: 91.8 kB / 287 MB, free: 260 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1901/0.1901, allocations: 44.16 MB / 382 MB, free: 14.69 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.199e-05/3.203e-05, allocations: 4 kB / 451.9 MB, free: 9.426 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1208/0.1209, allocations: 61.91 MB / 0.5017 GB, free: 11.45 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3929/0.5138, allocations: 91.15 MB / 0.5907 GB, free: 14.16 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002849/0.5142, allocations: 95.94 kB / 0.5908 GB, free: 14.06 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01675/0.5309, allocations: 6.004 MB / 0.5967 GB, free: 7.996 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.531, allocations: 0 / 0.5967 GB, free: 7.996 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.142e-05/0.531, allocations: 4 kB / 0.5967 GB, free: 7.992 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.0006028/0.5316, allocations: 490.1 kB / 0.5972 GB, free: 7.469 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.013e-05/0.5317, allocations: 12.03 kB / 0.5972 GB, free: 7.457 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009436/0.5326, allocations: 163.5 kB / 0.5973 GB, free: 7.297 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004123/0.533, allocations: 260.5 kB / 0.5976 GB, free: 7.004 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.76e-05/0.5331, allocations: 16.39 kB / 0.5976 GB, free: 6.988 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.494e-05/0.5331, allocations: 28 kB / 0.5976 GB, free: 6.961 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005805/0.5337, allocations: 413.2 kB / 0.598 GB, free: 6.512 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.5337, allocations: 0 / 0.598 GB, free: 6.512 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.094e-05/0.5338, allocations: 16 kB / 0.598 GB, free: 6.496 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.168e-05/0.5338, allocations: 16.56 kB / 0.5981 GB, free: 6.48 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005157/0.5343, allocations: 353.9 kB / 0.5984 GB, free: 6.137 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001997/0.5363, allocations: 1.72 MB / 0.6001 GB, free: 4.293 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001724/0.5365, allocations: 78.53 kB / 0.6001 GB, free: 4.207 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.238e-05/0.5366, allocations: 36.8 kB / 0.6002 GB, free: 4.168 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.314e-05/0.5366, allocations: 8 kB / 0.6002 GB, free: 4.16 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.482e-05/0.5367, allocations: 38.55 kB / 0.6002 GB, free: 4.113 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 1.753e-06/0.5367, allocations: 3.938 kB / 0.6002 GB, free: 4.109 MB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003457/0.537, allocations: 121.5 kB / 0.6003 GB, free: 3.984 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.861e-05/0.5371, allocations: 55.34 kB / 0.6004 GB, free: 3.918 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003069/0.5374, allocations: 299.1 kB / 0.6007 GB, free: 3.613 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.876e-05/0.5374, allocations: 25.7 kB / 0.6007 GB, free: 3.582 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001108/0.5375, allocations: 179.3 kB / 0.6009 GB, free: 3.402 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.628e-05/0.5376, allocations: 27.64 kB / 0.6009 GB, free: 3.375 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.33e-05/0.5376, allocations: 8 kB / 0.6009 GB, free: 3.367 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000125/0.5377, allocations: 330.8 kB / 0.6012 GB, free: 3.035 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001077/0.5378, allocations: 55.97 kB / 0.6013 GB, free: 2.98 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001312/0.538, allocations: 97.98 kB / 0.6014 GB, free: 2.863 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001414/0.5381, allocations: 79.83 kB / 0.6014 GB, free: 2.785 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.5381, allocations: 4 kB / 0.6015 GB, free: 2.781 MB / 410.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003556/0.5385, allocations: 209.7 kB / 0.6017 GB, free: 2.57 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.5385, allocations: 4 kB / 0.6017 GB, free: 2.566 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.5385, allocations: 8.188 kB / 0.6017 GB, free: 2.559 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.5385, allocations: 0 / 0.6017 GB, free: 2.559 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001441/0.54, allocations: 123.8 kB / 0.6018 GB, free: 2.438 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001765/0.5418, allocations: 1.84 MB / 0.6036 GB, free: 0.5273 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000265/0.5421, allocations: 39.58 kB / 0.6036 GB, free: 500 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.25e-05/0.5421, allocations: 4 kB / 0.6036 GB, free: 496 kB / 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 0.0001071/0.5422, allocations: 121.1 kB / 0.6037 GB, free: 368 kB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.656e-05/0.5423, allocations: 19.81 kB / 0.6038 GB, free: 348 kB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004216/0.5427, allocations: 175.2 kB / 0.6039 GB, free: 164 kB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.5427, allocations: 4 kB / 0.6039 GB, free: 160 kB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.5427, allocations: 4 kB / 0.6039 GB, free: 156 kB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.5427, allocations: 0 / 0.6039 GB, free: 156 kB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003345/0.5431, allocations: 277.4 kB / 0.6042 GB, free: 15.83 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.5431, allocations: 0 / 0.6042 GB, free: 15.83 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001135/0.5442, allocations: 110.6 kB / 0.6043 GB, free: 15.73 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.998e-06/0.5442, allocations: 0 / 0.6043 GB, free: 15.73 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.723e-05/0.5442, allocations: 4 kB / 0.6043 GB, free: 15.72 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001236/0.5455, allocations: 1.789 MB / 0.606 GB, free: 13.86 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.5455, allocations: 288 / 0.606 GB, free: 13.86 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003108/0.5458, allocations: 239.2 kB / 0.6063 GB, free: 13.61 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.102e-05/0.5459, allocations: 100.8 kB / 0.6064 GB, free: 13.5 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.036e-05/0.546, allocations: 8 kB / 0.6064 GB, free: 13.49 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001949/0.5462, allocations: 11.92 kB / 0.6064 GB, free: 13.48 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.964e-05/0.5462, allocations: 8 kB / 0.6064 GB, free: 13.47 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.563e-05/0.5463, allocations: 4 kB / 0.6064 GB, free: 13.46 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002455/0.5465, allocations: 243.1 kB / 0.6066 GB, free: 13.23 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5465, allocations: 0 / 0.6066 GB, free: 13.23 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003531/0.5469, allocations: 79.83 kB / 0.6067 GB, free: 13.15 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 () * 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.0002358/0.5471, allocations: 127.2 kB / 0.6068 GB, free: 13.02 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001331/0.5485, allocations: 188.5 kB / 0.607 GB, free: 12.83 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.5485, allocations: 0 / 0.607 GB, free: 12.83 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007855/0.5493, allocations: 92.06 kB / 0.6071 GB, free: 12.74 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002857/0.5496, allocations: 49.16 kB / 0.6071 GB, free: 12.69 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000719/0.5503, allocations: 335.5 kB / 0.6075 GB, free: 12.34 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003378/0.5506, allocations: 0.7872 MB / 0.6082 GB, free: 11.53 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001502/0.5508, allocations: 50.03 kB / 0.6083 GB, free: 11.48 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.897e-05/0.5509, allocations: 23.44 kB / 0.6083 GB, free: 11.46 MB / 426.7 MB Notification: Performance of SimCode: time 6.21e-07/0.5509, allocations: 0 / 0.6083 GB, free: 11.46 MB / 426.7 MB Notification: Performance of Templates: time 0.008806/0.5597, allocations: 4.977 MB / 0.6132 GB, free: 6.527 MB / 426.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