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/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.0009809/0.0009809, allocations: 183.9 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.345/1.345, allocations: 205.2 MB / 218.9 MB, free: 9.207 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007589/0.0007587, allocations: 92.45 kB / 267.1 MB, free: 9.27 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3736/0.3736, allocations: 43.47 MB / 358.6 MB, free: 51.62 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.706e-05/2.708e-05, allocations: 8 kB / 425.3 MB, free: 8.188 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1147/0.1148, allocations: 58.84 MB / 484.2 MB, free: 13.24 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3984/0.5132, allocations: 90.03 MB / 0.5607 GB, free: 14.93 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002059/0.5135, allocations: 103.1 kB / 0.5608 GB, free: 14.89 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01382/0.5273, allocations: 5.847 MB / 0.5666 GB, free: 10.52 MB / 394.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.5273, allocations: 0 / 0.5666 GB, free: 10.52 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.654e-06/0.5273, allocations: 4 kB / 0.5666 GB, free: 10.51 MB / 394.7 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.0004327/0.5278, allocations: 491.8 kB / 0.567 GB, free: 10 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.492e-05/0.5278, allocations: 16.02 kB / 0.567 GB, free: 9.988 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000861/0.5287, allocations: 170.2 kB / 0.5672 GB, free: 9.836 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002296/0.5289, allocations: 255.9 kB / 0.5675 GB, free: 9.559 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.229e-05/0.5289, allocations: 15.12 kB / 0.5675 GB, free: 9.551 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.509e-05/0.529, allocations: 26.88 kB / 0.5675 GB, free: 9.531 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004289/0.5294, allocations: 409.1 kB / 0.5679 GB, free: 9.176 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.5294, allocations: 1.375 kB / 0.5679 GB, free: 9.176 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.535e-05/0.5295, allocations: 15.69 kB / 0.5679 GB, free: 9.168 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.983e-05/0.5295, allocations: 20.55 kB / 0.5679 GB, free: 9.148 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004012/0.5299, allocations: 352.4 kB / 0.5683 GB, free: 8.902 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001491/0.5314, allocations: 1.722 MB / 0.5699 GB, free: 7.172 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001377/0.5316, allocations: 78.84 kB / 0.57 GB, free: 7.094 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.605e-05/0.5316, allocations: 34.41 kB / 0.57 GB, free: 7.062 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.246e-05/0.5317, allocations: 7.938 kB / 0.57 GB, free: 7.055 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.127e-05/0.5317, allocations: 37.5 kB / 0.5701 GB, free: 7.012 MB / 394.7 MB Notification: Performance of pre-optimization done (n=7): time 1.022e-06/0.5317, allocations: 0 / 0.5701 GB, free: 7.012 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002277/0.5319, allocations: 122.6 kB / 0.5702 GB, free: 6.895 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.552e-05/0.5319, allocations: 55.39 kB / 0.5703 GB, free: 6.828 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000212/0.5321, allocations: 293.5 kB / 0.5705 GB, free: 6.59 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.272e-05/0.5322, allocations: 29.08 kB / 0.5706 GB, free: 6.559 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.873e-05/0.5322, allocations: 179.4 kB / 0.5707 GB, free: 6.41 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.218e-05/0.5323, allocations: 34.45 kB / 0.5708 GB, free: 6.383 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.818e-06/0.5323, allocations: 0 / 0.5708 GB, free: 6.383 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.042e-05/0.5324, allocations: 340.2 kB / 0.5711 GB, free: 6.051 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.116e-05/0.5325, allocations: 55.91 kB / 0.5711 GB, free: 6.008 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001053/0.5326, allocations: 98.86 kB / 0.5712 GB, free: 5.902 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001103/0.5327, allocations: 77.69 kB / 0.5713 GB, free: 5.84 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.5327, allocations: 4 kB / 0.5713 GB, free: 5.836 MB / 394.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002971/0.533, allocations: 212.6 kB / 0.5715 GB, free: 5.648 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.778e-06/0.533, allocations: 4.188 kB / 0.5715 GB, free: 5.645 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.918e-06/0.533, allocations: 8 kB / 0.5715 GB, free: 5.637 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.218e-06/0.533, allocations: 4 kB / 0.5715 GB, free: 5.633 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001306/0.5343, allocations: 115 kB / 0.5716 GB, free: 5.523 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001152/0.5355, allocations: 1.842 MB / 0.5734 GB, free: 3.637 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002301/0.5358, allocations: 42.09 kB / 0.5735 GB, free: 3.598 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.772e-05/0.5358, allocations: 4.188 kB / 0.5735 GB, free: 3.594 MB / 394.7 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 () * 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 (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 5.758e-05/0.5358, allocations: 119.7 kB / 0.5736 GB, free: 3.473 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.019e-05/0.5359, allocations: 23.25 kB / 0.5736 GB, free: 3.453 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003176/0.5362, allocations: 175.7 kB / 0.5738 GB, free: 3.309 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.5362, allocations: 4 kB / 0.5738 GB, free: 3.305 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.525e-06/0.5362, allocations: 0 / 0.5738 GB, free: 3.305 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.5362, allocations: 3.938 kB / 0.5738 GB, free: 3.301 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002256/0.5365, allocations: 278.7 kB / 0.5741 GB, free: 3.008 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.5365, allocations: 0 / 0.5741 GB, free: 3.008 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001021/0.5375, allocations: 99.81 kB / 0.5742 GB, free: 2.91 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.265e-06/0.5375, allocations: 0 / 0.5742 GB, free: 2.91 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.375e-05/0.5375, allocations: 7.75 kB / 0.5742 GB, free: 2.906 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007381/0.5383, allocations: 1.783 MB / 0.5759 GB, free: 1.07 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.5383, allocations: 4.281 kB / 0.5759 GB, free: 1.066 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002123/0.5385, allocations: 238.2 kB / 0.5761 GB, free: 0.8359 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.816e-05/0.5386, allocations: 100.8 kB / 0.5762 GB, free: 0.7188 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.903e-05/0.5386, allocations: 4 kB / 0.5762 GB, free: 0.7148 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000184/0.5388, allocations: 8 kB / 0.5762 GB, free: 0.707 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.076e-05/0.5388, allocations: 11.61 kB / 0.5763 GB, free: 0.6992 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.065e-05/0.5389, allocations: 11.88 kB / 0.5763 GB, free: 0.6875 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001708/0.539, allocations: 242.7 kB / 0.5765 GB, free: 0.4922 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.539, allocations: 0 / 0.5765 GB, free: 0.4922 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002878/0.5393, allocations: 75.09 kB / 0.5766 GB, free: 436 kB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001623/0.5395, allocations: 128.7 kB / 0.5767 GB, free: 300 kB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001166/0.5407, allocations: 193.4 kB / 0.5769 GB, free: 128 kB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.5407, allocations: 3.562 kB / 0.5769 GB, free: 128 kB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006978/0.5414, allocations: 92.69 kB / 0.577 GB, free: 44 kB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002227/0.5416, allocations: 48.17 kB / 0.577 GB, free: 4 kB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006171/0.5422, allocations: 329 kB / 0.5773 GB, free: 15.68 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003607/0.5426, allocations: 0.7901 MB / 0.5781 GB, free: 14.87 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001312/0.5428, allocations: 50.03 kB / 0.5782 GB, free: 14.82 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.335e-05/0.5428, allocations: 19.44 kB / 0.5782 GB, free: 14.8 MB / 410.7 MB Notification: Performance of SimCode: time 2.41e-07/0.5428, allocations: 0 / 0.5782 GB, free: 14.8 MB / 410.7 MB Notification: Performance of Templates: time 0.008042/0.5509, allocations: 4.974 MB / 0.583 GB, free: 9.883 MB / 410.7 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/jenkins/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","../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