Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001741/0.001741, allocations: 114.3 kB / 21.18 MB, free: 0.6211 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002093/0.002093, allocations: 212.9 kB / 24.48 MB, free: 4.031 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.416/1.416, allocations: 230.2 MB / 257.8 MB, free: 8.5 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2276/0.2276, allocations: 46.89 MB / 361.1 MB, free: 4.656 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-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.003102/0.003102, allocations: 71.88 kB / 0.4968 GB, free: 7.816 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.338/0.3411, allocations: 65.98 MB / 0.5612 GB, free: 5.051 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW): time 0.003034/0.3441, allocations: 1.819 MB / 0.563 GB, free: 3.219 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001638/0.3458, allocations: 1.018 MB / 0.564 GB, free: 2.199 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.649e-05/0.3458, allocations: 4 kB / 0.564 GB, free: 2.195 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002379/0.3461, allocations: 51.67 kB / 0.564 GB, free: 2.145 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002045/0.3463, allocations: 67.66 kB / 0.5641 GB, free: 2.078 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003366/0.3466, allocations: 127.5 kB / 0.5642 GB, free: 1.953 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002738/0.3469, allocations: 222.8 kB / 0.5644 GB, free: 1.734 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.462e-05/0.3469, allocations: 5.688 kB / 0.5645 GB, free: 1.727 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001245/0.3471, allocations: 99.5 kB / 0.5645 GB, free: 1.629 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001697/0.3472, allocations: 99.53 kB / 0.5646 GB, free: 1.531 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.935e-05/0.3472, allocations: 4 kB / 0.5646 GB, free: 1.527 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003646/0.3476, allocations: 211.7 kB / 0.5648 GB, free: 1.32 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.185e-05/0.3477, allocations: 55.7 kB / 0.5649 GB, free: 1.266 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001086/0.3478, allocations: 99.33 kB / 0.565 GB, free: 1.168 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004191/0.3482, allocations: 301.5 kB / 0.5653 GB, free: 0.875 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.706e-06/0.3482, allocations: 0 / 0.5653 GB, free: 0.875 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.3482, allocations: 0 / 0.5653 GB, free: 0.875 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.26e-06/0.3482, allocations: 4 kB / 0.5653 GB, free: 0.8711 MB / 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.000822/0.3491, allocations: 0.5453 MB / 0.5658 GB, free: 280 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/0.3491, allocations: 8.031 kB / 0.5658 GB, free: 272 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007918/0.3499, allocations: 128.6 kB / 0.5659 GB, free: 144 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000378/0.3503, allocations: 263.9 kB / 0.5662 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.408e-05/0.3503, allocations: 12.81 kB / 0.5662 GB, free: 15.83 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.642e-05/0.3503, allocations: 20.36 kB / 0.5662 GB, free: 15.81 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006743/0.351, allocations: 445.7 kB / 0.5667 GB, free: 15.35 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.351, allocations: 0 / 0.5667 GB, free: 15.35 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.947e-05/0.351, allocations: 8 kB / 0.5667 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.973e-05/0.3511, allocations: 28.53 kB / 0.5667 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006709/0.3518, allocations: 393.9 kB / 0.5671 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002001/0.3538, allocations: 1.477 MB / 0.5685 GB, free: 13.34 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002555/0.354, allocations: 102.4 kB / 0.5686 GB, free: 13.23 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001449/0.3542, allocations: 52.81 kB / 0.5687 GB, free: 13.18 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.375e-05/0.3542, allocations: 0 / 0.5687 GB, free: 13.18 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.462e-05/0.3542, allocations: 38.5 kB / 0.5687 GB, free: 13.13 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.062e-06/0.3542, allocations: 0 / 0.5687 GB, free: 13.13 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005763/0.3548, allocations: 185.6 kB / 0.5689 GB, free: 12.95 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.572e-05/0.3548, allocations: 59.33 kB / 0.5689 GB, free: 12.88 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003653/0.3552, allocations: 330.7 kB / 0.5692 GB, free: 12.55 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.311e-05/0.3552, allocations: 25.7 kB / 0.5693 GB, free: 12.52 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000126/0.3553, allocations: 183.5 kB / 0.5694 GB, free: 12.33 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.614e-05/0.3554, allocations: 27.78 kB / 0.5695 GB, free: 12.3 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.532e-05/0.3555, allocations: 45.66 kB / 0.5695 GB, free: 12.25 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001418/0.3556, allocations: 326.8 kB / 0.5698 GB, free: 11.93 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001806/0.3558, allocations: 67.94 kB / 0.5699 GB, free: 11.86 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002189/0.356, allocations: 121.9 kB / 0.57 GB, free: 11.72 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004544/0.3565, allocations: 185.8 kB / 0.5702 GB, free: 11.52 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.796e-06/0.3565, allocations: 4 kB / 0.5702 GB, free: 11.51 MB / 414.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0007174/0.3572, allocations: 240.8 kB / 0.5704 GB, free: 11.27 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.3572, allocations: 7.938 kB / 0.5704 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.3572, allocations: 4 kB / 0.5704 GB, free: 11.26 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.3572, allocations: 3.984 kB / 0.5704 GB, free: 11.26 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001499/0.3587, allocations: 119.8 kB / 0.5705 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002014/0.3607, allocations: 1.84 MB / 0.5723 GB, free: 9.23 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000297/0.361, allocations: 36.06 kB / 0.5724 GB, free: 9.195 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.043e-05/0.361, allocations: 8 kB / 0.5724 GB, free: 9.188 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.0001769/0.3612, allocations: 161.7 kB / 0.5725 GB, free: 9.02 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.422e-05/0.3613, allocations: 27.8 kB / 0.5726 GB, free: 8.992 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000513/0.3618, allocations: 203.1 kB / 0.5728 GB, free: 8.785 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.3618, allocations: 0 / 0.5728 GB, free: 8.785 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.3618, allocations: 0 / 0.5728 GB, free: 8.785 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.35e-05/0.3619, allocations: 108.8 kB / 0.5729 GB, free: 8.66 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.761e-05/0.3619, allocations: 0 / 0.5729 GB, free: 8.66 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000199/0.3621, allocations: 7.984 kB / 0.5729 GB, free: 8.652 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.819e-05/0.3622, allocations: 8 kB / 0.5729 GB, free: 8.645 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001193/0.3634, allocations: 291.2 kB / 0.5732 GB, free: 8.344 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006657/0.364, allocations: 414.5 kB / 0.5736 GB, free: 7.922 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001525/0.3642, allocations: 52 kB / 0.5736 GB, free: 7.871 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002521/0.3644, allocations: 245.9 kB / 0.5738 GB, free: 7.629 MB / 414.1 MB Notification: Performance of Backend: time 3.31e-07/0.3644, allocations: 3.938 kB / 0.5738 GB, free: 7.625 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002548/0.367, allocations: 330.3 kB / 0.5742 GB, free: 7.297 MB / 414.1 MB Notification: Performance of SimCode: time 0.001477/0.3685, allocations: 0.9796 MB / 0.5751 GB, free: 6.266 MB / 414.1 MB Notification: Performance of Templates: time 0.0112/0.3797, allocations: 6.089 MB / 0.5811 GB, free: 244 kB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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_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 [Calling sys.exit(0), Time elapsed: 5.367948447819799]