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.001069/0.001069, allocations: 202.7 kB / 17.08 MB, free: 5.062 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.194/1.194, allocations: 227.2 MB / 245 MB, free: 7.586 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008377/0.0008378, allocations: 103.8 kB / 297.3 MB, free: 6.176 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.292/0.292, allocations: 45.22 MB / 394.7 MB, free: 31.65 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002942/0.0002943, allocations: 11.98 kB / 468.4 MB, free: 7.691 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3399/0.3402, allocations: 63.23 MB / 0.5192 GB, free: 43.79 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1109/0.4511, allocations: 97.35 MB / 0.6143 GB, free: 8.254 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002904/0.4515, allocations: 104.5 kB / 0.6144 GB, free: 8.156 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.03376/0.4852, allocations: 11.5 MB / 0.6256 GB, free: 12.63 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.4853, allocations: 0 / 0.6256 GB, free: 12.63 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.175e-05/0.4853, allocations: 4 kB / 0.6256 GB, free: 12.63 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.000871/0.4862, allocations: 0.5851 MB / 0.6262 GB, free: 12 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.45e-05/0.4862, allocations: 12.03 kB / 0.6262 GB, free: 11.98 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.286e-05/0.4863, allocations: 35.52 kB / 0.6262 GB, free: 11.95 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002945/0.4866, allocations: 246.6 kB / 0.6265 GB, free: 11.67 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.963e-05/0.4866, allocations: 20.66 kB / 0.6265 GB, free: 11.65 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.378e-05/0.4867, allocations: 31.98 kB / 0.6265 GB, free: 11.62 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006956/0.4874, allocations: 455.9 kB / 0.6269 GB, free: 11.16 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.4874, allocations: 0 / 0.6269 GB, free: 11.16 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.131e-05/0.4874, allocations: 19.98 kB / 0.627 GB, free: 11.14 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.068e-05/0.4875, allocations: 40.97 kB / 0.627 GB, free: 11.11 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007998/0.4883, allocations: 0.562 MB / 0.6275 GB, free: 10.54 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001894/0.4902, allocations: 1.352 MB / 0.6289 GB, free: 9.074 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000532/0.4908, allocations: 294.3 kB / 0.6291 GB, free: 8.777 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.028e-05/0.4908, allocations: 8 kB / 0.6292 GB, free: 8.77 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.046e-05/0.4908, allocations: 35 kB / 0.6292 GB, free: 8.727 MB / 442.7 MB Notification: Performance of pre-optimization done (n=25): time 1.352e-06/0.4908, allocations: 0 / 0.6292 GB, free: 8.727 MB / 442.7 MB Notification: Performance of matching and sorting (n=25): time 0.0006927/0.4915, allocations: 341.2 kB / 0.6295 GB, free: 8.387 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.178e-05/0.4916, allocations: 63.34 kB / 0.6296 GB, free: 8.312 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001107/0.4917, allocations: 130.7 kB / 0.6297 GB, free: 8.176 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.048e-05/0.4917, allocations: 29.7 kB / 0.6297 GB, free: 8.141 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.748e-05/0.4918, allocations: 187.8 kB / 0.6299 GB, free: 7.953 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.986e-05/0.4919, allocations: 87.12 kB / 0.63 GB, free: 7.867 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.552e-05/0.4919, allocations: 12 kB / 0.63 GB, free: 7.855 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001042/0.492, allocations: 326.8 kB / 0.6303 GB, free: 7.527 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000197/0.4922, allocations: 91.91 kB / 0.6304 GB, free: 7.438 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002331/0.4925, allocations: 186.8 kB / 0.6306 GB, free: 7.219 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000218/0.4927, allocations: 117.7 kB / 0.6307 GB, free: 7.105 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.4927, allocations: 0 / 0.6307 GB, free: 7.105 MB / 442.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005676/0.4933, allocations: 333.9 kB / 0.631 GB, free: 6.773 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.4933, allocations: 6.031 kB / 0.631 GB, free: 6.77 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.4933, allocations: 4 kB / 0.631 GB, free: 6.766 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.4933, allocations: 4 kB / 0.631 GB, free: 6.762 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005514/0.4939, allocations: 136.2 kB / 0.6312 GB, free: 6.629 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001141/0.495, allocations: 2.36 MB / 0.6335 GB, free: 4.176 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001797/0.4952, allocations: 39.67 kB / 0.6335 GB, free: 4.137 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.775e-05/0.4953, allocations: 23.94 kB / 0.6335 GB, free: 4.113 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.0001615/0.4954, allocations: 176.4 kB / 0.6337 GB, free: 3.934 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.97e-05/0.4955, allocations: 15.81 kB / 0.6337 GB, free: 3.918 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007807/0.4963, allocations: 381.2 kB / 0.6341 GB, free: 3.539 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.738e-06/0.4963, allocations: 4 kB / 0.6341 GB, free: 3.535 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.4963, allocations: 0 / 0.6341 GB, free: 3.535 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.4963, allocations: 3.984 kB / 0.6341 GB, free: 3.531 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003612/0.4967, allocations: 337.3 kB / 0.6344 GB, free: 3.152 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.4967, allocations: 4 kB / 0.6344 GB, free: 3.148 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004891/0.4972, allocations: 119.8 kB / 0.6345 GB, free: 3.031 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.003e-06/0.4972, allocations: 7.984 kB / 0.6345 GB, free: 3.023 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.838e-05/0.4972, allocations: 4 kB / 0.6345 GB, free: 3.02 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001076/0.4983, allocations: 2.364 MB / 0.6368 GB, free: 0.5625 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.4983, allocations: 4.094 kB / 0.6368 GB, free: 0.5586 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005089/0.4988, allocations: 372.6 kB / 0.6372 GB, free: 184 kB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.282e-05/0.4989, allocations: 92.86 kB / 0.6373 GB, free: 72 kB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.604e-05/0.4989, allocations: 12 kB / 0.6373 GB, free: 60 kB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001476/0.4991, allocations: 15.98 kB / 0.6373 GB, free: 44 kB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.683e-05/0.4991, allocations: 23.92 kB / 0.6373 GB, free: 20 kB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.964e-05/0.4992, allocations: 15.98 kB / 0.6373 GB, free: 4 kB / 442.7 MB Notification: Performance of sorting global known variables: time 7.383e-05/0.4992, allocations: 96.95 kB / 0.6374 GB, free: 15.91 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4993, allocations: 4 kB / 0.6374 GB, free: 15.91 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0005567/0.4998, allocations: 195.4 kB / 0.6376 GB, free: 15.71 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.0005063/0.5003, allocations: 278.7 kB / 0.6379 GB, free: 15.43 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.000676/0.501, allocations: 288 kB / 0.6382 GB, free: 15.15 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.501, allocations: 0 / 0.6382 GB, free: 15.15 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000412/0.5015, allocations: 172.4 kB / 0.6383 GB, free: 14.98 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001641/0.5016, allocations: 11.98 kB / 0.6383 GB, free: 14.97 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009702/0.5026, allocations: 0.7085 MB / 0.639 GB, free: 14.24 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003354/0.503, allocations: 0.8069 MB / 0.6398 GB, free: 13.41 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0002997/0.5033, allocations: 97.73 kB / 0.6399 GB, free: 13.31 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.479e-05/0.5033, allocations: 31.42 kB / 0.6399 GB, free: 13.29 MB / 458.7 MB Notification: Performance of SimCode: time 3.21e-07/0.5033, allocations: 0 / 0.6399 GB, free: 13.29 MB / 458.7 MB Notification: Performance of Templates: time 0.007788/0.5111, allocations: 4.325 MB / 0.6442 GB, free: 9 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/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