Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_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.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_3.2.3_cpp_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_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002151/0.00215, allocations: 182 kB / 16.4 MB, free: 5.723 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.073/2.073, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.001125/0.001125, allocations: 96.34 kB / 270.9 MB, free: 8.371 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.5589/0.5589, allocations: 43.55 MB / 362.7 MB, free: 52.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004545/0.0004544, allocations: 12 kB / 431.4 MB, free: 6.164 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1256/0.1261, allocations: 58.85 MB / 490.2 MB, free: 11.23 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4742/0.6004, allocations: 95.11 MB / 0.5716 GB, free: 7.594 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003999/0.6008, allocations: 107.9 kB / 0.5717 GB, free: 7.488 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/Fluid/Dissipation.mo:6216:11-6222: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 3.2.3+maint.om/Fluid/Dissipation.mo:6224:11-6227: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 3.2.3+maint.om/Fluid/Dissipation.mo:6230:11-6236: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 3.2.3+maint.om/Fluid/Dissipation.mo:6238:11-6241:67:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[4], got type Real. Notification: Performance of FrontEnd - DAE generated: time 0.05783/0.6587, allocations: 11.34 MB / 0.5828 GB, free: 12.12 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.824e-06/0.6587, allocations: 0 / 0.5828 GB, free: 12.12 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.542e-05/0.6587, allocations: 4 kB / 0.5828 GB, free: 12.12 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.001261/0.66, allocations: 0.5844 MB / 0.5834 GB, free: 11.49 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.632e-05/0.6601, allocations: 8.031 kB / 0.5834 GB, free: 11.48 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.693e-05/0.6602, allocations: 31.06 kB / 0.5834 GB, free: 11.46 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003674/0.6606, allocations: 246.6 kB / 0.5837 GB, free: 11.18 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.257e-05/0.6606, allocations: 24.64 kB / 0.5837 GB, free: 11.15 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.132e-05/0.6607, allocations: 24.75 kB / 0.5837 GB, free: 11.13 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001159/0.6619, allocations: 463.9 kB / 0.5841 GB, free: 10.68 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.972e-05/0.6619, allocations: 0 / 0.5841 GB, free: 10.68 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.874e-05/0.662, allocations: 16.91 kB / 0.5842 GB, free: 10.66 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.784e-05/0.6621, allocations: 40.98 kB / 0.5842 GB, free: 10.62 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001419/0.6635, allocations: 0.5582 MB / 0.5847 GB, free: 10.06 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003061/0.6666, allocations: 1.353 MB / 0.5861 GB, free: 8.594 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009534/0.6676, allocations: 294.2 kB / 0.5863 GB, free: 8.297 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.814e-05/0.6677, allocations: 16.36 kB / 0.5864 GB, free: 8.281 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.592e-05/0.6677, allocations: 30.56 kB / 0.5864 GB, free: 8.242 MB / 410.7 MB Notification: Performance of pre-optimization done (n=25): time 3.106e-06/0.6677, allocations: 0 / 0.5864 GB, free: 8.242 MB / 410.7 MB Notification: Performance of matching and sorting (n=25): time 0.001243/0.669, allocations: 343.2 kB / 0.5867 GB, free: 7.902 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.976e-05/0.669, allocations: 55.41 kB / 0.5868 GB, free: 7.836 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001511/0.6692, allocations: 125.2 kB / 0.5869 GB, free: 7.703 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.408e-05/0.6692, allocations: 33.7 kB / 0.5869 GB, free: 7.664 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00015/0.6694, allocations: 258.2 kB / 0.5872 GB, free: 7.41 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.291e-05/0.6695, allocations: 86.75 kB / 0.5873 GB, free: 7.324 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.095e-05/0.6696, allocations: 12 kB / 0.5873 GB, free: 7.312 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001248/0.6697, allocations: 322.8 kB / 0.5876 GB, free: 6.988 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003765/0.6701, allocations: 93.34 kB / 0.5877 GB, free: 6.898 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004176/0.6705, allocations: 178.1 kB / 0.5878 GB, free: 6.688 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000429/0.671, allocations: 121.4 kB / 0.5879 GB, free: 6.57 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/0.671, allocations: 0 / 0.5879 GB, free: 6.57 MB / 410.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001056/0.672, allocations: 329.1 kB / 0.5883 GB, free: 6.242 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.497e-05/0.6721, allocations: 8 kB / 0.5883 GB, free: 6.234 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.11e-05/0.6721, allocations: 4 kB / 0.5883 GB, free: 6.23 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.787e-05/0.6722, allocations: 4.344 kB / 0.5883 GB, free: 6.227 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001069/0.6732, allocations: 139.8 kB / 0.5884 GB, free: 6.09 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001559/0.6748, allocations: 2.364 MB / 0.5907 GB, free: 3.633 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003587/0.6752, allocations: 31.69 kB / 0.5907 GB, free: 3.602 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.71e-05/0.6753, allocations: 28.22 kB / 0.5908 GB, free: 3.574 MB / 410.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 () * Number of clocked 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 0.000309/0.6756, allocations: 177.7 kB / 0.5909 GB, free: 3.391 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.083e-05/0.6757, allocations: 11.91 kB / 0.591 GB, free: 3.379 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001438/0.6771, allocations: 377.9 kB / 0.5913 GB, free: 3.016 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.997e-06/0.6772, allocations: 4 kB / 0.5913 GB, free: 3.012 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.6772, allocations: 0 / 0.5913 GB, free: 3.012 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.095e-06/0.6772, allocations: 7.984 kB / 0.5913 GB, free: 3.004 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006359/0.6779, allocations: 345.2 kB / 0.5917 GB, free: 2.617 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.6779, allocations: 0 / 0.5917 GB, free: 2.617 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001017/0.6789, allocations: 123.8 kB / 0.5918 GB, free: 2.496 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.336e-06/0.6789, allocations: 0 / 0.5918 GB, free: 2.496 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.015e-05/0.679, allocations: 8 kB / 0.5918 GB, free: 2.488 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001444/0.6804, allocations: 2.364 MB / 0.5941 GB, free: 32 kB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.397e-06/0.6805, allocations: 0 / 0.5941 GB, free: 32 kB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001008/0.6815, allocations: 379.6 kB / 0.5945 GB, free: 15.64 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.983e-05/0.6816, allocations: 92.86 kB / 0.5945 GB, free: 15.54 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.981e-05/0.6817, allocations: 11.98 kB / 0.5946 GB, free: 15.52 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002668/0.6819, allocations: 12 kB / 0.5946 GB, free: 15.51 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001085/0.6821, allocations: 19.92 kB / 0.5946 GB, free: 15.49 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.92e-05/0.6821, allocations: 19.98 kB / 0.5946 GB, free: 15.47 MB / 426.7 MB Notification: Performance of sorting global known variables: time 9.822e-05/0.6822, allocations: 100.8 kB / 0.5947 GB, free: 15.38 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.6822, allocations: 0 / 0.5947 GB, free: 15.38 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0008577/0.6831, allocations: 191.5 kB / 0.5949 GB, free: 15.19 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 () * Number of clocked 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.0006821/0.6838, allocations: 258.8 kB / 0.5951 GB, free: 14.92 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001323/0.6851, allocations: 304.6 kB / 0.5954 GB, free: 14.62 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.6852, allocations: 0 / 0.5954 GB, free: 14.62 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007557/0.6859, allocations: 168.5 kB / 0.5956 GB, free: 14.46 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003074/0.6863, allocations: 8 kB / 0.5956 GB, free: 14.45 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001656/0.6879, allocations: 0.7378 MB / 0.5963 GB, free: 13.7 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000469/0.6885, allocations: 0.8065 MB / 0.5971 GB, free: 12.86 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001722/0.6887, allocations: 31.42 kB / 0.5971 GB, free: 12.83 MB / 426.7 MB Notification: Performance of SimCode: time 1.563e-06/0.6887, allocations: 0 / 0.5971 GB, free: 12.83 MB / 426.7 MB Notification: Performance of Templates: time 0.01902/0.7077, allocations: 8.857 MB / 0.6058 GB, free: 3.98 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/StraightPipe/dp_turbulent_DPMFLOW/dp_turbulent_DPMFLOW.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches