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.001284/0.001284, allocations: 114.8 kB / 17.09 MB, free: 6.008 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.001213/0.001213, allocations: 194.2 kB / 18.02 MB, free: 5.086 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.41/1.41, allocations: 205.1 MB / 223.9 MB, free: 12.25 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.2102/0.2102, allocations: 43.53 MB / 314.8 MB, free: 464 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.001714/0.001714, allocations: 63.91 kB / 442.5 MB, free: 5.641 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1288/0.1305, allocations: 57.78 MB / 0.4886 GB, free: 11.78 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW): time 0.003142/0.1337, allocations: 1.782 MB / 0.4903 GB, free: 9.984 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001739/0.1354, allocations: 1.014 MB / 0.4913 GB, free: 8.965 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001277/0.1356, allocations: 7.938 kB / 0.4913 GB, free: 8.957 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003092/0.1359, allocations: 59.67 kB / 0.4914 GB, free: 8.898 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000264/0.1362, allocations: 63.59 kB / 0.4914 GB, free: 8.836 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004631/0.1367, allocations: 123.5 kB / 0.4915 GB, free: 8.715 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003013/0.137, allocations: 210.9 kB / 0.4917 GB, free: 8.508 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.106e-05/0.1371, allocations: 25.67 kB / 0.4918 GB, free: 8.484 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001489/0.1372, allocations: 95.5 kB / 0.4919 GB, free: 8.391 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000184/0.1374, allocations: 91.55 kB / 0.492 GB, free: 8.301 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.812e-05/0.1375, allocations: 8 kB / 0.492 GB, free: 8.293 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004155/0.1379, allocations: 219.6 kB / 0.4922 GB, free: 8.078 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001287/0.138, allocations: 59.75 kB / 0.4922 GB, free: 8.02 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001214/0.1382, allocations: 91.36 kB / 0.4923 GB, free: 7.93 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005086/0.1387, allocations: 302.7 kB / 0.4926 GB, free: 7.633 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.1387, allocations: 0 / 0.4926 GB, free: 7.633 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.705e-06/0.1387, allocations: 0 / 0.4926 GB, free: 7.633 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.211e-05/0.1387, allocations: 3.938 kB / 0.4926 GB, free: 7.629 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.0009095/0.1396, allocations: 0.5409 MB / 0.4931 GB, free: 7.043 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.849e-05/0.1397, allocations: 15.89 kB / 0.4931 GB, free: 7.027 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008905/0.1406, allocations: 132.6 kB / 0.4933 GB, free: 6.898 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003437/0.1409, allocations: 255.9 kB / 0.4935 GB, free: 6.609 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.931e-05/0.141, allocations: 16.8 kB / 0.4935 GB, free: 6.594 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.669e-05/0.141, allocations: 20.38 kB / 0.4936 GB, free: 6.574 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006876/0.1417, allocations: 441.8 kB / 0.494 GB, free: 6.109 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.1417, allocations: 0 / 0.494 GB, free: 6.109 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.036e-05/0.1418, allocations: 8 kB / 0.494 GB, free: 6.102 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.886e-05/0.1418, allocations: 32.52 kB / 0.494 GB, free: 6.07 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006827/0.1425, allocations: 393.8 kB / 0.4944 GB, free: 5.688 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002174/0.1447, allocations: 1.481 MB / 0.4958 GB, free: 4.094 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000255/0.145, allocations: 90.5 kB / 0.4959 GB, free: 3.996 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001508/0.1451, allocations: 52.81 kB / 0.496 GB, free: 3.941 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.675e-05/0.1452, allocations: 4.156 kB / 0.496 GB, free: 3.938 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.017e-05/0.1452, allocations: 46.42 kB / 0.496 GB, free: 3.883 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.934e-06/0.1452, allocations: 0 / 0.496 GB, free: 3.883 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005977/0.1458, allocations: 189.6 kB / 0.4962 GB, free: 3.691 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.756e-05/0.1459, allocations: 51.41 kB / 0.4962 GB, free: 3.629 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00036/0.1462, allocations: 330.6 kB / 0.4966 GB, free: 3.297 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.131e-05/0.1463, allocations: 29.7 kB / 0.4966 GB, free: 3.262 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001232/0.1464, allocations: 175.6 kB / 0.4968 GB, free: 3.086 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.982e-05/0.1464, allocations: 39.73 kB / 0.4968 GB, free: 3.047 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.619e-05/0.1465, allocations: 33.7 kB / 0.4968 GB, free: 3.008 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001358/0.1467, allocations: 334.8 kB / 0.4971 GB, free: 2.672 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002/0.1469, allocations: 63.94 kB / 0.4972 GB, free: 2.609 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002263/0.1471, allocations: 122 kB / 0.4973 GB, free: 2.469 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003831/0.1475, allocations: 189.8 kB / 0.4975 GB, free: 2.262 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.1475, allocations: 0 / 0.4975 GB, free: 2.262 MB / 382.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006083/0.1481, allocations: 233.3 kB / 0.4977 GB, free: 2.027 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.45e-05/0.1482, allocations: 15.92 kB / 0.4977 GB, free: 2.012 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.077e-05/0.1482, allocations: 3.984 kB / 0.4977 GB, free: 2.008 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.184e-05/0.1482, allocations: 4.188 kB / 0.4978 GB, free: 2.004 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001535/0.1498, allocations: 115.8 kB / 0.4979 GB, free: 1.891 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00196/0.1517, allocations: 1.844 MB / 0.4997 GB, free: 15.98 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002902/0.152, allocations: 27.81 kB / 0.4997 GB, free: 15.95 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.386e-05/0.1521, allocations: 19.98 kB / 0.4997 GB, free: 15.93 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.0001533/0.1522, allocations: 165.5 kB / 0.4999 GB, free: 15.76 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.947e-05/0.1523, allocations: 27.98 kB / 0.4999 GB, free: 15.73 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005114/0.1528, allocations: 203.1 kB / 0.5001 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.1528, allocations: 0 / 0.5001 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.1528, allocations: 0 / 0.5001 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.008e-05/0.1529, allocations: 105 kB / 0.5002 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.3e-05/0.153, allocations: 4 kB / 0.5002 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002045/0.1532, allocations: 7.984 kB / 0.5002 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.702e-05/0.1532, allocations: 4 kB / 0.5002 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001223/0.1545, allocations: 291.3 kB / 0.5005 GB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006523/0.1551, allocations: 410.4 kB / 0.5009 GB, free: 14.67 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001552/0.1553, allocations: 60.2 kB / 0.5009 GB, free: 14.61 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002419/0.1556, allocations: 253.9 kB / 0.5012 GB, free: 14.36 MB / 398.1 MB Notification: Performance of Backend: time 7.22e-07/0.1556, allocations: 0 / 0.5012 GB, free: 14.36 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002681/0.1582, allocations: 329.9 kB / 0.5015 GB, free: 14.03 MB / 398.1 MB Notification: Performance of SimCode: time 0.001514/0.1598, allocations: 0.9799 MB / 0.5024 GB, free: 13 MB / 398.1 MB Notification: Performance of Templates: time 0.01112/0.1709, allocations: 5.984 MB / 0.5083 GB, free: 7.031 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