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.000872/0.0008721, allocations: 181.3 kB / 17.41 MB, free: 4.41 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.33/1.33, allocations: 205.4 MB / 223.6 MB, free: 9.023 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.0007253/0.0007253, allocations: 89.42 kB / 271.9 MB, free: 8.254 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.3229/0.3229, allocations: 43.55 MB / 363.7 MB, free: 51.91 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003675/0.0003676, allocations: 12 kB / 432.6 MB, free: 5.637 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1124/0.1128, allocations: 58.85 MB / 491.5 MB, free: 10.7 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3218/0.4347, allocations: 95.17 MB / 0.5729 GB, free: 7.07 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003127/0.4351, allocations: 102.5 kB / 0.573 GB, free: 6.973 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.03314/0.4682, allocations: 11.35 MB / 0.5841 GB, free: 11.61 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.923e-06/0.4683, allocations: 0 / 0.5841 GB, free: 11.61 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.149e-05/0.4683, allocations: 4 kB / 0.5841 GB, free: 11.6 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.0008682/0.4692, allocations: 0.573 MB / 0.5846 GB, free: 10.98 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/0.4692, allocations: 8.031 kB / 0.5846 GB, free: 10.97 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.324e-05/0.4693, allocations: 32.56 kB / 0.5847 GB, free: 10.94 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002646/0.4696, allocations: 244.6 kB / 0.5849 GB, free: 10.66 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.637e-05/0.4696, allocations: 25.02 kB / 0.5849 GB, free: 10.64 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.9e-05/0.4697, allocations: 32.38 kB / 0.585 GB, free: 10.61 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007237/0.4704, allocations: 464.5 kB / 0.5854 GB, free: 10.15 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.4704, allocations: 8.125 kB / 0.5854 GB, free: 10.14 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.468e-05/0.4704, allocations: 11.94 kB / 0.5854 GB, free: 10.13 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.687e-05/0.4705, allocations: 44.97 kB / 0.5855 GB, free: 10.09 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007892/0.4713, allocations: 0.5581 MB / 0.586 GB, free: 9.531 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001801/0.4731, allocations: 1.329 MB / 0.5873 GB, free: 8.094 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004905/0.4736, allocations: 274.8 kB / 0.5876 GB, free: 7.816 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001977/0.4738, allocations: 104.8 kB / 0.5877 GB, free: 7.711 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.432e-05/0.4739, allocations: 12.05 kB / 0.5877 GB, free: 7.699 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.54e-05/0.4739, allocations: 30.56 kB / 0.5877 GB, free: 7.66 MB / 410.7 MB Notification: Performance of pre-optimization done (n=25): time 1.804e-06/0.4739, allocations: 0 / 0.5877 GB, free: 7.66 MB / 410.7 MB Notification: Performance of matching and sorting (n=25): time 0.0007447/0.4747, allocations: 342.8 kB / 0.588 GB, free: 7.32 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.391e-05/0.4747, allocations: 55.41 kB / 0.5881 GB, free: 7.254 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001249/0.4749, allocations: 145.4 kB / 0.5882 GB, free: 7.102 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.563e-05/0.4749, allocations: 33.7 kB / 0.5883 GB, free: 7.062 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000105/0.475, allocations: 187.8 kB / 0.5884 GB, free: 6.875 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.647e-05/0.4751, allocations: 90.73 kB / 0.5885 GB, free: 6.785 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.584e-05/0.4751, allocations: 4 kB / 0.5885 GB, free: 6.781 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001143/0.4752, allocations: 330.8 kB / 0.5889 GB, free: 6.449 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001925/0.4754, allocations: 93.41 kB / 0.5889 GB, free: 6.359 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002353/0.4757, allocations: 182 kB / 0.5891 GB, free: 6.145 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004784/0.4762, allocations: 303.5 kB / 0.5894 GB, free: 5.812 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.4762, allocations: 0 / 0.5894 GB, free: 5.812 MB / 410.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005396/0.4767, allocations: 333.8 kB / 0.5897 GB, free: 5.48 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.4767, allocations: 4.344 kB / 0.5897 GB, free: 5.477 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.4768, allocations: 11.94 kB / 0.5897 GB, free: 5.465 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/0.4768, allocations: 7.984 kB / 0.5897 GB, free: 5.457 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004683/0.4773, allocations: 123.8 kB / 0.5899 GB, free: 5.336 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001201/0.4785, allocations: 2.36 MB / 0.5922 GB, free: 2.883 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001615/0.4786, allocations: 35.95 kB / 0.5922 GB, free: 2.848 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.892e-05/0.4787, allocations: 20 kB / 0.5922 GB, free: 2.828 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.0001897/0.4789, allocations: 177.7 kB / 0.5924 GB, free: 2.645 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.189e-05/0.4789, allocations: 15.75 kB / 0.5924 GB, free: 2.629 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007736/0.4797, allocations: 376.8 kB / 0.5928 GB, free: 2.262 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.472e-06/0.4797, allocations: 4 kB / 0.5928 GB, free: 2.258 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.4797, allocations: 0 / 0.5928 GB, free: 2.258 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.4797, allocations: 3.984 kB / 0.5928 GB, free: 2.254 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003987/0.4801, allocations: 337.3 kB / 0.5931 GB, free: 1.875 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.4802, allocations: 0 / 0.5931 GB, free: 1.875 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004041/0.4806, allocations: 111.8 kB / 0.5932 GB, free: 1.766 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.43e-06/0.4806, allocations: 8 kB / 0.5932 GB, free: 1.758 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.13e-05/0.4806, allocations: 8 kB / 0.5932 GB, free: 1.75 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001133/0.4818, allocations: 2.356 MB / 0.5955 GB, free: 15.3 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.4818, allocations: 4.031 kB / 0.5955 GB, free: 15.3 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005003/0.4823, allocations: 379.6 kB / 0.5959 GB, free: 14.91 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.097e-05/0.4823, allocations: 96.86 kB / 0.596 GB, free: 14.8 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.041e-05/0.4824, allocations: 4 kB / 0.596 GB, free: 14.79 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001353/0.4825, allocations: 15.98 kB / 0.596 GB, free: 14.78 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.536e-05/0.4826, allocations: 19.97 kB / 0.596 GB, free: 14.76 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.263e-05/0.4826, allocations: 15.94 kB / 0.596 GB, free: 14.74 MB / 426.7 MB Notification: Performance of sorting global known variables: time 5.948e-05/0.4827, allocations: 107.2 kB / 0.5961 GB, free: 14.64 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4827, allocations: 0 / 0.5961 GB, free: 14.64 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006162/0.4833, allocations: 187.4 kB / 0.5963 GB, free: 14.45 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.0004417/0.4838, allocations: 270.8 kB / 0.5966 GB, free: 14.18 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0007025/0.4845, allocations: 308.3 kB / 0.5969 GB, free: 13.88 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.4845, allocations: 7.938 kB / 0.5969 GB, free: 13.87 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004121/0.4849, allocations: 179.8 kB / 0.597 GB, free: 13.7 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002704/0.4852, allocations: 12 kB / 0.5971 GB, free: 13.68 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009552/0.4861, allocations: 0.733 MB / 0.5978 GB, free: 12.93 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003205/0.4865, allocations: 0.7948 MB / 0.5985 GB, free: 12.11 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.634e-05/0.4866, allocations: 35.42 kB / 0.5986 GB, free: 12.07 MB / 426.7 MB Notification: Performance of SimCode: time 2.5e-07/0.4866, allocations: 4 kB / 0.5986 GB, free: 12.07 MB / 426.7 MB Notification: Performance of Templates: time 0.01034/0.4969, allocations: 8.89 MB / 0.6073 GB, free: 3.18 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