Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001725/0.001725, allocations: 110.8 kB / 21.19 MB, free: 0.6641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002041/0.002041, allocations: 209.3 kB / 24.49 MB, free: 3.965 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.462/1.462, allocations: 230.6 MB / 258.3 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2292/0.2292, allocations: 46.95 MB / 361.6 MB, free: 4.082 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,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.1.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=5003,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.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001972/0.001972, allocations: 63.91 kB / 0.4974 GB, free: 7.238 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3305/0.3325, allocations: 66.03 MB / 0.5618 GB, free: 4.195 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW): time 0.003214/0.3357, allocations: 1.768 MB / 0.5636 GB, free: 2.414 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001647/0.3374, allocations: 0.9281 MB / 0.5645 GB, free: 1.484 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.087e-05/0.3374, allocations: 4 kB / 0.5645 GB, free: 1.48 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002537/0.3377, allocations: 47.75 kB / 0.5645 GB, free: 1.434 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002275/0.3379, allocations: 67.58 kB / 0.5646 GB, free: 1.367 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003554/0.3383, allocations: 127.5 kB / 0.5647 GB, free: 1.242 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002664/0.3386, allocations: 218.8 kB / 0.5649 GB, free: 1.027 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.081e-05/0.3386, allocations: 5.969 kB / 0.5649 GB, free: 1.02 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001291/0.3387, allocations: 91.56 kB / 0.565 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001705/0.3389, allocations: 103.5 kB / 0.5651 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.522e-05/0.3389, allocations: 8 kB / 0.5651 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002919/0.3392, allocations: 163.8 kB / 0.5653 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.848e-05/0.3393, allocations: 59.69 kB / 0.5653 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.22e-05/0.3394, allocations: 75.48 kB / 0.5654 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004117/0.3398, allocations: 293.1 kB / 0.5657 GB, free: 252 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.3398, allocations: 0 / 0.5657 GB, free: 252 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3398, allocations: 0 / 0.5657 GB, free: 252 kB / 398.1 MB Notification: Performance of Transformations before backend: time 5.951e-06/0.3398, allocations: 4 kB / 0.5657 GB, free: 248 kB / 398.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.000823/0.3407, allocations: 473.3 kB / 0.5661 GB, free: 15.75 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/0.3407, allocations: 12.03 kB / 0.5662 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008929/0.3416, allocations: 136.5 kB / 0.5663 GB, free: 15.6 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003855/0.342, allocations: 206 kB / 0.5665 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.631e-05/0.342, allocations: 16.8 kB / 0.5665 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.675e-05/0.3421, allocations: 28.38 kB / 0.5665 GB, free: 15.33 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000708/0.3428, allocations: 434.5 kB / 0.5669 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.3428, allocations: 4 kB / 0.5669 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.062e-05/0.3428, allocations: 4 kB / 0.5669 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.686e-05/0.3428, allocations: 28.48 kB / 0.567 GB, free: 14.85 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006873/0.3435, allocations: 393.6 kB / 0.5673 GB, free: 14.46 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002012/0.3455, allocations: 1.179 MB / 0.5685 GB, free: 13.23 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002577/0.3458, allocations: 94.5 kB / 0.5686 GB, free: 13.12 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001478/0.346, allocations: 44.81 kB / 0.5686 GB, free: 13.08 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.807e-05/0.346, allocations: 4 kB / 0.5686 GB, free: 13.07 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.742e-05/0.346, allocations: 30.56 kB / 0.5687 GB, free: 13.04 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.382e-06/0.346, allocations: 4 kB / 0.5687 GB, free: 13.03 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006173/0.3466, allocations: 189.5 kB / 0.5688 GB, free: 12.84 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.3e-05/0.3467, allocations: 51.41 kB / 0.5689 GB, free: 12.78 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002442/0.3469, allocations: 227.2 kB / 0.5691 GB, free: 12.54 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.202e-05/0.3469, allocations: 25.7 kB / 0.5691 GB, free: 12.51 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001373/0.3471, allocations: 195.9 kB / 0.5693 GB, free: 12.32 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.077e-05/0.3471, allocations: 23.8 kB / 0.5693 GB, free: 12.29 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.587e-05/0.3472, allocations: 37.7 kB / 0.5694 GB, free: 12.25 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001466/0.3473, allocations: 326.8 kB / 0.5697 GB, free: 11.92 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001941/0.3475, allocations: 75.88 kB / 0.5698 GB, free: 11.85 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002114/0.3477, allocations: 114 kB / 0.5699 GB, free: 11.71 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004763/0.3482, allocations: 193.3 kB / 0.5701 GB, free: 11.51 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.3482, allocations: 0 / 0.5701 GB, free: 11.51 MB / 414.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004971/0.3487, allocations: 225.3 kB / 0.5703 GB, free: 11.28 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.3487, allocations: 4 kB / 0.5703 GB, free: 11.28 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.3487, allocations: 7.938 kB / 0.5703 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/0.3487, allocations: 4.188 kB / 0.5703 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001633/0.3504, allocations: 123.8 kB / 0.5704 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002102/0.3525, allocations: 1.84 MB / 0.5722 GB, free: 9.234 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002623/0.3527, allocations: 24.11 kB / 0.5722 GB, free: 9.211 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.021e-05/0.3528, allocations: 11.98 kB / 0.5722 GB, free: 9.199 MB / 414.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.0001569/0.3529, allocations: 157.7 kB / 0.5724 GB, free: 9.035 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.629e-05/0.353, allocations: 19.84 kB / 0.5724 GB, free: 9.016 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005211/0.3535, allocations: 186.9 kB / 0.5726 GB, free: 8.824 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/0.3535, allocations: 4 kB / 0.5726 GB, free: 8.82 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.3535, allocations: 0 / 0.5726 GB, free: 8.82 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.616e-05/0.3535, allocations: 15.91 kB / 0.5726 GB, free: 8.805 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.167e-05/0.3536, allocations: 4 kB / 0.5726 GB, free: 8.801 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001946/0.3537, allocations: 7.984 kB / 0.5726 GB, free: 8.793 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.562e-05/0.3538, allocations: 15.92 kB / 0.5726 GB, free: 8.777 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001271/0.3551, allocations: 283.3 kB / 0.5729 GB, free: 8.484 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006361/0.3557, allocations: 394.8 kB / 0.5733 GB, free: 8.082 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001614/0.3559, allocations: 67.97 kB / 0.5733 GB, free: 8.016 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001607/0.356, allocations: 159.2 kB / 0.5735 GB, free: 7.859 MB / 414.1 MB Notification: Performance of Backend: time 7.32e-07/0.356, allocations: 0 / 0.5735 GB, free: 7.859 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002844/0.3589, allocations: 333.9 kB / 0.5738 GB, free: 7.527 MB / 414.1 MB Notification: Performance of SimCode: time 0.001581/0.3605, allocations: 0.9319 MB / 0.5747 GB, free: 6.547 MB / 414.1 MB Notification: Performance of Templates: time 0.01068/0.3711, allocations: 6.084 MB / 0.5807 GB, free: 0.5391 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.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.1.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/General/dp_idealGas_DPMFLOW/dp_idealGas_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" 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_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_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 [Calling sys.exit(0), Time elapsed: 5.400978822995967]