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.0009645/0.0009645, allocations: 193.4 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.355/1.355, allocations: 225.6 MB / 234.8 MB, free: 3.258 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007576/0.0007577, allocations: 100.3 kB / 286.7 MB, free: 5.25 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1928/0.1928, allocations: 45.15 MB / 383.8 MB, free: 272 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.523e-05/1.525e-05, allocations: 4 kB / 453.2 MB, free: 75.8 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1084/0.1084, allocations: 63.25 MB / 0.5044 GB, free: 12.6 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.387/0.4955, allocations: 96.61 MB / 0.5987 GB, free: 6 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002687/0.4958, allocations: 94.25 kB / 0.5988 GB, free: 5.945 MB / 394.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.03344/0.5292, allocations: 11.38 MB / 0.6099 GB, free: 12.34 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.5293, allocations: 0 / 0.6099 GB, free: 12.34 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.435e-05/0.5293, allocations: 4 kB / 0.6099 GB, free: 12.33 MB / 410.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.0008993/0.5302, allocations: 0.5853 MB / 0.6105 GB, free: 11.72 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.6e-05/0.5303, allocations: 8.031 kB / 0.6105 GB, free: 11.71 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.568e-05/0.5304, allocations: 35.58 kB / 0.6106 GB, free: 11.68 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002968/0.5307, allocations: 241.4 kB / 0.6108 GB, free: 11.41 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.65e-05/0.5307, allocations: 8 kB / 0.6108 GB, free: 11.4 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.535e-05/0.5307, allocations: 16 kB / 0.6108 GB, free: 11.38 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004994/0.5312, allocations: 399.3 kB / 0.6112 GB, free: 11.11 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005206/0.5318, allocations: 400.9 kB / 0.6116 GB, free: 10.81 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.5318, allocations: 0 / 0.6116 GB, free: 10.81 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.112e-05/0.5318, allocations: 11.98 kB / 0.6116 GB, free: 10.8 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.844e-05/0.5319, allocations: 36.75 kB / 0.6116 GB, free: 10.76 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00174/0.5336, allocations: 1.27 MB / 0.6129 GB, free: 9.527 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000416/0.5341, allocations: 258.1 kB / 0.6131 GB, free: 9.312 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001055/0.5342, allocations: 77.14 kB / 0.6132 GB, free: 9.25 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.505e-05/0.5342, allocations: 7.938 kB / 0.6132 GB, free: 9.242 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.138e-05/0.5342, allocations: 38 kB / 0.6132 GB, free: 9.199 MB / 410.7 MB Notification: Performance of pre-optimization done (n=25): time 2.736e-06/0.5343, allocations: 0 / 0.6132 GB, free: 9.199 MB / 410.7 MB Notification: Performance of matching and sorting (n=25): time 0.0003967/0.5347, allocations: 210.6 kB / 0.6134 GB, free: 9.016 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.179e-05/0.5347, allocations: 55.41 kB / 0.6135 GB, free: 8.949 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001026/0.5348, allocations: 124.4 kB / 0.6136 GB, free: 8.828 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.015e-05/0.5348, allocations: 25.7 kB / 0.6136 GB, free: 8.797 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.607e-05/0.5349, allocations: 191.2 kB / 0.6138 GB, free: 8.617 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.694e-05/0.535, allocations: 85.38 kB / 0.6139 GB, free: 8.543 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.192e-05/0.535, allocations: 0 / 0.6139 GB, free: 8.543 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.49e-05/0.5351, allocations: 326.1 kB / 0.6142 GB, free: 8.223 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.175e-05/0.5352, allocations: 74.28 kB / 0.6143 GB, free: 8.164 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001466/0.5354, allocations: 155.6 kB / 0.6144 GB, free: 7.996 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001285/0.5355, allocations: 91.11 kB / 0.6145 GB, free: 7.922 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.5355, allocations: 3.938 kB / 0.6145 GB, free: 7.918 MB / 410.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003549/0.5359, allocations: 269 kB / 0.6148 GB, free: 7.68 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.5359, allocations: 8.344 kB / 0.6148 GB, free: 7.672 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.5359, allocations: 4 kB / 0.6148 GB, free: 7.668 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.5359, allocations: 8 kB / 0.6148 GB, free: 7.66 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005263/0.5365, allocations: 127.5 kB / 0.6149 GB, free: 7.539 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00105/0.5375, allocations: 2.362 MB / 0.6172 GB, free: 5.098 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001618/0.5377, allocations: 35.95 kB / 0.6172 GB, free: 5.062 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.62e-05/0.5377, allocations: 23.23 kB / 0.6173 GB, free: 5.043 MB / 410.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 8.582e-05/0.5378, allocations: 108.9 kB / 0.6174 GB, free: 4.93 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.965e-05/0.5379, allocations: 15.81 kB / 0.6174 GB, free: 4.914 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005929/0.5385, allocations: 328.4 kB / 0.6177 GB, free: 4.637 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/0.5385, allocations: 0 / 0.6177 GB, free: 4.637 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.583e-06/0.5385, allocations: 7.938 kB / 0.6177 GB, free: 4.629 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.666e-06/0.5385, allocations: 7.984 kB / 0.6177 GB, free: 4.621 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002878/0.5388, allocations: 271.9 kB / 0.618 GB, free: 4.348 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.5388, allocations: 3.984 kB / 0.618 GB, free: 4.344 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004608/0.5393, allocations: 119.8 kB / 0.6181 GB, free: 4.227 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.5393, allocations: 0 / 0.6181 GB, free: 4.227 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.948e-05/0.5393, allocations: 7.5 kB / 0.6181 GB, free: 4.223 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00099/0.5403, allocations: 2.357 MB / 0.6204 GB, free: 1.785 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.5403, allocations: 0 / 0.6204 GB, free: 1.785 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003378/0.5407, allocations: 342.4 kB / 0.6207 GB, free: 1.473 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.064e-05/0.5407, allocations: 88.95 kB / 0.6208 GB, free: 1.367 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.051e-05/0.5408, allocations: 7.984 kB / 0.6208 GB, free: 1.359 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001451/0.5409, allocations: 4 kB / 0.6208 GB, free: 1.355 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.501e-05/0.541, allocations: 19.97 kB / 0.6208 GB, free: 1.336 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.133e-05/0.541, allocations: 14.86 kB / 0.6209 GB, free: 1.324 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.098e-05/0.5411, allocations: 103.6 kB / 0.621 GB, free: 1.23 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5411, allocations: 4 kB / 0.621 GB, free: 1.227 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006117/0.5417, allocations: 178.7 kB / 0.6211 GB, free: 1.055 MB / 410.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.0004339/0.5421, allocations: 269.6 kB / 0.6214 GB, free: 0.7852 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005019/0.5426, allocations: 234.2 kB / 0.6216 GB, free: 0.5898 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.5427, allocations: 0 / 0.6216 GB, free: 0.5898 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003008/0.543, allocations: 149.1 kB / 0.6217 GB, free: 476 kB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001906/0.5432, allocations: 0 / 0.6217 GB, free: 476 kB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006627/0.5438, allocations: 378.2 kB / 0.6221 GB, free: 96 kB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003807/0.5442, allocations: 0.8059 MB / 0.6229 GB, free: 15.26 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.000308/0.5446, allocations: 109.7 kB / 0.623 GB, free: 15.15 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.58e-05/0.5446, allocations: 30.98 kB / 0.623 GB, free: 15.12 MB / 426.7 MB Notification: Performance of SimCode: time 2.4e-07/0.5446, allocations: 0 / 0.623 GB, free: 15.12 MB / 426.7 MB Notification: Performance of Templates: time 0.008334/0.553, allocations: 4.175 MB / 0.6271 GB, free: 10.98 MB / 426.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/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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches