Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_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.StraightPipe.dp_turbulent_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|MIN|A_cross|roughness|d_hyd|K.1.|K.2.|K.3.|K.4.|L|eta|rho|input_mdot.1.|input_mdot.2.|input_mdot.3.|input_mdot.4.|input_dp.1.|input_dp.2.|input_dp.3.|input_dp.4.|M_FLOW.1.|M_FLOW.2.|M_FLOW.3.|M_FLOW.4.|DP.1.|DP.2.|DP.3.|DP.4.|velocity.1.|velocity.2.|velocity.3.|velocity.4.|Re.1.|Re.2.|Re.3.|Re.4.|DP_plot.1.|DP_plot.2.|DP_plot.3.|DP_plot.4.|zeta_TOT.1.|zeta_TOT.2.|zeta_TOT.3.|zeta_TOT.4.|lambda_FRI.1.|lambda_FRI.2.|lambda_FRI.3.|lambda_FRI.4.|input_DP.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|MIN|A_cross|roughness|d_hyd|K.1.|K.2.|K.3.|K.4.|L|eta|rho|input_mdot.1.|input_mdot.2.|input_mdot.3.|input_mdot.4.|input_dp.1.|input_dp.2.|input_dp.3.|input_dp.4.|M_FLOW.1.|M_FLOW.2.|M_FLOW.3.|M_FLOW.4.|DP.1.|DP.2.|DP.3.|DP.4.|velocity.1.|velocity.2.|velocity.3.|velocity.4.|Re.1.|Re.2.|Re.3.|Re.4.|DP_plot.1.|DP_plot.2.|DP_plot.3.|DP_plot.4.|zeta_TOT.1.|zeta_TOT.2.|zeta_TOT.3.|zeta_TOT.4.|lambda_FRI.1.|lambda_FRI.2.|lambda_FRI.3.|lambda_FRI.4.|input_DP.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_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.001169/0.001169, allocations: 183 kB / 8.519 MB, free: 1.82 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.221/1.221, allocations: 221.4 MB / 230.3 MB, free: 7.73 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.001038/0.001038, allocations: 93.97 kB / 281.2 MB, free: 5.551 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.1942/0.1942, allocations: 44.15 MB / 376.1 MB, free: 3.219 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 8.616e-06/8.847e-06, allocations: 0 / 444.1 MB, free: 15.56 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1485/0.1485, allocations: 61.91 MB / 0.4941 GB, free: 1.582 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3691/0.5177, allocations: 95.47 MB / 0.5873 GB, free: 1.281 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002809/0.518, allocations: 91.94 kB / 0.5874 GB, free: 1.191 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/Fluid/Dissipation.mo:6132:11-6138:61:writable] Error: Type mismatch in binding d_hyd = d_hyd, expected subtype of Real[4], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/Fluid/Dissipation.mo:6140:11-6143:69:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[4], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/Fluid/Dissipation.mo:6146:11-6152:59:writable] Error: Type mismatch in binding d_hyd = d_hyd, expected subtype of Real[4], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/Fluid/Dissipation.mo:6154:11-6157:67:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[4], got type Real. Notification: Performance of FrontEnd: time 0.03483/0.5529, allocations: 11.18 MB / 0.5984 GB, free: 5.945 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.272e-05/0.5529, allocations: 4 kB / 0.5984 GB, free: 5.941 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.0008708/0.5538, allocations: 0.5799 MB / 0.5989 GB, free: 5.312 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.641e-05/0.5539, allocations: 15.97 kB / 0.5989 GB, free: 5.297 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.602e-05/0.5539, allocations: 35.5 kB / 0.599 GB, free: 5.262 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002905/0.5542, allocations: 238.6 kB / 0.5992 GB, free: 4.988 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.622e-05/0.5543, allocations: 16 kB / 0.5992 GB, free: 4.973 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.941e-05/0.5543, allocations: 16 kB / 0.5992 GB, free: 4.957 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000559/0.5549, allocations: 413.1 kB / 0.5996 GB, free: 4.551 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005917/0.5555, allocations: 409.4 kB / 0.6 GB, free: 4.152 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/0.5555, allocations: 0 / 0.6 GB, free: 4.152 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.978e-05/0.5555, allocations: 0 / 0.6 GB, free: 4.152 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.339e-05/0.5556, allocations: 48.69 kB / 0.6001 GB, free: 4.105 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001827/0.5574, allocations: 1.278 MB / 0.6013 GB, free: 2.715 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004577/0.5579, allocations: 258.4 kB / 0.6016 GB, free: 2.453 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001251/0.558, allocations: 81.17 kB / 0.6016 GB, free: 2.371 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.357e-05/0.5581, allocations: 15.92 kB / 0.6016 GB, free: 2.355 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.07e-05/0.5581, allocations: 38.56 kB / 0.6017 GB, free: 2.309 MB / 410.7 MB Notification: Performance of pre-optimization done (n=25): time 1.523e-06/0.5581, allocations: 0 / 0.6017 GB, free: 2.309 MB / 410.7 MB Notification: Performance of matching and sorting (n=25): time 0.0003972/0.5585, allocations: 205.4 kB / 0.6019 GB, free: 2.102 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.374e-05/0.5586, allocations: 63.33 kB / 0.6019 GB, free: 2.027 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001/0.5587, allocations: 121.2 kB / 0.6021 GB, free: 1.898 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.012e-05/0.5587, allocations: 25.7 kB / 0.6021 GB, free: 1.867 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001019/0.5588, allocations: 195.7 kB / 0.6023 GB, free: 1.668 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.666e-05/0.5589, allocations: 78.77 kB / 0.6023 GB, free: 1.59 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.253e-05/0.5589, allocations: 0 / 0.6023 GB, free: 1.59 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001072/0.559, allocations: 334.8 kB / 0.6027 GB, free: 1.254 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001116/0.5591, allocations: 75.83 kB / 0.6027 GB, free: 1.18 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001655/0.5593, allocations: 158 kB / 0.6029 GB, free: 0.9883 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001479/0.5595, allocations: 99.86 kB / 0.603 GB, free: 0.8906 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.5595, allocations: 4 kB / 0.603 GB, free: 0.8867 MB / 410.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004042/0.5599, allocations: 269.1 kB / 0.6032 GB, free: 0.6172 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/0.5599, allocations: 4 kB / 0.6032 GB, free: 0.6133 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/0.5599, allocations: 4 kB / 0.6033 GB, free: 0.6094 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.5599, allocations: 4 kB / 0.6033 GB, free: 0.6055 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006131/0.5606, allocations: 140.2 kB / 0.6034 GB, free: 480 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001283/0.5618, allocations: 2.383 MB / 0.6057 GB, free: 13.99 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001779/0.562, allocations: 31.97 kB / 0.6057 GB, free: 13.96 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.092e-05/0.5621, allocations: 15.98 kB / 0.6058 GB, free: 13.95 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 1 (roughness) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * 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: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 9.953e-05/0.5622, allocations: 108.9 kB / 0.6059 GB, free: 13.83 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.471e-05/0.5622, allocations: 19.81 kB / 0.6059 GB, free: 13.81 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000803/0.563, allocations: 371.1 kB / 0.6062 GB, free: 13.45 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.5631, allocations: 3.938 kB / 0.6062 GB, free: 13.44 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.5631, allocations: 3.906 kB / 0.6062 GB, free: 13.44 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.216e-06/0.5631, allocations: 7.984 kB / 0.6063 GB, free: 13.43 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003228/0.5634, allocations: 274.3 kB / 0.6065 GB, free: 13.12 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.5634, allocations: 3.938 kB / 0.6065 GB, free: 13.12 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005049/0.5639, allocations: 115.9 kB / 0.6066 GB, free: 13.01 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.5639, allocations: 0 / 0.6066 GB, free: 13.01 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.187e-05/0.564, allocations: 7.984 kB / 0.6066 GB, free: 13 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001249/0.5652, allocations: 2.379 MB / 0.609 GB, free: 10.52 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.5652, allocations: 0 / 0.609 GB, free: 10.52 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003874/0.5656, allocations: 339.5 kB / 0.6093 GB, free: 10.18 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.295e-05/0.5657, allocations: 92.86 kB / 0.6094 GB, free: 10.07 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.49e-05/0.5657, allocations: 0 / 0.6094 GB, free: 10.07 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001591/0.5659, allocations: 11.98 kB / 0.6094 GB, free: 10.05 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.351e-05/0.566, allocations: 15.97 kB / 0.6094 GB, free: 10.04 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.704e-05/0.566, allocations: 19.98 kB / 0.6094 GB, free: 10.02 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.888e-05/0.5661, allocations: 97.39 kB / 0.6095 GB, free: 9.926 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006694/0.5668, allocations: 179.5 kB / 0.6097 GB, free: 9.75 MB / 426.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 (29): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * 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: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004901/0.5673, allocations: 258.8 kB / 0.6099 GB, free: 9.488 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006362/0.5679, allocations: 268.1 kB / 0.6102 GB, free: 9.227 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.5679, allocations: 0 / 0.6102 GB, free: 9.227 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004376/0.5684, allocations: 168.5 kB / 0.6103 GB, free: 9.062 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001845/0.5686, allocations: 11.91 kB / 0.6104 GB, free: 9.051 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000809/0.5694, allocations: 385 kB / 0.6107 GB, free: 8.648 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004771/0.5699, allocations: 0.8446 MB / 0.6115 GB, free: 7.773 MB / 426.7 MB Notification: Performance of SimCode: time 2.61e-07/0.5699, allocations: 0 / 0.6115 GB, free: 7.773 MB / 426.7 MB Notification: Performance of Templates: time 0.008877/0.5788, allocations: 4.839 MB / 0.6163 GB, free: 2.957 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/StraightPipe/dp_turbulent_DPMFLOW/dp_turbulent_DPMFLOW.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches