Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_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_overall_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_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_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_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001145/0.001145, allocations: 180.5 kB / 17.41 MB, free: 4.406 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.278/1.278, allocations: 205.4 MB / 223.6 MB, free: 8.949 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.0007516/0.0007517, allocations: 94.3 kB / 271.9 MB, free: 8.242 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.335/0.335, allocations: 43.55 MB / 363.7 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003856/0.0003858, allocations: 12 kB / 432.6 MB, free: 5.867 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1173/0.1177, allocations: 58.85 MB / 491.5 MB, free: 10.93 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3347/0.4524, allocations: 102.6 MB / 0.5801 GB, free: 15.79 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002869/0.4527, allocations: 102.8 kB / 0.5802 GB, free: 15.69 MB / 410.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/Fluid/Dissipation.mo:6086:11-6092:61:writable] Error: Type mismatch in binding roughness = roughness, expected subtype of enumeration(Neglected, Considered)[4], got type enumeration(Neglected, Considered). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/Fluid/Dissipation.mo:6094:11-6097: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:6100:11-6106:59:writable] Error: Type mismatch in binding roughness = roughness, expected subtype of enumeration(Neglected, Considered)[4], got type enumeration(Neglected, Considered). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/Fluid/Dissipation.mo:6108:11-6111: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.05145/0.5042, allocations: 17.88 MB / 0.5977 GB, free: 13.75 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.5043, allocations: 0 / 0.5977 GB, free: 13.75 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.095e-05/0.5043, allocations: 4 kB / 0.5977 GB, free: 13.75 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.001072/0.5054, allocations: 0.6384 MB / 0.5983 GB, free: 13.06 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/0.5054, allocations: 8.031 kB / 0.5983 GB, free: 13.05 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.538e-05/0.5055, allocations: 32.56 kB / 0.5984 GB, free: 13.02 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002586/0.5057, allocations: 243.9 kB / 0.5986 GB, free: 12.74 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.309e-05/0.5058, allocations: 25.02 kB / 0.5986 GB, free: 12.72 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.118e-05/0.5058, allocations: 28.31 kB / 0.5986 GB, free: 12.69 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007107/0.5065, allocations: 468.4 kB / 0.5991 GB, free: 12.23 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.408e-05/0.5066, allocations: 192 / 0.5991 GB, free: 12.23 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.307e-05/0.5066, allocations: 15.94 kB / 0.5991 GB, free: 12.21 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.245e-05/0.5067, allocations: 40.95 kB / 0.5991 GB, free: 12.18 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007999/0.5075, allocations: 0.5621 MB / 0.5997 GB, free: 11.61 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00173/0.5092, allocations: 1.317 MB / 0.601 GB, free: 10.18 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004844/0.5097, allocations: 270.8 kB / 0.6012 GB, free: 9.91 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001903/0.5099, allocations: 100.8 kB / 0.6013 GB, free: 9.809 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.064e-05/0.51, allocations: 17.59 kB / 0.6014 GB, free: 9.793 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.496e-05/0.51, allocations: 38.5 kB / 0.6014 GB, free: 9.746 MB / 426.7 MB Notification: Performance of pre-optimization done (n=25): time 2.013e-06/0.51, allocations: 0 / 0.6014 GB, free: 9.746 MB / 426.7 MB Notification: Performance of matching and sorting (n=25): time 0.0006931/0.5107, allocations: 337.3 kB / 0.6017 GB, free: 9.41 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.406e-05/0.5108, allocations: 55.41 kB / 0.6018 GB, free: 9.344 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001178/0.5109, allocations: 143.7 kB / 0.6019 GB, free: 9.191 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.089e-05/0.5109, allocations: 29.69 kB / 0.6019 GB, free: 9.156 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.747e-05/0.511, allocations: 191.7 kB / 0.6021 GB, free: 8.965 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.952e-05/0.5111, allocations: 90.73 kB / 0.6022 GB, free: 8.875 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.661e-05/0.5111, allocations: 8 kB / 0.6022 GB, free: 8.867 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001027/0.5112, allocations: 330.8 kB / 0.6025 GB, free: 8.535 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001869/0.5114, allocations: 97.34 kB / 0.6026 GB, free: 8.441 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002329/0.5117, allocations: 182.3 kB / 0.6028 GB, free: 8.227 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004455/0.5121, allocations: 307.5 kB / 0.6031 GB, free: 7.891 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.5121, allocations: 0 / 0.6031 GB, free: 7.891 MB / 426.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000543/0.5127, allocations: 333.8 kB / 0.6034 GB, free: 7.559 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2e-05/0.5127, allocations: 8 kB / 0.6034 GB, free: 7.551 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.5127, allocations: 4 kB / 0.6034 GB, free: 7.547 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.5127, allocations: 4 kB / 0.6034 GB, free: 7.543 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004717/0.5132, allocations: 119.9 kB / 0.6035 GB, free: 7.426 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001048/0.5143, allocations: 2.372 MB / 0.6058 GB, free: 4.961 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001608/0.5144, allocations: 35.77 kB / 0.6059 GB, free: 4.926 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.516e-05/0.5145, allocations: 12 kB / 0.6059 GB, free: 4.914 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 () * 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.0001677/0.5146, allocations: 169.7 kB / 0.6061 GB, free: 4.738 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.899e-05/0.5147, allocations: 19.75 kB / 0.6061 GB, free: 4.719 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007508/0.5155, allocations: 382 kB / 0.6064 GB, free: 4.348 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.5155, allocations: 4 kB / 0.6064 GB, free: 4.344 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.5155, allocations: 0 / 0.6064 GB, free: 4.344 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.137e-06/0.5155, allocations: 0 / 0.6064 GB, free: 4.344 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003544/0.5159, allocations: 349.2 kB / 0.6068 GB, free: 3.953 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.5159, allocations: 0 / 0.6068 GB, free: 3.953 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003982/0.5163, allocations: 103.9 kB / 0.6069 GB, free: 3.852 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.5163, allocations: 3.984 kB / 0.6069 GB, free: 3.848 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.241e-05/0.5163, allocations: 12 kB / 0.6069 GB, free: 3.836 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009518/0.5173, allocations: 2.352 MB / 0.6092 GB, free: 1.391 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.614e-06/0.5173, allocations: 8.094 kB / 0.6092 GB, free: 1.383 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005029/0.5178, allocations: 391.4 kB / 0.6096 GB, free: 0.9844 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.435e-05/0.5179, allocations: 92.86 kB / 0.6097 GB, free: 0.875 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.998e-05/0.5179, allocations: 15.94 kB / 0.6097 GB, free: 0.8594 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001533/0.518, allocations: 15.98 kB / 0.6097 GB, free: 0.8438 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.373e-05/0.5181, allocations: 19.97 kB / 0.6097 GB, free: 0.8242 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.941e-05/0.5181, allocations: 11.94 kB / 0.6097 GB, free: 0.8125 MB / 426.7 MB Notification: Performance of sorting global known variables: time 6.012e-05/0.5182, allocations: 101.8 kB / 0.6098 GB, free: 0.7148 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.393e-06/0.5182, allocations: 0 / 0.6098 GB, free: 0.7148 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000798/0.519, allocations: 267.3 kB / 0.6101 GB, free: 464 kB / 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.0006374/0.5197, allocations: 396.4 kB / 0.6104 GB, free: 56 kB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0007073/0.5204, allocations: 308.4 kB / 0.6107 GB, free: 15.75 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.5204, allocations: 0 / 0.6107 GB, free: 15.75 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004161/0.5208, allocations: 183.7 kB / 0.6109 GB, free: 15.57 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002632/0.5211, allocations: 12 kB / 0.6109 GB, free: 15.56 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009495/0.5221, allocations: 0.735 MB / 0.6116 GB, free: 14.8 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002972/0.5224, allocations: 0.7948 MB / 0.6124 GB, free: 13.98 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.135e-05/0.5225, allocations: 35.42 kB / 0.6125 GB, free: 13.95 MB / 442.7 MB Notification: Performance of SimCode: time 2.4e-07/0.5225, allocations: 0 / 0.6125 GB, free: 13.95 MB / 442.7 MB Notification: Performance of Templates: time 0.01156/0.534, allocations: 9.984 MB / 0.6222 GB, free: 3.961 MB / 442.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_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_overall_DPMFLOW/dp_overall_DPMFLOW.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches