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.001849/0.001849, allocations: 175.8 kB / 16.76 MB, free: 4.934 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.656/1.656, allocations: 205.4 MB / 222.9 MB, free: 9.023 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.0008158/0.0008158, allocations: 85.06 kB / 271.3 MB, free: 8.242 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3136/0.3136, allocations: 43.56 MB / 363.1 MB, free: 51.89 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004112/0.0004116, allocations: 15.98 kB / 432.6 MB, free: 4.938 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1266/0.127, allocations: 58.84 MB / 491.5 MB, free: 10.02 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3617/0.4888, allocations: 90.18 MB / 0.568 GB, free: 11.65 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003634/0.4892, allocations: 95.94 kB / 0.5681 GB, free: 11.55 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01704/0.5063, allocations: 5.858 MB / 0.5738 GB, free: 5.664 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.505e-06/0.5063, allocations: 0 / 0.5738 GB, free: 5.664 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.2e-05/0.5063, allocations: 4 kB / 0.5738 GB, free: 5.66 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.0007318/0.5071, allocations: 0.5065 MB / 0.5743 GB, free: 5.109 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/0.5071, allocations: 12.03 kB / 0.5743 GB, free: 5.098 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001012/0.5082, allocations: 172.3 kB / 0.5745 GB, free: 4.93 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003432/0.5085, allocations: 251.9 kB / 0.5747 GB, free: 4.645 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.3e-05/0.5086, allocations: 20.81 kB / 0.5748 GB, free: 4.625 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.925e-05/0.5086, allocations: 20.36 kB / 0.5748 GB, free: 4.605 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000709/0.5093, allocations: 437.8 kB / 0.5752 GB, free: 4.145 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.428e-05/0.5093, allocations: 3.938 kB / 0.5752 GB, free: 4.141 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.889e-05/0.5094, allocations: 11.94 kB / 0.5752 GB, free: 4.129 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.572e-05/0.5094, allocations: 28.55 kB / 0.5752 GB, free: 4.102 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006792/0.5101, allocations: 389.8 kB / 0.5756 GB, free: 3.723 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002044/0.5122, allocations: 1.709 MB / 0.5773 GB, free: 1.902 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002406/0.5124, allocations: 108.6 kB / 0.5774 GB, free: 1.789 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001446/0.5126, allocations: 56.81 kB / 0.5774 GB, free: 1.73 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.686e-05/0.5126, allocations: 0 / 0.5774 GB, free: 1.73 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.581e-05/0.5126, allocations: 42.5 kB / 0.5775 GB, free: 1.68 MB / 394.7 MB Notification: Performance of pre-optimization done (n=7): time 9.82e-07/0.5127, allocations: 3.938 kB / 0.5775 GB, free: 1.676 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0006352/0.5133, allocations: 205.2 kB / 0.5777 GB, free: 1.469 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.699e-05/0.5133, allocations: 55.41 kB / 0.5777 GB, free: 1.402 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000363/0.5137, allocations: 322.7 kB / 0.578 GB, free: 1.078 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.933e-05/0.5137, allocations: 25.7 kB / 0.5781 GB, free: 1.047 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001231/0.5139, allocations: 191.1 kB / 0.5783 GB, free: 0.8555 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.447e-05/0.5139, allocations: 27.64 kB / 0.5783 GB, free: 0.8281 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.02e-05/0.5139, allocations: 0 / 0.5783 GB, free: 0.8281 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000116/0.514, allocations: 338.8 kB / 0.5786 GB, free: 500 kB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001774/0.5142, allocations: 71.94 kB / 0.5787 GB, free: 428 kB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001959/0.5144, allocations: 121.9 kB / 0.5788 GB, free: 284 kB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003592/0.5148, allocations: 194.8 kB / 0.579 GB, free: 68 kB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.5148, allocations: 0 / 0.579 GB, free: 68 kB / 394.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005118/0.5153, allocations: 255.8 kB / 0.5792 GB, free: 15.81 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.959e-05/0.5154, allocations: 8 kB / 0.5792 GB, free: 15.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/0.5154, allocations: 3.938 kB / 0.5792 GB, free: 15.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.5154, allocations: 4 kB / 0.5792 GB, free: 15.79 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001431/0.5168, allocations: 111.9 kB / 0.5793 GB, free: 15.68 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00186/0.5187, allocations: 1.844 MB / 0.5811 GB, free: 13.77 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003056/0.519, allocations: 43.92 kB / 0.5812 GB, free: 13.73 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.915e-05/0.5191, allocations: 11.94 kB / 0.5812 GB, free: 13.71 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 () * 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.0001748/0.5192, allocations: 153.8 kB / 0.5813 GB, free: 13.55 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.388e-05/0.5193, allocations: 27.66 kB / 0.5814 GB, free: 13.53 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005117/0.5198, allocations: 211.1 kB / 0.5816 GB, free: 13.32 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.59e-06/0.5198, allocations: 4 kB / 0.5816 GB, free: 13.32 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.5198, allocations: 0 / 0.5816 GB, free: 13.32 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.5199, allocations: 0 / 0.5816 GB, free: 13.32 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003446/0.5202, allocations: 273.4 kB / 0.5818 GB, free: 13 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.5202, allocations: 4 kB / 0.5818 GB, free: 13 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001114/0.5213, allocations: 100.6 kB / 0.5819 GB, free: 12.9 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/0.5214, allocations: 0 / 0.5819 GB, free: 12.9 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.559e-05/0.5214, allocations: 4 kB / 0.5819 GB, free: 12.9 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001151/0.5225, allocations: 1.797 MB / 0.5837 GB, free: 11.03 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.5226, allocations: 0 / 0.5837 GB, free: 11.03 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004148/0.523, allocations: 271.4 kB / 0.584 GB, free: 10.75 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.614e-05/0.5231, allocations: 104.8 kB / 0.5841 GB, free: 10.63 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.556e-05/0.5231, allocations: 7.984 kB / 0.5841 GB, free: 10.62 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001937/0.5233, allocations: 8 kB / 0.5841 GB, free: 10.61 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.517e-05/0.5234, allocations: 11.98 kB / 0.5841 GB, free: 10.6 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.099e-05/0.5234, allocations: 4 kB / 0.5841 GB, free: 10.6 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002427/0.5236, allocations: 245.8 kB / 0.5843 GB, free: 10.36 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.41e-07/0.5237, allocations: 0 / 0.5843 GB, free: 10.36 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003433/0.524, allocations: 71.91 kB / 0.5844 GB, free: 10.29 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 () * 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.0002373/0.5242, allocations: 141.7 kB / 0.5845 GB, free: 10.14 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00215/0.5264, allocations: 271.6 kB / 0.5848 GB, free: 9.875 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.5264, allocations: 0 / 0.5848 GB, free: 9.875 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009066/0.5273, allocations: 119.8 kB / 0.5849 GB, free: 9.758 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004649/0.5278, allocations: 45.73 kB / 0.5849 GB, free: 9.711 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001027/0.5289, allocations: 0.5246 MB / 0.5854 GB, free: 9.168 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003969/0.5293, allocations: 0.7794 MB / 0.5862 GB, free: 8.363 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001666/0.5294, allocations: 62.12 kB / 0.5863 GB, free: 8.305 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.321e-05/0.5295, allocations: 15.44 kB / 0.5863 GB, free: 8.289 MB / 410.7 MB Notification: Performance of SimCode: time 3.41e-07/0.5295, allocations: 0 / 0.5863 GB, free: 8.289 MB / 410.7 MB Notification: Performance of Templates: time 0.009208/0.5387, allocations: 4.842 MB / 0.591 GB, free: 3.496 MB / 410.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/jenkins1/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