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/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 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 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) 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001519/0.00152, allocations: 106.6 kB / 18.45 MB, free: 4.637 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.001726/0.001726, allocations: 187.2 kB / 19.39 MB, free: 3.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.367/1.367, allocations: 222.9 MB / 243.1 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.207/0.207, allocations: 44.19 MB / 337.4 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001261, allocations: 63.91 kB / 471.2 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3338/0.3351, allocations: 60.82 MB / 0.5196 GB, free: 3.633 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW): time 0.002916/0.3381, allocations: 1.791 MB / 0.5213 GB, free: 2.395 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001621/0.3397, allocations: 0.9636 MB / 0.5223 GB, free: 1.734 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.319e-05/0.3398, allocations: 1.281 kB / 0.5223 GB, free: 1.734 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003608/0.3402, allocations: 53.39 kB / 0.5223 GB, free: 1.707 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000279/0.3405, allocations: 73.94 kB / 0.5224 GB, free: 1.664 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003905/0.3409, allocations: 122.7 kB / 0.5225 GB, free: 1.609 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002916/0.3412, allocations: 220.9 kB / 0.5227 GB, free: 1.508 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.293e-05/0.3413, allocations: 34.34 kB / 0.5228 GB, free: 1.488 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001162/0.3414, allocations: 84.64 kB / 0.5228 GB, free: 1.453 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001842/0.3416, allocations: 97.94 kB / 0.5229 GB, free: 1.414 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.703e-05/0.3416, allocations: 10.3 kB / 0.5229 GB, free: 1.41 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004766/0.3421, allocations: 205.6 kB / 0.5231 GB, free: 1.348 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001392/0.3423, allocations: 52.19 kB / 0.5232 GB, free: 1.328 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001182/0.3424, allocations: 98.17 kB / 0.5233 GB, free: 1.27 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005407/0.3429, allocations: 308.3 kB / 0.5236 GB, free: 1.148 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.3429, allocations: 0 / 0.5236 GB, free: 1.148 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.343, allocations: 5.906 kB / 0.5236 GB, free: 1.145 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.402e-06/0.343, allocations: 0 / 0.5236 GB, free: 1.145 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.0007833/0.3438, allocations: 0.5323 MB / 0.5241 GB, free: 0.6758 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.45e-05/0.3438, allocations: 8.969 kB / 0.5241 GB, free: 0.6758 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009139/0.3447, allocations: 135 kB / 0.5242 GB, free: 0.6484 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002965/0.345, allocations: 262.9 kB / 0.5245 GB, free: 420 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.65e-05/0.3451, allocations: 12.81 kB / 0.5245 GB, free: 416 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.629e-05/0.3451, allocations: 25.75 kB / 0.5245 GB, free: 404 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006941/0.3458, allocations: 441.7 kB / 0.525 GB, free: 192 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.3458, allocations: 0 / 0.525 GB, free: 192 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.357e-05/0.3459, allocations: 11.83 kB / 0.525 GB, free: 184 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.121e-05/0.3459, allocations: 29.47 kB / 0.525 GB, free: 180 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007189/0.3466, allocations: 391.7 kB / 0.5254 GB, free: 68 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002052/0.3487, allocations: 1.458 MB / 0.5268 GB, free: 14.88 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002535/0.349, allocations: 100.6 kB / 0.5269 GB, free: 14.82 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001543/0.3491, allocations: 53.5 kB / 0.5269 GB, free: 14.79 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.723e-05/0.3492, allocations: 0 / 0.5269 GB, free: 14.79 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.199e-05/0.3492, allocations: 36.09 kB / 0.527 GB, free: 14.75 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.082e-06/0.3492, allocations: 0 / 0.527 GB, free: 14.75 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006429/0.3499, allocations: 187.5 kB / 0.5272 GB, free: 14.65 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.617e-05/0.3499, allocations: 60.56 kB / 0.5272 GB, free: 14.58 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004914/0.3504, allocations: 329.5 kB / 0.5275 GB, free: 14.37 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.959e-05/0.3504, allocations: 31.64 kB / 0.5276 GB, free: 14.34 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002009/0.3506, allocations: 182.4 kB / 0.5277 GB, free: 14.17 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.555e-05/0.3507, allocations: 32.16 kB / 0.5278 GB, free: 14.14 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001023/0.3508, allocations: 43.53 kB / 0.5278 GB, free: 14.11 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001628/0.351, allocations: 333.4 kB / 0.5281 GB, free: 13.78 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001942/0.3512, allocations: 68.53 kB / 0.5282 GB, free: 13.75 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002292/0.3514, allocations: 115.1 kB / 0.5283 GB, free: 13.66 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000411/0.3518, allocations: 192.1 kB / 0.5285 GB, free: 13.54 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.3518, allocations: 3.938 kB / 0.5285 GB, free: 13.54 MB / 398.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005725/0.3524, allocations: 250.3 kB / 0.5287 GB, free: 13.4 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.626e-05/0.3525, allocations: 9.25 kB / 0.5287 GB, free: 13.4 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.959e-06/0.3525, allocations: 2.094 kB / 0.5287 GB, free: 13.4 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.107e-05/0.3525, allocations: 2.188 kB / 0.5287 GB, free: 13.4 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001578/0.3541, allocations: 117.8 kB / 0.5288 GB, free: 13.36 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001865/0.356, allocations: 1.836 MB / 0.5306 GB, free: 11.54 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003226/0.3563, allocations: 43.78 kB / 0.5307 GB, free: 11.5 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.176e-05/0.3563, allocations: 9.75 kB / 0.5307 GB, free: 11.5 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.0001909/0.3565, allocations: 154.1 kB / 0.5308 GB, free: 11.36 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.473e-05/0.3566, allocations: 25.55 kB / 0.5309 GB, free: 11.35 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005337/0.3571, allocations: 193.1 kB / 0.531 GB, free: 11.23 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.097e-06/0.3571, allocations: 0 / 0.531 GB, free: 11.23 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.3571, allocations: 1.312 kB / 0.531 GB, free: 11.23 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.418e-05/0.3572, allocations: 107.4 kB / 0.5311 GB, free: 11.11 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.422e-05/0.3573, allocations: 1.281 kB / 0.5311 GB, free: 11.11 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002099/0.3575, allocations: 7.797 kB / 0.5312 GB, free: 11.11 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.966e-05/0.3576, allocations: 12.05 kB / 0.5312 GB, free: 11.1 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001314/0.3589, allocations: 294.1 kB / 0.5314 GB, free: 10.89 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007245/0.3596, allocations: 408.6 kB / 0.5318 GB, free: 10.6 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001628/0.3598, allocations: 60.22 kB / 0.5319 GB, free: 10.57 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002762/0.3601, allocations: 245.7 kB / 0.5321 GB, free: 10.42 MB / 398.1 MB Notification: Performance of Backend: time 3.71e-07/0.3601, allocations: 0 / 0.5321 GB, free: 10.42 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002851/0.363, allocations: 339.1 kB / 0.5325 GB, free: 10.24 MB / 398.1 MB Notification: Performance of SimCode: time 0.001682/0.3647, allocations: 0.9725 MB / 0.5334 GB, free: 9.43 MB / 398.1 MB Notification: Performance of Templates: time 0.0125/0.3772, allocations: 5.984 MB / 0.5392 GB, free: 6.512 MB / 398.1 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/jenkins1/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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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