Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_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_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.001015/0.001015, allocations: 172.2 kB / 16.76 MB, free: 5.055 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.477/1.477, allocations: 205.4 MB / 222.9 MB, free: 9.031 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.0007828/0.000783, allocations: 89.41 kB / 271.3 MB, free: 8.258 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.3297/0.3297, allocations: 43.56 MB / 363.1 MB, free: 51.89 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003554/0.0003557, allocations: 12 kB / 432.7 MB, free: 4.961 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1377/0.138, allocations: 58.84 MB / 491.5 MB, free: 10.04 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3635/0.5016, allocations: 95.18 MB / 0.5729 GB, free: 6.648 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003027/0.5019, allocations: 103.9 kB / 0.573 GB, free: 6.547 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.03301/0.5349, allocations: 11.35 MB / 0.5841 GB, free: 11.18 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.884e-06/0.535, allocations: 3.938 kB / 0.5841 GB, free: 11.18 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.07e-05/0.535, allocations: 8 kB / 0.5841 GB, free: 11.17 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.000807/0.5358, allocations: 0.5659 MB / 0.5847 GB, free: 10.55 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/0.5359, allocations: 12.03 kB / 0.5847 GB, free: 10.54 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.873e-05/0.5359, allocations: 28.56 kB / 0.5847 GB, free: 10.52 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002444/0.5362, allocations: 243.9 kB / 0.5849 GB, free: 10.24 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.038e-05/0.5362, allocations: 25.02 kB / 0.585 GB, free: 10.21 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.415e-05/0.5363, allocations: 32.36 kB / 0.585 GB, free: 10.18 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006693/0.537, allocations: 468.5 kB / 0.5854 GB, free: 9.723 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.537, allocations: 192 / 0.5854 GB, free: 9.723 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.268e-05/0.537, allocations: 16.69 kB / 0.5855 GB, free: 9.707 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.383e-05/0.5371, allocations: 40.97 kB / 0.5855 GB, free: 9.668 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007835/0.5379, allocations: 0.5543 MB / 0.586 GB, free: 9.113 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001678/0.5396, allocations: 1.329 MB / 0.5873 GB, free: 7.676 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004641/0.54, allocations: 274.5 kB / 0.5876 GB, free: 7.398 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000192/0.5402, allocations: 104.8 kB / 0.5877 GB, free: 7.293 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.835e-05/0.5403, allocations: 8.375 kB / 0.5877 GB, free: 7.285 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.501e-05/0.5403, allocations: 42.5 kB / 0.5877 GB, free: 7.234 MB / 410.7 MB Notification: Performance of pre-optimization done (n=25): time 1.553e-06/0.5403, allocations: 4 kB / 0.5877 GB, free: 7.23 MB / 410.7 MB Notification: Performance of matching and sorting (n=25): time 0.0007019/0.541, allocations: 334.9 kB / 0.5881 GB, free: 6.898 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001001/0.5412, allocations: 63.34 kB / 0.5881 GB, free: 6.824 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001228/0.5413, allocations: 138.5 kB / 0.5883 GB, free: 6.68 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.455e-05/0.5413, allocations: 33.7 kB / 0.5883 GB, free: 6.641 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.856e-05/0.5414, allocations: 187.8 kB / 0.5885 GB, free: 6.453 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.061e-05/0.5415, allocations: 86.75 kB / 0.5886 GB, free: 6.367 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.353e-05/0.5415, allocations: 8 kB / 0.5886 GB, free: 6.359 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001287/0.5417, allocations: 330.8 kB / 0.5889 GB, free: 6.027 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000193/0.5419, allocations: 93.41 kB / 0.589 GB, free: 5.938 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002338/0.5421, allocations: 182 kB / 0.5891 GB, free: 5.723 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004454/0.5425, allocations: 299.5 kB / 0.5894 GB, free: 5.395 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.319e-06/0.5426, allocations: 8 kB / 0.5894 GB, free: 5.387 MB / 410.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005298/0.5431, allocations: 330.1 kB / 0.5897 GB, free: 5.059 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.5431, allocations: 4 kB / 0.5898 GB, free: 5.055 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.5431, allocations: 4 kB / 0.5898 GB, free: 5.051 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/0.5432, allocations: 4 kB / 0.5898 GB, free: 5.047 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004546/0.5436, allocations: 119.9 kB / 0.5899 GB, free: 4.93 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001086/0.5447, allocations: 2.368 MB / 0.5922 GB, free: 2.469 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001554/0.5449, allocations: 39.72 kB / 0.5922 GB, free: 2.43 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.678e-05/0.5449, allocations: 19.98 kB / 0.5922 GB, free: 2.41 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.0001901/0.5451, allocations: 177.7 kB / 0.5924 GB, free: 2.227 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.971e-05/0.5452, allocations: 23.73 kB / 0.5924 GB, free: 2.203 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007444/0.5459, allocations: 372.4 kB / 0.5928 GB, free: 1.84 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.693e-06/0.5459, allocations: 4 kB / 0.5928 GB, free: 1.836 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.5459, allocations: 0 / 0.5928 GB, free: 1.836 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.5459, allocations: 0 / 0.5928 GB, free: 1.836 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003915/0.5463, allocations: 345.2 kB / 0.5931 GB, free: 1.449 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.5464, allocations: 0 / 0.5931 GB, free: 1.449 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003957/0.5468, allocations: 115.8 kB / 0.5932 GB, free: 1.336 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.5468, allocations: 0 / 0.5932 GB, free: 1.336 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.028e-05/0.5468, allocations: 11.98 kB / 0.5932 GB, free: 1.324 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001123/0.5479, allocations: 2.356 MB / 0.5955 GB, free: 14.88 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.5479, allocations: 3.938 kB / 0.5956 GB, free: 14.87 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005069/0.5485, allocations: 391.7 kB / 0.5959 GB, free: 14.47 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.189e-05/0.5485, allocations: 92.86 kB / 0.596 GB, free: 14.36 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.575e-05/0.5485, allocations: 0 / 0.596 GB, free: 14.36 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001385/0.5487, allocations: 15.98 kB / 0.596 GB, free: 14.35 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.393e-05/0.5488, allocations: 23.98 kB / 0.5961 GB, free: 14.32 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.107e-05/0.5488, allocations: 19.92 kB / 0.5961 GB, free: 14.3 MB / 426.7 MB Notification: Performance of sorting global known variables: time 7.717e-05/0.5489, allocations: 95.27 kB / 0.5962 GB, free: 14.21 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.5489, allocations: 0 / 0.5962 GB, free: 14.21 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006773/0.5496, allocations: 183.5 kB / 0.5963 GB, free: 14.03 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.0004648/0.55, allocations: 270.7 kB / 0.5966 GB, free: 13.76 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006796/0.5507, allocations: 312.3 kB / 0.5969 GB, free: 13.45 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.5507, allocations: 0 / 0.5969 GB, free: 13.45 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004087/0.5512, allocations: 179.8 kB / 0.5971 GB, free: 13.28 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002833/0.5514, allocations: 16.56 kB / 0.5971 GB, free: 13.26 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001065/0.5525, allocations: 0.7063 MB / 0.5978 GB, free: 12.54 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003859/0.5529, allocations: 0.8064 MB / 0.5986 GB, free: 11.7 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0003381/0.5533, allocations: 97.75 kB / 0.5986 GB, free: 11.61 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.184e-05/0.5533, allocations: 27.42 kB / 0.5987 GB, free: 11.58 MB / 426.7 MB Notification: Performance of SimCode: time 2.3e-07/0.5533, allocations: 0 / 0.5987 GB, free: 11.58 MB / 426.7 MB Notification: Performance of Templates: time 0.008182/0.5615, allocations: 4.539 MB / 0.6031 GB, free: 7.066 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_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_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches