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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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 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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001539/0.00154, allocations: 112.6 kB / 17.09 MB, free: 5.988 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001937/0.001937, allocations: 199.3 kB / 18.02 MB, free: 5.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.514/1.514, allocations: 205.1 MB / 223.9 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2334/0.2334, allocations: 43.52 MB / 314.8 MB, free: 456 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001769/0.001769, allocations: 75.89 kB / 442.5 MB, free: 5.621 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1385/0.1403, allocations: 57.78 MB / 0.4886 GB, free: 11.76 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW): time 0.003656/0.144, allocations: 1.794 MB / 0.4903 GB, free: 9.953 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002104/0.1461, allocations: 1.006 MB / 0.4913 GB, free: 8.941 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001355/0.1463, allocations: 4 kB / 0.4913 GB, free: 8.938 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003108/0.1466, allocations: 51.69 kB / 0.4914 GB, free: 8.887 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003115/0.147, allocations: 67.62 kB / 0.4914 GB, free: 8.82 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005289/0.1475, allocations: 127.5 kB / 0.4915 GB, free: 8.695 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003667/0.1479, allocations: 214.8 kB / 0.4917 GB, free: 8.484 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.762e-05/0.148, allocations: 29.66 kB / 0.4918 GB, free: 8.457 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002006/0.1482, allocations: 87.56 kB / 0.4919 GB, free: 8.371 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002305/0.1485, allocations: 99.47 kB / 0.492 GB, free: 8.273 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.233e-05/0.1485, allocations: 8 kB / 0.492 GB, free: 8.266 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000458/0.149, allocations: 203.7 kB / 0.4922 GB, free: 8.066 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001146/0.1491, allocations: 63.73 kB / 0.4922 GB, free: 8.004 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001515/0.1492, allocations: 91.36 kB / 0.4923 GB, free: 7.914 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005978/0.1499, allocations: 306.8 kB / 0.4926 GB, free: 7.613 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.1499, allocations: 4 kB / 0.4926 GB, free: 7.609 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1499, allocations: 0 / 0.4926 GB, free: 7.609 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.199e-05/0.1499, allocations: 0 / 0.4926 GB, free: 7.609 MB / 382.1 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.0009549/0.1509, allocations: 0.5297 MB / 0.4931 GB, free: 7.035 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.263e-05/0.1509, allocations: 19.89 kB / 0.4931 GB, free: 7.016 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009781/0.1519, allocations: 132.5 kB / 0.4933 GB, free: 6.887 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003636/0.1523, allocations: 251.9 kB / 0.4935 GB, free: 6.602 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.304e-05/0.1523, allocations: 20.73 kB / 0.4935 GB, free: 6.582 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.417e-05/0.1524, allocations: 24.31 kB / 0.4935 GB, free: 6.559 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006744/0.153, allocations: 437.9 kB / 0.494 GB, free: 6.098 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.31e-05/0.1531, allocations: 3.938 kB / 0.494 GB, free: 6.094 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.924e-05/0.1531, allocations: 4 kB / 0.494 GB, free: 6.09 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001114/0.1532, allocations: 28.55 kB / 0.494 GB, free: 6.062 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006661/0.1539, allocations: 389.9 kB / 0.4944 GB, free: 5.684 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002146/0.1561, allocations: 1.484 MB / 0.4958 GB, free: 4.086 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002785/0.1563, allocations: 90.52 kB / 0.4959 GB, free: 3.988 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001517/0.1565, allocations: 52.75 kB / 0.496 GB, free: 3.934 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.828e-05/0.1565, allocations: 0 / 0.496 GB, free: 3.934 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.231e-05/0.1566, allocations: 38.5 kB / 0.496 GB, free: 3.887 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.563e-06/0.1566, allocations: 4 kB / 0.496 GB, free: 3.883 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005909/0.1572, allocations: 185.4 kB / 0.4962 GB, free: 3.695 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.389e-05/0.1572, allocations: 55.41 kB / 0.4962 GB, free: 3.629 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003669/0.1576, allocations: 326.7 kB / 0.4965 GB, free: 3.301 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.852e-05/0.1576, allocations: 29.7 kB / 0.4966 GB, free: 3.266 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001422/0.1578, allocations: 171.3 kB / 0.4967 GB, free: 3.094 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.085e-05/0.1578, allocations: 31.64 kB / 0.4968 GB, free: 3.062 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001012/0.1579, allocations: 45.61 kB / 0.4968 GB, free: 3.012 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001375/0.1581, allocations: 334.8 kB / 0.4971 GB, free: 2.676 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001904/0.1583, allocations: 71.88 kB / 0.4972 GB, free: 2.605 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002144/0.1585, allocations: 114 kB / 0.4973 GB, free: 2.473 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003765/0.1589, allocations: 181.8 kB / 0.4975 GB, free: 2.273 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.888e-06/0.1589, allocations: 0 / 0.4975 GB, free: 2.273 MB / 382.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000528/0.1594, allocations: 241.1 kB / 0.4977 GB, free: 2.031 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.099e-05/0.1595, allocations: 11.94 kB / 0.4977 GB, free: 2.02 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.877e-06/0.1595, allocations: 0 / 0.4977 GB, free: 2.02 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.734e-05/0.1595, allocations: 4 kB / 0.4977 GB, free: 2.016 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001626/0.1611, allocations: 120 kB / 0.4978 GB, free: 1.898 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002107/0.1633, allocations: 1.84 MB / 0.4996 GB, free: 15.98 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000346/0.1636, allocations: 39.64 kB / 0.4997 GB, free: 15.95 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.564e-05/0.1637, allocations: 8 kB / 0.4997 GB, free: 15.94 MB / 398.1 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 (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001921/0.1639, allocations: 161.6 kB / 0.4998 GB, free: 15.77 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.813e-05/0.1639, allocations: 27.81 kB / 0.4999 GB, free: 15.74 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005595/0.1645, allocations: 203.1 kB / 0.5 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.1645, allocations: 4 kB / 0.5001 GB, free: 15.53 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.1645, allocations: 0 / 0.5001 GB, free: 15.53 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001055/0.1646, allocations: 100.8 kB / 0.5001 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.735e-05/0.1647, allocations: 8 kB / 0.5002 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002137/0.1649, allocations: 7.984 kB / 0.5002 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.9e-05/0.165, allocations: 11.98 kB / 0.5002 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001229/0.1662, allocations: 291.1 kB / 0.5005 GB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006799/0.1669, allocations: 398.6 kB / 0.5008 GB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001564/0.1671, allocations: 60.05 kB / 0.5009 GB, free: 14.62 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002703/0.1674, allocations: 249.9 kB / 0.5011 GB, free: 14.38 MB / 398.1 MB Notification: Performance of Backend: time 3.3e-07/0.1674, allocations: 0 / 0.5011 GB, free: 14.38 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002825/0.1702, allocations: 333.8 kB / 0.5014 GB, free: 14.05 MB / 398.1 MB Notification: Performance of SimCode: time 0.001577/0.1718, allocations: 0.9692 MB / 0.5024 GB, free: 13.02 MB / 398.1 MB Notification: Performance of Templates: time 0.01255/0.1844, allocations: 6.128 MB / 0.5084 GB, free: 6.914 MB / 398.1 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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