Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001708/0.001708, allocations: 183.5 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.724/1.724, allocations: 205.4 MB / 221.9 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009498/0.0009499, allocations: 78.88 kB / 270.2 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2305/0.2305, allocations: 43.55 MB / 362 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003116/0.0003116, allocations: 8 kB / 431.4 MB, free: 19.58 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1337/0.134, allocations: 58.86 MB / 490.3 MB, free: 8.656 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3685/0.5025, allocations: 90.13 MB / 0.5668 GB, free: 9.719 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002963/0.5029, allocations: 93.25 kB / 0.5669 GB, free: 9.664 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01623/0.5191, allocations: 5.849 MB / 0.5726 GB, free: 4.559 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.5192, allocations: 0 / 0.5726 GB, free: 4.559 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.425e-05/0.5192, allocations: 4 kB / 0.5726 GB, free: 4.555 MB / 378.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.0006865/0.5199, allocations: 0.5123 MB / 0.5731 GB, free: 4.012 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/0.5199, allocations: 12.03 kB / 0.5731 GB, free: 4 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001003/0.521, allocations: 166.4 kB / 0.5733 GB, free: 3.848 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003464/0.5213, allocations: 253.7 kB / 0.5735 GB, free: 3.57 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.582e-05/0.5213, allocations: 19.5 kB / 0.5735 GB, free: 3.559 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.592e-05/0.5214, allocations: 19.38 kB / 0.5735 GB, free: 3.547 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006276/0.522, allocations: 445.9 kB / 0.574 GB, free: 3.156 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.522, allocations: 4 kB / 0.574 GB, free: 3.152 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.192e-05/0.5221, allocations: 11.31 kB / 0.574 GB, free: 3.148 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.61e-05/0.5221, allocations: 24.53 kB / 0.574 GB, free: 3.125 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006432/0.5228, allocations: 387.6 kB / 0.5744 GB, free: 2.844 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002028/0.5248, allocations: 1.709 MB / 0.576 GB, free: 1.121 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002325/0.5251, allocations: 104.2 kB / 0.5761 GB, free: 1.02 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.475e-05/0.5251, allocations: 0 / 0.5761 GB, free: 1.02 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.009e-05/0.5251, allocations: 34.38 kB / 0.5762 GB, free: 0.9805 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 2.314e-06/0.5251, allocations: 4 kB / 0.5762 GB, free: 0.9766 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0005537/0.5257, allocations: 196.7 kB / 0.5764 GB, free: 0.793 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.604e-05/0.5257, allocations: 59.34 kB / 0.5764 GB, free: 0.7227 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003011/0.526, allocations: 302 kB / 0.5767 GB, free: 476 kB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.318e-05/0.5261, allocations: 25.7 kB / 0.5767 GB, free: 444 kB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001229/0.5262, allocations: 181.4 kB / 0.5769 GB, free: 292 kB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.792e-05/0.5262, allocations: 23.47 kB / 0.5769 GB, free: 272 kB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.453e-05/0.5263, allocations: 3.938 kB / 0.5769 GB, free: 272 kB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001554/0.5264, allocations: 342.3 kB / 0.5773 GB, free: 15.93 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001944/0.5266, allocations: 75.12 kB / 0.5773 GB, free: 15.87 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001919/0.5268, allocations: 121.4 kB / 0.5775 GB, free: 15.74 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001923/0.527, allocations: 87.31 kB / 0.5775 GB, free: 15.67 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.527, allocations: 0 / 0.5775 GB, free: 15.67 MB / 394.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000514/0.5276, allocations: 255.1 kB / 0.5778 GB, free: 15.45 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.738e-05/0.5276, allocations: 11.44 kB / 0.5778 GB, free: 15.44 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.167e-06/0.5276, allocations: 0 / 0.5778 GB, free: 15.44 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.73e-05/0.5276, allocations: 4 kB / 0.5778 GB, free: 15.44 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001636/0.5293, allocations: 119.8 kB / 0.5779 GB, free: 15.32 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001909/0.5312, allocations: 1.843 MB / 0.5797 GB, free: 13.43 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002866/0.5315, allocations: 43.44 kB / 0.5798 GB, free: 13.39 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.108e-05/0.5315, allocations: 8 kB / 0.5798 GB, free: 13.39 MB / 394.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.0001721/0.5317, allocations: 157.2 kB / 0.5799 GB, free: 13.23 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.762e-05/0.5318, allocations: 19.72 kB / 0.5799 GB, free: 13.21 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005051/0.5323, allocations: 217.9 kB / 0.5801 GB, free: 13.03 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.5323, allocations: 0 / 0.5801 GB, free: 13.03 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.5323, allocations: 4 kB / 0.5801 GB, free: 13.02 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.159e-06/0.5323, allocations: 3.984 kB / 0.5801 GB, free: 13.02 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002963/0.5326, allocations: 272.2 kB / 0.5804 GB, free: 12.73 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.5326, allocations: 0 / 0.5804 GB, free: 12.73 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00126/0.5339, allocations: 103.5 kB / 0.5805 GB, free: 12.64 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.606e-06/0.5339, allocations: 3.984 kB / 0.5805 GB, free: 12.63 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.864e-05/0.5339, allocations: 7.938 kB / 0.5805 GB, free: 12.63 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001237/0.5352, allocations: 1.785 MB / 0.5823 GB, free: 10.79 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.5352, allocations: 12.03 kB / 0.5823 GB, free: 10.78 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004125/0.5356, allocations: 270.8 kB / 0.5825 GB, free: 10.52 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.925e-05/0.5357, allocations: 100.8 kB / 0.5826 GB, free: 10.4 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.578e-05/0.5358, allocations: 11.81 kB / 0.5826 GB, free: 10.39 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002058/0.536, allocations: 4 kB / 0.5826 GB, free: 10.39 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.104e-05/0.536, allocations: 7.984 kB / 0.5826 GB, free: 10.38 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.34e-05/0.536, allocations: 4 kB / 0.5826 GB, free: 10.38 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002308/0.5363, allocations: 243.4 kB / 0.5829 GB, free: 10.19 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5363, allocations: 0 / 0.5829 GB, free: 10.19 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000348/0.5366, allocations: 71.34 kB / 0.5829 GB, free: 10.12 MB / 394.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.0002372/0.5369, allocations: 139.2 kB / 0.5831 GB, free: 9.98 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001634/0.5385, allocations: 230.9 kB / 0.5833 GB, free: 9.777 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.5385, allocations: 4 kB / 0.5833 GB, free: 9.773 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000891/0.5394, allocations: 111.8 kB / 0.5834 GB, free: 9.672 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002807/0.5397, allocations: 52.11 kB / 0.5835 GB, free: 9.629 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000934/0.5407, allocations: 0.5213 MB / 0.584 GB, free: 9.105 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003507/0.541, allocations: 0.787 MB / 0.5847 GB, free: 8.297 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001481/0.5412, allocations: 50.25 kB / 0.5848 GB, free: 8.246 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.938e-05/0.5413, allocations: 19.44 kB / 0.5848 GB, free: 8.227 MB / 394.7 MB Notification: Performance of SimCode: time 4e-07/0.5413, allocations: 3.938 kB / 0.5848 GB, free: 8.223 MB / 394.7 MB Notification: Performance of Templates: time 0.008461/0.5497, allocations: 4.886 MB / 0.5896 GB, free: 3.367 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/General/dp_idealGas_DPMFLOW/dp_idealGas_DPMFLOW.csv","../files/ModelicaTest_3.2.3_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