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_nominalDensityViscosity_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_nominalDensityViscosity_DPMFLOW,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eta.1.|eta.2.|eta.3.|rho.1.|rho.2.|rho.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_nominalDensityViscosity_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eta.1.|eta.2.|eta.3.|rho.1.|rho.2.|rho.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_nominalDensityViscosity_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.0009518/0.0009519, allocations: 184.4 kB / 8.523 MB, free: 1.828 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.332/1.332, allocations: 221.4 MB / 230.3 MB, free: 7.703 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.001094/0.001094, allocations: 84.73 kB / 281.2 MB, free: 5.457 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.1861/0.1861, allocations: 44.15 MB / 376.1 MB, free: 3.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 6.572e-06/6.592e-06, allocations: 224 / 444.1 MB, free: 15.59 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1216/0.1216, allocations: 61.91 MB / 0.4941 GB, free: 1.605 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3003/0.4219, allocations: 91.36 MB / 0.5833 GB, free: 5.418 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002772/0.4222, allocations: 95.92 kB / 0.5834 GB, free: 5.324 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.0164/0.4387, allocations: 5.772 MB / 0.5891 GB, free: 15.46 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.254e-05/0.4387, allocations: 4 kB / 0.5891 GB, free: 15.46 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.0005406/0.4392, allocations: 490.1 kB / 0.5895 GB, free: 14.93 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.549e-05/0.4393, allocations: 11.97 kB / 0.5895 GB, free: 14.92 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001393/0.4407, allocations: 199.3 kB / 0.5897 GB, free: 14.73 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003456/0.441, allocations: 262.7 kB / 0.59 GB, free: 14.43 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.978e-05/0.4411, allocations: 15.98 kB / 0.59 GB, free: 14.41 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.744e-05/0.4411, allocations: 12 kB / 0.59 GB, free: 14.4 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007897/0.4419, allocations: 0.5242 MB / 0.5905 GB, free: 13.88 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006228/0.4426, allocations: 423.8 kB / 0.5909 GB, free: 13.45 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.4426, allocations: 4 kB / 0.5909 GB, free: 13.45 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.856e-05/0.4426, allocations: 4 kB / 0.5909 GB, free: 13.45 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.303e-05/0.4427, allocations: 24.58 kB / 0.591 GB, free: 13.42 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002056/0.4447, allocations: 1.102 MB / 0.592 GB, free: 12.24 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002436/0.445, allocations: 118.5 kB / 0.5921 GB, free: 12.11 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001151/0.4451, allocations: 56.77 kB / 0.5922 GB, free: 12.05 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.354e-05/0.4451, allocations: 0 / 0.5922 GB, free: 12.05 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.142e-05/0.4452, allocations: 34.55 kB / 0.5922 GB, free: 12.01 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 8.71e-07/0.4452, allocations: 0 / 0.5922 GB, free: 12.01 MB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003974/0.4456, allocations: 141.5 kB / 0.5924 GB, free: 11.87 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.446e-05/0.4456, allocations: 51.41 kB / 0.5924 GB, free: 11.8 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001052/0.4457, allocations: 135.6 kB / 0.5925 GB, free: 11.67 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.458e-05/0.4458, allocations: 25.7 kB / 0.5926 GB, free: 11.64 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.984e-05/0.4458, allocations: 172.4 kB / 0.5927 GB, free: 11.46 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.131e-05/0.4459, allocations: 27.64 kB / 0.5928 GB, free: 11.44 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.805e-05/0.4459, allocations: 0 / 0.5928 GB, free: 11.44 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001011/0.446, allocations: 318.8 kB / 0.5931 GB, free: 11.12 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000115/0.4461, allocations: 55.97 kB / 0.5931 GB, free: 11.06 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001348/0.4463, allocations: 87.34 kB / 0.5932 GB, free: 10.96 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001203/0.4464, allocations: 63.89 kB / 0.5933 GB, free: 10.9 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.4464, allocations: 4 kB / 0.5933 GB, free: 10.9 MB / 410.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003545/0.4468, allocations: 173.4 kB / 0.5934 GB, free: 10.72 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.234e-05/0.4468, allocations: 4 kB / 0.5934 GB, free: 10.72 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.4468, allocations: 0 / 0.5934 GB, free: 10.72 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.4468, allocations: 8.094 kB / 0.5934 GB, free: 10.71 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005982/0.4528, allocations: 456.2 kB / 0.5939 GB, free: 10.27 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003547/0.4564, allocations: 1.965 MB / 0.5958 GB, free: 8.23 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000453/0.4569, allocations: 32.06 kB / 0.5958 GB, free: 8.199 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.968e-05/0.4569, allocations: 4 kB / 0.5958 GB, free: 8.195 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 10 * 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.000117/0.457, allocations: 104.9 kB / 0.5959 GB, free: 8.086 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.587e-05/0.4571, allocations: 11.91 kB / 0.5959 GB, free: 8.074 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.308e-05/0.4571, allocations: 16.47 kB / 0.596 GB, free: 8.062 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.4571, allocations: 8 kB / 0.596 GB, free: 8.055 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.4571, allocations: 0 / 0.596 GB, free: 8.055 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.4571, allocations: 0 / 0.596 GB, free: 8.055 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003256/0.4575, allocations: 253.9 kB / 0.5962 GB, free: 7.77 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.4575, allocations: 3.938 kB / 0.5962 GB, free: 7.766 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005789/0.4633, allocations: 447.4 kB / 0.5966 GB, free: 7.328 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.624e-06/0.4633, allocations: 4 kB / 0.5966 GB, free: 7.324 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.277e-05/0.4633, allocations: 3.984 kB / 0.5966 GB, free: 7.32 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00348/0.4668, allocations: 1.957 MB / 0.5986 GB, free: 5.293 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.4669, allocations: 0 / 0.5986 GB, free: 5.293 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003706/0.4672, allocations: 239.4 kB / 0.5988 GB, free: 5.043 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.897e-05/0.4673, allocations: 85.02 kB / 0.5989 GB, free: 4.941 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.048e-05/0.4673, allocations: 8 kB / 0.5989 GB, free: 4.934 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004068/0.4678, allocations: 19.97 kB / 0.5989 GB, free: 4.914 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.226e-05/0.4678, allocations: 7.984 kB / 0.5989 GB, free: 4.906 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.643e-05/0.4679, allocations: 7.984 kB / 0.5989 GB, free: 4.898 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.363e-05/0.4679, allocations: 103.3 kB / 0.599 GB, free: 4.797 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003888/0.4683, allocations: 75.69 kB / 0.5991 GB, free: 4.723 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 (7): * Single equations (assignments): 4 * 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.0002337/0.4686, allocations: 153.2 kB / 0.5992 GB, free: 4.562 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.008221/0.4768, allocations: 0.6124 MB / 0.5998 GB, free: 3.949 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.4768, allocations: 0 / 0.5998 GB, free: 3.949 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007844/0.4847, allocations: 0.5424 MB / 0.6004 GB, free: 3.406 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002486/0.485, allocations: 8 kB / 0.6004 GB, free: 3.398 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007765/0.4857, allocations: 311.6 kB / 0.6007 GB, free: 3.07 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004593/0.4862, allocations: 0.8128 MB / 0.6014 GB, free: 2.23 MB / 410.7 MB Notification: Performance of SimCode: time 2.254e-06/0.4862, allocations: 0 / 0.6014 GB, free: 2.23 MB / 410.7 MB Notification: Performance of Templates: time 0.008153/0.4944, allocations: 4.847 MB / 0.6062 GB, free: 13.42 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_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_nominalDensityViscosity_DPMFLOW/dp_nominalDensityViscosity_DPMFLOW.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches