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.001028/0.001028, allocations: 183.8 kB / 17.06 MB, free: 5.074 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.262/1.262, allocations: 223.2 MB / 241 MB, free: 11.88 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008561/0.0008562, allocations: 93.25 kB / 292.1 MB, free: 10.91 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.3396/0.3396, allocations: 44.22 MB / 387.5 MB, free: 38.75 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002993/0.0002992, allocations: 16 kB / 459.9 MB, free: 1.496 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.312/0.3123, allocations: 61.9 MB / 0.5096 GB, free: 38.34 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1242/0.4366, allocations: 96.29 MB / 0.6036 GB, free: 14.81 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002499/0.4368, allocations: 107.7 kB / 0.6037 GB, free: 14.71 MB / 426.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.03494/0.4718, allocations: 11.57 MB / 0.615 GB, free: 3.062 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.765e-06/0.4719, allocations: 4 kB / 0.615 GB, free: 3.059 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.416e-05/0.4719, allocations: 4 kB / 0.615 GB, free: 3.055 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.001001/0.4729, allocations: 0.5861 MB / 0.6156 GB, free: 2.422 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/0.4729, allocations: 8.031 kB / 0.6156 GB, free: 2.414 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.256e-05/0.473, allocations: 35.56 kB / 0.6156 GB, free: 2.379 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002989/0.4733, allocations: 234.7 kB / 0.6159 GB, free: 2.109 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.385e-05/0.4734, allocations: 28.59 kB / 0.6159 GB, free: 2.082 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.611e-05/0.4734, allocations: 31.98 kB / 0.6159 GB, free: 2.051 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007224/0.4742, allocations: 467.9 kB / 0.6164 GB, free: 1.59 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.4742, allocations: 0 / 0.6164 GB, free: 1.59 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.35e-05/0.4742, allocations: 12 kB / 0.6164 GB, free: 1.578 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.361e-05/0.4743, allocations: 36.97 kB / 0.6164 GB, free: 1.543 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008002/0.4751, allocations: 0.5582 MB / 0.617 GB, free: 0.9805 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001999/0.4771, allocations: 1.341 MB / 0.6183 GB, free: 15.52 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005653/0.4777, allocations: 287.5 kB / 0.6185 GB, free: 15.23 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.457e-05/0.4777, allocations: 7.984 kB / 0.6185 GB, free: 15.23 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.291e-05/0.4778, allocations: 35 kB / 0.6186 GB, free: 15.18 MB / 442.7 MB Notification: Performance of pre-optimization done (n=25): time 1.643e-06/0.4778, allocations: 0 / 0.6186 GB, free: 15.18 MB / 442.7 MB Notification: Performance of matching and sorting (n=25): time 0.0008334/0.4786, allocations: 354.8 kB / 0.6189 GB, free: 14.83 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.072e-05/0.4787, allocations: 55.41 kB / 0.619 GB, free: 14.77 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001253/0.4788, allocations: 125.3 kB / 0.6191 GB, free: 14.63 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.526e-05/0.4788, allocations: 29.7 kB / 0.6191 GB, free: 14.6 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001352/0.479, allocations: 204 kB / 0.6193 GB, free: 14.39 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.253e-05/0.479, allocations: 86.75 kB / 0.6194 GB, free: 14.31 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.448e-05/0.4791, allocations: 4 kB / 0.6194 GB, free: 14.3 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001572/0.4792, allocations: 326.8 kB / 0.6197 GB, free: 13.98 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001978/0.4794, allocations: 91.92 kB / 0.6198 GB, free: 13.89 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002543/0.4797, allocations: 174.2 kB / 0.62 GB, free: 13.68 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002328/0.4799, allocations: 124.7 kB / 0.6201 GB, free: 13.56 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.48, allocations: 0 / 0.6201 GB, free: 13.56 MB / 442.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005833/0.4805, allocations: 329 kB / 0.6204 GB, free: 13.23 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.653e-05/0.4806, allocations: 8.344 kB / 0.6204 GB, free: 13.22 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.049e-05/0.4806, allocations: 8 kB / 0.6204 GB, free: 13.21 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.224e-05/0.4806, allocations: 7.953 kB / 0.6204 GB, free: 13.21 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005883/0.4812, allocations: 127.8 kB / 0.6205 GB, free: 13.08 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001287/0.4825, allocations: 2.371 MB / 0.6229 GB, free: 10.62 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001879/0.4827, allocations: 39.95 kB / 0.6229 GB, free: 10.58 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.535e-05/0.4828, allocations: 12 kB / 0.6229 GB, free: 10.57 MB / 442.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.0002026/0.483, allocations: 174.2 kB / 0.6231 GB, free: 10.39 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.162e-05/0.483, allocations: 27.69 kB / 0.6231 GB, free: 10.36 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007975/0.4838, allocations: 384.5 kB / 0.6235 GB, free: 9.98 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.424e-06/0.4839, allocations: 8 kB / 0.6235 GB, free: 9.973 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.4839, allocations: 3.938 kB / 0.6235 GB, free: 9.969 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.4839, allocations: 0 / 0.6235 GB, free: 9.969 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003889/0.4843, allocations: 345.3 kB / 0.6238 GB, free: 9.582 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.4843, allocations: 0 / 0.6238 GB, free: 9.582 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000466/0.4847, allocations: 115.9 kB / 0.6239 GB, free: 9.469 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.4e-06/0.4848, allocations: 0 / 0.6239 GB, free: 9.469 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.947e-05/0.4848, allocations: 11.98 kB / 0.6239 GB, free: 9.457 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001127/0.4859, allocations: 2.364 MB / 0.6262 GB, free: 7 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.4859, allocations: 0 / 0.6262 GB, free: 7 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005493/0.4865, allocations: 383.7 kB / 0.6266 GB, free: 6.609 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.759e-05/0.4866, allocations: 92.86 kB / 0.6267 GB, free: 6.5 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.024e-05/0.4866, allocations: 8 kB / 0.6267 GB, free: 6.492 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001471/0.4868, allocations: 11.98 kB / 0.6267 GB, free: 6.48 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.792e-05/0.4869, allocations: 27.84 kB / 0.6267 GB, free: 6.453 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.197e-05/0.4869, allocations: 12 kB / 0.6267 GB, free: 6.441 MB / 442.7 MB Notification: Performance of sorting global known variables: time 8.34e-05/0.487, allocations: 99.95 kB / 0.6268 GB, free: 6.344 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.487, allocations: 4 kB / 0.6268 GB, free: 6.34 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0007917/0.4878, allocations: 187.5 kB / 0.627 GB, free: 6.156 MB / 442.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.0005548/0.4884, allocations: 261.2 kB / 0.6273 GB, free: 5.891 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.000743/0.4891, allocations: 292.3 kB / 0.6276 GB, free: 5.605 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.4891, allocations: 0 / 0.6276 GB, free: 5.605 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003953/0.4895, allocations: 171.8 kB / 0.6277 GB, free: 5.438 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001994/0.4898, allocations: 15.95 kB / 0.6277 GB, free: 5.422 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001073/0.4908, allocations: 0.7039 MB / 0.6284 GB, free: 4.691 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003449/0.4912, allocations: 0.8026 MB / 0.6292 GB, free: 3.863 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0003091/0.4915, allocations: 101.7 kB / 0.6293 GB, free: 3.766 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.877e-05/0.4916, allocations: 31.42 kB / 0.6293 GB, free: 3.734 MB / 442.7 MB Notification: Performance of SimCode: time 3.01e-07/0.4916, allocations: 0 / 0.6293 GB, free: 3.734 MB / 442.7 MB Notification: Performance of Templates: time 0.008018/0.4996, allocations: 4.309 MB / 0.6335 GB, free: 15.46 MB / 458.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