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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001078/0.001079, allocations: 180.3 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.269/1.269, allocations: 221.4 MB / 236 MB, free: 2.934 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.0008488/0.0008488, allocations: 97.89 kB / 287 MB, free: 252 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1791/0.1791, allocations: 44.16 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.553e-05/2.557e-05, allocations: 4 kB / 451.9 MB, free: 9.41 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1131/0.1131, allocations: 61.91 MB / 0.5017 GB, free: 11.43 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4332/0.5464, allocations: 96.21 MB / 0.5957 GB, free: 9.078 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000356/0.5468, allocations: 95.92 kB / 0.5958 GB, free: 8.984 MB / 410.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 - DAE generated: time 0.05251/0.5993, allocations: 11.56 MB / 0.6071 GB, free: 13.36 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.5994, allocations: 0 / 0.6071 GB, free: 13.36 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.41e-05/0.5994, allocations: 4 kB / 0.6071 GB, free: 13.36 MB / 426.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.001125/0.6005, allocations: 0.5685 MB / 0.6076 GB, free: 12.75 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.302e-05/0.6006, allocations: 8.031 kB / 0.6076 GB, free: 12.74 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.142e-05/0.6007, allocations: 31.61 kB / 0.6077 GB, free: 12.71 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003623/0.6011, allocations: 246.6 kB / 0.6079 GB, free: 12.43 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.51e-05/0.6011, allocations: 28.72 kB / 0.6079 GB, free: 12.4 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.162e-05/0.6012, allocations: 24 kB / 0.6079 GB, free: 12.38 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00091/0.6021, allocations: 447.5 kB / 0.6084 GB, free: 11.93 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/0.6021, allocations: 0 / 0.6084 GB, free: 11.93 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.16e-05/0.6022, allocations: 8 kB / 0.6084 GB, free: 11.92 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.307e-05/0.6023, allocations: 44.69 kB / 0.6084 GB, free: 11.88 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001015/0.6033, allocations: 0.5145 MB / 0.6089 GB, free: 11.37 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002599/0.6059, allocations: 1.345 MB / 0.6102 GB, free: 9.902 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007652/0.6067, allocations: 264.5 kB / 0.6105 GB, free: 9.637 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002166/0.6069, allocations: 85.25 kB / 0.6106 GB, free: 9.551 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.349e-05/0.607, allocations: 20.31 kB / 0.6106 GB, free: 9.531 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.424e-05/0.607, allocations: 30.56 kB / 0.6106 GB, free: 9.492 MB / 426.7 MB Notification: Performance of pre-optimization done (n=25): time 2.084e-06/0.607, allocations: 0 / 0.6106 GB, free: 9.492 MB / 426.7 MB Notification: Performance of matching and sorting (n=25): time 0.0006711/0.6077, allocations: 225.2 kB / 0.6108 GB, free: 9.266 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.774e-05/0.6078, allocations: 55.41 kB / 0.6109 GB, free: 9.199 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001673/0.608, allocations: 126.2 kB / 0.611 GB, free: 9.066 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.801e-05/0.608, allocations: 33.7 kB / 0.611 GB, free: 9.027 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001647/0.6082, allocations: 191.8 kB / 0.6112 GB, free: 8.832 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.839e-05/0.6083, allocations: 86.75 kB / 0.6113 GB, free: 8.746 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.476e-05/0.6084, allocations: 8 kB / 0.6113 GB, free: 8.738 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001658/0.6085, allocations: 322.8 kB / 0.6116 GB, free: 8.414 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001996/0.6087, allocations: 75.83 kB / 0.6117 GB, free: 8.34 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003011/0.6091, allocations: 162 kB / 0.6119 GB, free: 8.145 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002782/0.6093, allocations: 100.1 kB / 0.6119 GB, free: 8.047 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.6094, allocations: 0 / 0.6119 GB, free: 8.047 MB / 426.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007365/0.6101, allocations: 293.1 kB / 0.6122 GB, free: 7.754 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.416e-05/0.6101, allocations: 8 kB / 0.6122 GB, free: 7.746 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.715e-06/0.6102, allocations: 4.281 kB / 0.6122 GB, free: 7.742 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.495e-05/0.6102, allocations: 15.95 kB / 0.6123 GB, free: 7.727 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008995/0.6111, allocations: 123.8 kB / 0.6124 GB, free: 7.605 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001757/0.6129, allocations: 2.364 MB / 0.6147 GB, free: 5.148 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000297/0.6132, allocations: 35.67 kB / 0.6147 GB, free: 5.113 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.472e-05/0.6133, allocations: 20.27 kB / 0.6147 GB, free: 5.094 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 0.0001339/0.6134, allocations: 124.9 kB / 0.6149 GB, free: 4.965 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.481e-05/0.6135, allocations: 11.91 kB / 0.6149 GB, free: 4.953 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00109/0.6146, allocations: 347.3 kB / 0.6152 GB, free: 4.605 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.334e-06/0.6146, allocations: 4 kB / 0.6152 GB, free: 4.602 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.6146, allocations: 0 / 0.6152 GB, free: 4.602 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.464e-06/0.6146, allocations: 3.984 kB / 0.6152 GB, free: 4.598 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006342/0.6153, allocations: 341.2 kB / 0.6155 GB, free: 4.215 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.021e-06/0.6153, allocations: 11.89 kB / 0.6155 GB, free: 4.203 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008299/0.6162, allocations: 119.8 kB / 0.6157 GB, free: 4.086 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.422e-06/0.6162, allocations: 0 / 0.6157 GB, free: 4.086 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.252e-05/0.6162, allocations: 11.98 kB / 0.6157 GB, free: 4.074 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001522/0.6178, allocations: 2.364 MB / 0.618 GB, free: 1.617 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.6178, allocations: 0 / 0.618 GB, free: 1.617 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006324/0.6184, allocations: 351.7 kB / 0.6183 GB, free: 1.258 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.903e-05/0.6185, allocations: 100.9 kB / 0.6184 GB, free: 1.141 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.195e-05/0.6186, allocations: 4 kB / 0.6184 GB, free: 1.137 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002524/0.6188, allocations: 15.98 kB / 0.6184 GB, free: 1.121 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.811e-05/0.6189, allocations: 15.97 kB / 0.6184 GB, free: 1.105 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.124e-05/0.619, allocations: 12 kB / 0.6184 GB, free: 1.094 MB / 426.7 MB Notification: Performance of sorting global known variables: time 8.418e-05/0.619, allocations: 102.2 kB / 0.6185 GB, free: 0.9961 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.81e-07/0.6191, allocations: 0 / 0.6185 GB, free: 0.9961 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0009802/0.6201, allocations: 183.5 kB / 0.6187 GB, free: 0.8164 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.000652/0.6207, allocations: 273.4 kB / 0.619 GB, free: 0.543 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0009098/0.6216, allocations: 252.2 kB / 0.6192 GB, free: 304 kB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.065e-06/0.6217, allocations: 0 / 0.6192 GB, free: 304 kB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006022/0.6223, allocations: 155.8 kB / 0.6194 GB, free: 148 kB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002779/0.6226, allocations: 11.95 kB / 0.6194 GB, free: 136 kB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001106/0.6237, allocations: 396.6 kB / 0.6198 GB, free: 15.72 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004715/0.6242, allocations: 0.814 MB / 0.6206 GB, free: 14.88 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.00053/0.6247, allocations: 101.8 kB / 0.6207 GB, free: 14.78 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.67e-05/0.6248, allocations: 27.44 kB / 0.6207 GB, free: 14.75 MB / 442.7 MB Notification: Performance of SimCode: time 7.304e-06/0.6249, allocations: 0 / 0.6207 GB, free: 14.75 MB / 442.7 MB Notification: Performance of Templates: time 0.01234/0.6372, allocations: 4.38 MB / 0.625 GB, free: 10.41 MB / 442.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