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_pressureLossCoefficient_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_pressureLossCoefficient_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|zeta_TOT.1.|zeta_TOT.2.|zeta_TOT.3.|rho|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_pressureLossCoefficient_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|zeta_TOT.1.|zeta_TOT.2.|zeta_TOT.3.|rho|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_pressureLossCoefficient_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.001371/0.001372, allocations: 184.5 kB / 8.519 MB, free: 1.852 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.252/1.252, allocations: 221.4 MB / 230.3 MB, free: 7.695 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.000855/0.000855, allocations: 80.02 kB / 281.2 MB, free: 5.531 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.1698/0.1698, allocations: 44.14 MB / 376.1 MB, free: 3.246 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 7.685e-06/7.805e-06, allocations: 0 / 444.1 MB, free: 15.6 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1211/0.1212, allocations: 61.91 MB / 0.4941 GB, free: 1.613 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2797/0.4009, allocations: 89.16 MB / 0.5812 GB, free: 7.711 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002359/0.4012, allocations: 91.94 kB / 0.5813 GB, free: 7.621 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/Fluid/Dissipation.mo:5404:11-5405:129:writable] Error: Type mismatch in binding rho = rho, expected subtype of Real[3], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/Fluid/Dissipation.mo:5412:11-5413:123:writable] Error: Type mismatch in binding rho = rho, expected subtype of Real[3], got type Real. Notification: Performance of FrontEnd: time 0.01332/0.4145, allocations: 4.009 MB / 0.5852 GB, free: 3.629 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.012e-05/0.4145, allocations: 0 / 0.5852 GB, free: 3.629 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0005134/0.4151, allocations: 449.6 kB / 0.5856 GB, free: 3.145 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/0.4151, allocations: 15.97 kB / 0.5856 GB, free: 3.129 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000858/0.416, allocations: 99.69 kB / 0.5857 GB, free: 3.031 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002617/0.4162, allocations: 198.9 kB / 0.5859 GB, free: 2.797 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.402e-05/0.4163, allocations: 8.844 kB / 0.5859 GB, free: 2.789 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.352e-05/0.4163, allocations: 11.91 kB / 0.5859 GB, free: 2.777 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004165/0.4167, allocations: 211.7 kB / 0.5861 GB, free: 2.566 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000347/0.4171, allocations: 201.5 kB / 0.5863 GB, free: 2.363 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.4171, allocations: 0 / 0.5863 GB, free: 2.363 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.44e-05/0.4171, allocations: 3.984 kB / 0.5863 GB, free: 2.359 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.339e-05/0.4172, allocations: 16 kB / 0.5864 GB, free: 2.344 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001335/0.4185, allocations: 0.6901 MB / 0.587 GB, free: 1.574 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000152/0.4187, allocations: 78.53 kB / 0.5871 GB, free: 1.488 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.111e-05/0.4188, allocations: 41.92 kB / 0.5871 GB, free: 1.445 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.006e-05/0.4188, allocations: 4.141 kB / 0.5871 GB, free: 1.441 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.268e-05/0.4188, allocations: 34.56 kB / 0.5872 GB, free: 1.398 MB / 394.7 MB Notification: Performance of pre-optimization done (n=7): time 1.593e-06/0.4188, allocations: 4 kB / 0.5872 GB, free: 1.395 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002508/0.4191, allocations: 97.55 kB / 0.5873 GB, free: 1.293 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.556e-05/0.4191, allocations: 51.41 kB / 0.5873 GB, free: 1.23 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.568e-05/0.4192, allocations: 124.3 kB / 0.5874 GB, free: 1.105 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.708e-05/0.4193, allocations: 29.7 kB / 0.5875 GB, free: 1.07 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.047e-05/0.4193, allocations: 147.7 kB / 0.5876 GB, free: 0.9219 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.261e-05/0.4194, allocations: 23.64 kB / 0.5876 GB, free: 0.8984 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.526e-06/0.4194, allocations: 4 kB / 0.5876 GB, free: 0.8945 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001148/0.4195, allocations: 318.8 kB / 0.5879 GB, free: 0.5742 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.899e-05/0.4196, allocations: 31.98 kB / 0.588 GB, free: 0.543 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.85e-05/0.4197, allocations: 85.09 kB / 0.5881 GB, free: 448 kB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.926e-05/0.4197, allocations: 51.95 kB / 0.5881 GB, free: 396 kB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.4198, allocations: 0 / 0.5881 GB, free: 396 kB / 394.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000233/0.42, allocations: 149.3 kB / 0.5882 GB, free: 240 kB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.013e-05/0.42, allocations: 8 kB / 0.5883 GB, free: 232 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.42, allocations: 0 / 0.5883 GB, free: 232 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.42, allocations: 4 kB / 0.5883 GB, free: 228 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009602/0.421, allocations: 112.1 kB / 0.5884 GB, free: 116 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001542/0.4226, allocations: 1.845 MB / 0.5902 GB, free: 14.2 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001547/0.4227, allocations: 24.03 kB / 0.5902 GB, free: 14.18 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.313e-05/0.4228, allocations: 11.98 kB / 0.5902 GB, free: 14.16 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 11 * 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 8.196e-05/0.4228, allocations: 116.8 kB / 0.5903 GB, free: 14.04 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.397e-05/0.4229, allocations: 7.906 kB / 0.5903 GB, free: 14.04 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003308/0.4232, allocations: 157.9 kB / 0.5905 GB, free: 13.87 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.4232, allocations: 0 / 0.5905 GB, free: 13.87 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.4232, allocations: 0 / 0.5905 GB, free: 13.87 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/0.4233, allocations: 3.984 kB / 0.5905 GB, free: 13.87 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002026/0.4235, allocations: 194.1 kB / 0.5907 GB, free: 13.64 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.4235, allocations: 0 / 0.5907 GB, free: 13.64 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007627/0.4242, allocations: 99.83 kB / 0.5908 GB, free: 13.54 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.4243, allocations: 4 kB / 0.5908 GB, free: 13.54 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.634e-05/0.4243, allocations: 3.984 kB / 0.5908 GB, free: 13.54 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001049/0.4253, allocations: 1.789 MB / 0.5925 GB, free: 11.68 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.4253, allocations: 0 / 0.5925 GB, free: 11.68 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002034/0.4256, allocations: 215.3 kB / 0.5927 GB, free: 11.45 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.563e-05/0.4256, allocations: 81.02 kB / 0.5928 GB, free: 11.35 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.827e-05/0.4256, allocations: 8.188 kB / 0.5928 GB, free: 11.34 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001606/0.4258, allocations: 15.92 kB / 0.5928 GB, free: 11.33 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.404e-05/0.4259, allocations: 3.984 kB / 0.5928 GB, free: 11.32 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.134e-05/0.4259, allocations: 4 kB / 0.5928 GB, free: 11.32 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.975e-05/0.4259, allocations: 103.2 kB / 0.5929 GB, free: 11.22 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003233/0.4263, allocations: 51.83 kB / 0.593 GB, free: 11.17 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.0001995/0.4265, allocations: 135.3 kB / 0.5931 GB, free: 11.03 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001203/0.4277, allocations: 174.1 kB / 0.5933 GB, free: 10.86 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.4277, allocations: 4 kB / 0.5933 GB, free: 10.86 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007704/0.4285, allocations: 103.8 kB / 0.5934 GB, free: 10.75 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000242/0.4287, allocations: 19.89 kB / 0.5934 GB, free: 10.73 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005744/0.4293, allocations: 223.1 kB / 0.5936 GB, free: 10.49 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003807/0.4297, allocations: 0.7659 MB / 0.5943 GB, free: 9.699 MB / 410.7 MB Notification: Performance of SimCode: time 2.41e-07/0.4297, allocations: 0 / 0.5943 GB, free: 9.699 MB / 410.7 MB Notification: Performance of Templates: time 0.005213/0.4349, allocations: 2.368 MB / 0.5967 GB, free: 7.383 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_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_pressureLossCoefficient_DPMFLOW/dp_pressureLossCoefficient_DPMFLOW.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches