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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001279/0.001279, allocations: 183.1 kB / 8.52 MB, free: 1.859 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.228/1.228, allocations: 221.4 MB / 230.3 MB, free: 7.668 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008738/0.0008736, allocations: 77.5 kB / 281.2 MB, free: 5.469 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1908/0.1908, allocations: 44.15 MB / 376.1 MB, free: 3.094 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 9.608e-06/9.628e-06, allocations: 4 kB / 444.1 MB, free: 15.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1176/0.1177, allocations: 61.9 MB / 0.4941 GB, free: 1.457 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3363/0.454, allocations: 90.43 MB / 0.5824 GB, free: 6.113 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002746/0.4543, allocations: 91.92 kB / 0.5825 GB, free: 6.023 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01659/0.4709, allocations: 5.67 MB / 0.588 GB, free: 296 kB / 394.7 MB Notification: Performance of Transformations before backend: time 1.334e-05/0.471, allocations: 4 kB / 0.588 GB, free: 292 kB / 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.0006194/0.4716, allocations: 486 kB / 0.5885 GB, free: 15.77 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/0.4717, allocations: 15.97 kB / 0.5885 GB, free: 15.75 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001069/0.4727, allocations: 167.4 kB / 0.5887 GB, free: 15.59 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003287/0.4731, allocations: 254.6 kB / 0.5889 GB, free: 15.3 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.757e-05/0.4731, allocations: 15.89 kB / 0.5889 GB, free: 15.28 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.859e-05/0.4732, allocations: 12 kB / 0.589 GB, free: 15.27 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004742/0.4736, allocations: 332.9 kB / 0.5893 GB, free: 14.95 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005042/0.4741, allocations: 397 kB / 0.5897 GB, free: 14.52 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.4742, allocations: 3.938 kB / 0.5897 GB, free: 14.51 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.766e-05/0.4742, allocations: 0 / 0.5897 GB, free: 14.51 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.19e-05/0.4742, allocations: 28.48 kB / 0.5897 GB, free: 14.48 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001921/0.4762, allocations: 1.629 MB / 0.5913 GB, free: 12.75 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001539/0.4763, allocations: 91.41 kB / 0.5914 GB, free: 12.65 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.707e-05/0.4764, allocations: 36.84 kB / 0.5914 GB, free: 12.61 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.553e-05/0.4764, allocations: 0 / 0.5914 GB, free: 12.61 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.307e-05/0.4765, allocations: 34.56 kB / 0.5914 GB, free: 12.57 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 1.332e-06/0.4765, allocations: 0 / 0.5914 GB, free: 12.57 MB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002961/0.4768, allocations: 121.5 kB / 0.5915 GB, free: 12.44 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.371e-05/0.4768, allocations: 51.41 kB / 0.5916 GB, free: 12.38 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001879/0.477, allocations: 197.8 kB / 0.5918 GB, free: 12.18 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.95e-05/0.477, allocations: 25.7 kB / 0.5918 GB, free: 12.14 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.911e-05/0.4771, allocations: 179.5 kB / 0.592 GB, free: 11.96 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.357e-05/0.4772, allocations: 23.66 kB / 0.592 GB, free: 11.94 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.433e-05/0.4772, allocations: 0 / 0.592 GB, free: 11.94 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001313/0.4773, allocations: 338.7 kB / 0.5923 GB, free: 11.6 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001/0.4774, allocations: 55.97 kB / 0.5924 GB, free: 11.55 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001203/0.4776, allocations: 104.5 kB / 0.5925 GB, free: 11.43 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001282/0.4777, allocations: 81.62 kB / 0.5926 GB, free: 11.35 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.4777, allocations: 0 / 0.5926 GB, free: 11.35 MB / 410.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003282/0.478, allocations: 189.4 kB / 0.5927 GB, free: 11.16 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.284e-05/0.4781, allocations: 7.906 kB / 0.5927 GB, free: 11.15 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-06/0.4781, allocations: 4 kB / 0.5927 GB, free: 11.14 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.4781, allocations: 0 / 0.5927 GB, free: 11.14 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001628/0.4797, allocations: 124 kB / 0.5929 GB, free: 11.02 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002995/0.4827, allocations: 1.871 MB / 0.5947 GB, free: 9.082 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004893/0.4832, allocations: 28.02 kB / 0.5947 GB, free: 9.055 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.147e-05/0.4833, allocations: 4 kB / 0.5947 GB, free: 9.051 MB / 410.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 0.0001436/0.4834, allocations: 116.8 kB / 0.5948 GB, free: 8.93 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.837e-05/0.4835, allocations: 7.906 kB / 0.5948 GB, free: 8.922 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006892/0.4842, allocations: 162.8 kB / 0.595 GB, free: 8.754 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.095e-06/0.4843, allocations: 0 / 0.595 GB, free: 8.754 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/0.4843, allocations: 11.92 kB / 0.595 GB, free: 8.742 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.082e-05/0.4843, allocations: 7.984 kB / 0.595 GB, free: 8.734 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004757/0.4848, allocations: 242 kB / 0.5952 GB, free: 8.461 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.4848, allocations: 0 / 0.5952 GB, free: 8.461 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002514/0.4873, allocations: 99.88 kB / 0.5953 GB, free: 8.363 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.541e-06/0.4874, allocations: 0 / 0.5953 GB, free: 8.363 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.683e-05/0.4874, allocations: 0 / 0.5953 GB, free: 8.363 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00218/0.4896, allocations: 1.805 MB / 0.5971 GB, free: 6.488 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.4896, allocations: 4.094 kB / 0.5971 GB, free: 6.484 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004859/0.4901, allocations: 215.4 kB / 0.5973 GB, free: 6.258 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001016/0.4902, allocations: 100.8 kB / 0.5974 GB, free: 6.141 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.649e-05/0.4903, allocations: 0 / 0.5974 GB, free: 6.141 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003624/0.4907, allocations: 11.89 kB / 0.5974 GB, free: 6.129 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.973e-05/0.4908, allocations: 11.98 kB / 0.5974 GB, free: 6.117 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.765e-05/0.4908, allocations: 4 kB / 0.5974 GB, free: 6.113 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0002379/0.4911, allocations: 160.2 kB / 0.5976 GB, free: 5.957 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006541/0.4918, allocations: 79.69 kB / 0.5977 GB, free: 5.879 MB / 410.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.0003002/0.4921, allocations: 137.2 kB / 0.5978 GB, free: 5.738 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003365/0.4955, allocations: 191.8 kB / 0.598 GB, free: 5.551 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/0.4955, allocations: 3.938 kB / 0.598 GB, free: 5.547 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002201/0.4977, allocations: 103.8 kB / 0.5981 GB, free: 5.445 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003446/0.4981, allocations: 12.56 kB / 0.5981 GB, free: 5.434 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001324/0.4994, allocations: 323.7 kB / 0.5984 GB, free: 5.09 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005704/0.5, allocations: 0.8122 MB / 0.5992 GB, free: 4.254 MB / 410.7 MB Notification: Performance of SimCode: time 5.61e-07/0.5, allocations: 4 kB / 0.5992 GB, free: 4.25 MB / 410.7 MB Notification: Performance of Templates: time 0.01292/0.513, allocations: 3.889 MB / 0.603 GB, free: 408 kB / 410.7 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/jenkins/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","../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_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