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.0009086/0.0009084, allocations: 182.5 kB / 18.08 MB, free: 3.637 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.238/1.238, allocations: 223.3 MB / 242.1 MB, free: 10 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.000748/0.0007479, allocations: 90.67 kB / 293.3 MB, free: 10.57 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.3002/0.3002, allocations: 44.15 MB / 388.5 MB, free: 38.54 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003221/0.0003221, allocations: 12 kB / 461.1 MB, free: 1.277 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3188/0.3192, allocations: 61.87 MB / 0.5107 GB, free: 37.99 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1316/0.4508, allocations: 96.32 MB / 0.6048 GB, free: 14.74 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002635/0.4511, allocations: 107.8 kB / 0.6049 GB, free: 14.64 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.03397/0.4851, allocations: 11.57 MB / 0.6162 GB, free: 2.988 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.667e-06/0.4851, allocations: 4 kB / 0.6162 GB, free: 2.984 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.039e-05/0.4852, allocations: 4 kB / 0.6162 GB, free: 2.98 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.0009278/0.4861, allocations: 0.5811 MB / 0.6168 GB, free: 2.348 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/0.4861, allocations: 12.03 kB / 0.6168 GB, free: 2.336 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.828e-05/0.4862, allocations: 28.56 kB / 0.6168 GB, free: 2.309 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002865/0.4865, allocations: 243.9 kB / 0.6171 GB, free: 2.031 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.174e-05/0.4865, allocations: 21.03 kB / 0.6171 GB, free: 2.012 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.293e-05/0.4866, allocations: 32.36 kB / 0.6171 GB, free: 1.98 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006914/0.4873, allocations: 468.5 kB / 0.6176 GB, free: 1.52 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.435e-05/0.4873, allocations: 192 / 0.6176 GB, free: 1.52 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.295e-05/0.4873, allocations: 19.92 kB / 0.6176 GB, free: 1.5 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.925e-05/0.4874, allocations: 36.97 kB / 0.6176 GB, free: 1.465 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008139/0.4882, allocations: 0.5543 MB / 0.6182 GB, free: 0.9102 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001854/0.4901, allocations: 1.321 MB / 0.6194 GB, free: 15.47 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004983/0.4906, allocations: 272 kB / 0.6197 GB, free: 15.2 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002055/0.4908, allocations: 112.7 kB / 0.6198 GB, free: 15.09 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.553e-05/0.4909, allocations: 8.391 kB / 0.6198 GB, free: 15.08 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.722e-05/0.4909, allocations: 34.56 kB / 0.6198 GB, free: 15.04 MB / 442.7 MB Notification: Performance of pre-optimization done (n=25): time 1.563e-06/0.4909, allocations: 0 / 0.6198 GB, free: 15.04 MB / 442.7 MB Notification: Performance of matching and sorting (n=25): time 0.0007056/0.4916, allocations: 343.1 kB / 0.6202 GB, free: 14.7 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.581e-05/0.4917, allocations: 55.41 kB / 0.6202 GB, free: 14.63 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00012/0.4918, allocations: 138.1 kB / 0.6204 GB, free: 14.48 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.389e-05/0.4918, allocations: 29.7 kB / 0.6204 GB, free: 14.45 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001085/0.492, allocations: 199.6 kB / 0.6206 GB, free: 14.25 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.079e-05/0.492, allocations: 86.75 kB / 0.6207 GB, free: 14.16 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.441e-05/0.4921, allocations: 8 kB / 0.6207 GB, free: 14.16 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001281/0.4922, allocations: 326.8 kB / 0.621 GB, free: 13.83 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001908/0.4924, allocations: 87.92 kB / 0.6211 GB, free: 13.74 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002429/0.4926, allocations: 182.2 kB / 0.6212 GB, free: 13.53 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004459/0.4931, allocations: 302.8 kB / 0.6215 GB, free: 13.2 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.4931, allocations: 7.938 kB / 0.6215 GB, free: 13.19 MB / 442.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005347/0.4936, allocations: 329 kB / 0.6218 GB, free: 12.86 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.4937, allocations: 4 kB / 0.6219 GB, free: 12.86 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.4937, allocations: 4.344 kB / 0.6219 GB, free: 12.85 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.902e-05/0.4937, allocations: 8 kB / 0.6219 GB, free: 12.84 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004692/0.4942, allocations: 119.9 kB / 0.622 GB, free: 12.73 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001119/0.4953, allocations: 2.367 MB / 0.6243 GB, free: 10.27 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001648/0.4955, allocations: 35.67 kB / 0.6243 GB, free: 10.23 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.505e-05/0.4955, allocations: 16.28 kB / 0.6243 GB, free: 10.21 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.0001738/0.4957, allocations: 177.7 kB / 0.6245 GB, free: 10.03 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.897e-05/0.4958, allocations: 19.75 kB / 0.6245 GB, free: 10.01 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007224/0.4965, allocations: 376.6 kB / 0.6249 GB, free: 9.637 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.4965, allocations: 4 kB / 0.6249 GB, free: 9.633 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.4965, allocations: 0 / 0.6249 GB, free: 9.633 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.4965, allocations: 3.984 kB / 0.6249 GB, free: 9.629 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003584/0.4969, allocations: 345.3 kB / 0.6252 GB, free: 9.242 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.4969, allocations: 0 / 0.6252 GB, free: 9.242 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003787/0.4973, allocations: 115.8 kB / 0.6253 GB, free: 9.129 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.4973, allocations: 0 / 0.6253 GB, free: 9.129 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.902e-05/0.4973, allocations: 16 kB / 0.6254 GB, free: 9.113 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001078/0.4984, allocations: 2.356 MB / 0.6277 GB, free: 6.664 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.4984, allocations: 0 / 0.6277 GB, free: 6.664 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005138/0.4989, allocations: 391.5 kB / 0.628 GB, free: 6.266 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.085e-05/0.499, allocations: 92.86 kB / 0.6281 GB, free: 6.156 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.759e-05/0.499, allocations: 4 kB / 0.6281 GB, free: 6.152 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001344/0.4992, allocations: 15.98 kB / 0.6281 GB, free: 6.137 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.956e-05/0.4992, allocations: 23.97 kB / 0.6282 GB, free: 6.113 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.844e-05/0.4993, allocations: 11.94 kB / 0.6282 GB, free: 6.102 MB / 442.7 MB Notification: Performance of sorting global known variables: time 6.233e-05/0.4993, allocations: 105.2 kB / 0.6283 GB, free: 6 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4993, allocations: 0 / 0.6283 GB, free: 6 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0006235/0.5, allocations: 191.5 kB / 0.6284 GB, free: 5.812 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.0004429/0.5004, allocations: 259.3 kB / 0.6287 GB, free: 5.551 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0006804/0.5011, allocations: 312.3 kB / 0.629 GB, free: 5.246 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.5011, allocations: 7.938 kB / 0.629 GB, free: 5.238 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003949/0.5015, allocations: 179.8 kB / 0.6292 GB, free: 5.062 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002661/0.5018, allocations: 15.94 kB / 0.6292 GB, free: 5.047 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001003/0.5028, allocations: 0.7063 MB / 0.6299 GB, free: 4.32 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003532/0.5032, allocations: 0.7948 MB / 0.6307 GB, free: 3.496 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0003053/0.5035, allocations: 109.7 kB / 0.6308 GB, free: 3.387 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.318e-05/0.5036, allocations: 23.44 kB / 0.6308 GB, free: 3.363 MB / 442.7 MB Notification: Performance of SimCode: time 2.31e-07/0.5036, allocations: 0 / 0.6308 GB, free: 3.363 MB / 442.7 MB Notification: Performance of Templates: time 0.00836/0.5119, allocations: 4.542 MB / 0.6352 GB, free: 14.86 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/jenkins1/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