Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001556/0.001556, allocations: 200.8 kB / 18.11 MB, free: 3.738 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.55/1.55, allocations: 226.5 MB / 245.4 MB, free: 6.52 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000812/0.0008121, allocations: 98.16 kB / 297.5 MB, free: 6.688 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3847/0.3847, allocations: 44.83 MB / 394.3 MB, free: 35.69 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003291/0.0003291, allocations: 8 kB / 467.9 MB, free: 11.98 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.426/0.4263, allocations: 62.95 MB / 0.5184 GB, free: 37.68 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1308/0.5572, allocations: 97.24 MB / 0.6134 GB, free: 8.047 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002935/0.5576, allocations: 95.92 kB / 0.6135 GB, free: 7.957 MB / 426.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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 trunk/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 trunk/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 trunk/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.5925, allocations: 11.48 MB / 0.6247 GB, free: 12.4 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.5926, allocations: 0 / 0.6247 GB, free: 12.4 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.757e-05/0.5926, allocations: 4 kB / 0.6247 GB, free: 12.39 MB / 442.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.00104/0.5937, allocations: 0.5852 MB / 0.6253 GB, free: 11.76 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/0.5937, allocations: 8.031 kB / 0.6253 GB, free: 11.75 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.686e-05/0.5938, allocations: 36.56 kB / 0.6253 GB, free: 11.71 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002945/0.5941, allocations: 247.8 kB / 0.6256 GB, free: 11.43 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.302e-05/0.5941, allocations: 21.03 kB / 0.6256 GB, free: 11.41 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.3e-05/0.5942, allocations: 24.38 kB / 0.6256 GB, free: 11.39 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007108/0.5949, allocations: 464.5 kB / 0.626 GB, free: 10.93 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.395e-05/0.5949, allocations: 192 / 0.626 GB, free: 10.93 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.207e-05/0.595, allocations: 23.92 kB / 0.6261 GB, free: 10.91 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.273e-05/0.595, allocations: 36.98 kB / 0.6261 GB, free: 10.88 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008382/0.5959, allocations: 0.5582 MB / 0.6266 GB, free: 10.32 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00188/0.5978, allocations: 1.331 MB / 0.6279 GB, free: 8.867 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004976/0.5983, allocations: 262.5 kB / 0.6282 GB, free: 8.602 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001974/0.5985, allocations: 128.6 kB / 0.6283 GB, free: 8.473 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.854e-05/0.5985, allocations: 4 kB / 0.6283 GB, free: 8.469 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.36e-05/0.5986, allocations: 30.56 kB / 0.6283 GB, free: 8.43 MB / 442.7 MB Notification: Performance of pre-optimization done (n=25): time 1.483e-06/0.5986, allocations: 0 / 0.6283 GB, free: 8.43 MB / 442.7 MB Notification: Performance of matching and sorting (n=25): time 0.0007346/0.5993, allocations: 342.2 kB / 0.6287 GB, free: 8.09 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.36e-05/0.5994, allocations: 55.41 kB / 0.6287 GB, free: 8.023 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001324/0.5995, allocations: 140.1 kB / 0.6289 GB, free: 7.875 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.279e-05/0.5995, allocations: 29.7 kB / 0.6289 GB, free: 7.84 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001123/0.5997, allocations: 200.1 kB / 0.6291 GB, free: 7.641 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.473e-05/0.5997, allocations: 90.75 kB / 0.6292 GB, free: 7.551 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.171e-05/0.5998, allocations: 4 kB / 0.6292 GB, free: 7.547 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001277/0.5999, allocations: 326.8 kB / 0.6295 GB, free: 7.219 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001945/0.6001, allocations: 91.92 kB / 0.6296 GB, free: 7.129 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002478/0.6003, allocations: 181.8 kB / 0.6297 GB, free: 6.918 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004674/0.6008, allocations: 307.8 kB / 0.63 GB, free: 6.582 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.6008, allocations: 0 / 0.63 GB, free: 6.582 MB / 442.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005908/0.6014, allocations: 329 kB / 0.6303 GB, free: 6.254 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.022e-05/0.6015, allocations: 10.66 kB / 0.6304 GB, free: 6.246 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/0.6015, allocations: 4 kB / 0.6304 GB, free: 6.242 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.728e-05/0.6015, allocations: 4.344 kB / 0.6304 GB, free: 6.238 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004905/0.602, allocations: 123.9 kB / 0.6305 GB, free: 6.117 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001147/0.6032, allocations: 2.368 MB / 0.6328 GB, free: 3.656 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001725/0.6033, allocations: 31.69 kB / 0.6328 GB, free: 3.625 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.825e-05/0.6034, allocations: 19.98 kB / 0.6328 GB, free: 3.605 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.0001792/0.6036, allocations: 176.5 kB / 0.633 GB, free: 3.426 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.243e-05/0.6036, allocations: 19.73 kB / 0.633 GB, free: 3.406 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007242/0.6043, allocations: 368.1 kB / 0.6334 GB, free: 3.035 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.468e-06/0.6044, allocations: 11.98 kB / 0.6334 GB, free: 3.023 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.6044, allocations: 0 / 0.6334 GB, free: 3.023 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.6044, allocations: 0 / 0.6334 GB, free: 3.023 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003883/0.6048, allocations: 337.3 kB / 0.6337 GB, free: 2.645 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.766e-06/0.6048, allocations: 4 kB / 0.6337 GB, free: 2.641 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000405/0.6052, allocations: 111.8 kB / 0.6338 GB, free: 2.531 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.84e-06/0.6052, allocations: 4 kB / 0.6338 GB, free: 2.527 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.148e-05/0.6053, allocations: 11.98 kB / 0.6338 GB, free: 2.516 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001144/0.6064, allocations: 2.356 MB / 0.6361 GB, free: 68 kB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.6064, allocations: 0 / 0.6361 GB, free: 68 kB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005321/0.607, allocations: 387.5 kB / 0.6365 GB, free: 15.67 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.211e-05/0.607, allocations: 96.84 kB / 0.6366 GB, free: 15.56 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.581e-05/0.6071, allocations: 8 kB / 0.6366 GB, free: 15.55 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001362/0.6072, allocations: 16 kB / 0.6366 GB, free: 15.54 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.467e-05/0.6073, allocations: 19.97 kB / 0.6366 GB, free: 15.52 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.239e-05/0.6073, allocations: 19.92 kB / 0.6367 GB, free: 15.5 MB / 458.7 MB Notification: Performance of sorting global known variables: time 6.823e-05/0.6074, allocations: 96.95 kB / 0.6368 GB, free: 15.4 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6074, allocations: 4 kB / 0.6368 GB, free: 15.4 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0006566/0.608, allocations: 191.5 kB / 0.6369 GB, free: 15.21 MB / 458.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.0005722/0.6086, allocations: 282.7 kB / 0.6372 GB, free: 14.93 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0006843/0.6093, allocations: 303.6 kB / 0.6375 GB, free: 14.63 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.6093, allocations: 0.6875 kB / 0.6375 GB, free: 14.63 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003954/0.6097, allocations: 191.8 kB / 0.6377 GB, free: 14.44 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003203/0.6101, allocations: 20 kB / 0.6377 GB, free: 14.43 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001046/0.6111, allocations: 0.7047 MB / 0.6384 GB, free: 13.7 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003425/0.6115, allocations: 0.799 MB / 0.6392 GB, free: 12.88 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0003234/0.6118, allocations: 101.7 kB / 0.6393 GB, free: 12.77 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.331e-05/0.6119, allocations: 27.44 kB / 0.6393 GB, free: 12.75 MB / 458.7 MB Notification: Performance of SimCode: time 2.3e-07/0.6119, allocations: 0 / 0.6393 GB, free: 12.75 MB / 458.7 MB Notification: Performance of Templates: time 0.00844/0.6203, allocations: 4.568 MB / 0.6438 GB, free: 8.211 MB / 458.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches