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.001328/0.001328, allocations: 175.1 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.449/1.449, allocations: 221.5 MB / 230.7 MB, free: 7.555 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000964/0.0009641, allocations: 93.97 kB / 281.6 MB, free: 5.305 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.1859/0.1859, allocations: 44.16 MB / 376.5 MB, free: 3.027 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.733e-05/1.734e-05, allocations: 0 / 444.6 MB, free: 15.2 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1174/0.1174, allocations: 61.92 MB / 0.4947 GB, free: 1.215 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4508/0.5682, allocations: 95.54 MB / 0.588 GB, free: 0.9375 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000351/0.5686, allocations: 103.9 kB / 0.5881 GB, free: 0.8359 MB / 394.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.03494/0.6036, allocations: 11.45 MB / 0.5993 GB, free: 5.324 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.6036, allocations: 3.938 kB / 0.5993 GB, free: 5.32 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.256e-05/0.6037, allocations: 4 kB / 0.5993 GB, free: 5.316 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.0009016/0.6046, allocations: 0.5749 MB / 0.5999 GB, free: 4.695 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.722e-05/0.6046, allocations: 11.98 kB / 0.5999 GB, free: 4.684 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.088e-05/0.6047, allocations: 35.62 kB / 0.5999 GB, free: 4.648 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002889/0.605, allocations: 234.6 kB / 0.6001 GB, free: 4.379 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.472e-05/0.6051, allocations: 15.95 kB / 0.6001 GB, free: 4.363 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.491e-05/0.6051, allocations: 16 kB / 0.6002 GB, free: 4.348 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005599/0.6057, allocations: 405.3 kB / 0.6005 GB, free: 3.953 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005476/0.6063, allocations: 394 kB / 0.6009 GB, free: 3.566 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.409e-05/0.6063, allocations: 7.938 kB / 0.6009 GB, free: 3.559 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.594e-05/0.6063, allocations: 0 / 0.6009 GB, free: 3.559 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.922e-05/0.6064, allocations: 40.75 kB / 0.601 GB, free: 3.516 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001807/0.6082, allocations: 1.262 MB / 0.6022 GB, free: 2.148 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004429/0.6087, allocations: 262.4 kB / 0.6024 GB, free: 1.883 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001216/0.6088, allocations: 73.27 kB / 0.6025 GB, free: 1.809 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.356e-05/0.6088, allocations: 15.92 kB / 0.6025 GB, free: 1.793 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.397e-05/0.6089, allocations: 34.56 kB / 0.6026 GB, free: 1.75 MB / 410.7 MB Notification: Performance of pre-optimization done (n=25): time 1.323e-06/0.6089, allocations: 0 / 0.6026 GB, free: 1.75 MB / 410.7 MB Notification: Performance of matching and sorting (n=25): time 0.0004764/0.6094, allocations: 205.3 kB / 0.6028 GB, free: 1.543 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.532e-05/0.6094, allocations: 59.41 kB / 0.6028 GB, free: 1.473 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001378/0.6096, allocations: 125.2 kB / 0.6029 GB, free: 1.34 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.75e-05/0.6096, allocations: 29.7 kB / 0.603 GB, free: 1.305 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001334/0.6098, allocations: 188 kB / 0.6031 GB, free: 1.117 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.943e-05/0.6098, allocations: 82.75 kB / 0.6032 GB, free: 1.035 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.332e-05/0.6098, allocations: 0 / 0.6032 GB, free: 1.035 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000163/0.61, allocations: 326.8 kB / 0.6035 GB, free: 0.707 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000115/0.6101, allocations: 75.81 kB / 0.6036 GB, free: 0.6328 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001798/0.6103, allocations: 150.1 kB / 0.6037 GB, free: 460 kB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001484/0.6105, allocations: 99.84 kB / 0.6038 GB, free: 360 kB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.6105, allocations: 4 kB / 0.6038 GB, free: 356 kB / 410.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003997/0.6109, allocations: 261.7 kB / 0.6041 GB, free: 88 kB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/0.6109, allocations: 8 kB / 0.6041 GB, free: 80 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.6109, allocations: 4 kB / 0.6041 GB, free: 76 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.969e-05/0.611, allocations: 4 kB / 0.6041 GB, free: 72 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005797/0.6116, allocations: 127.8 kB / 0.6042 GB, free: 15.95 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001328/0.6129, allocations: 2.373 MB / 0.6066 GB, free: 13.48 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001742/0.6131, allocations: 39.7 kB / 0.6066 GB, free: 13.44 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.759e-05/0.6131, allocations: 16 kB / 0.6066 GB, free: 13.43 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 () * 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.0001108/0.6132, allocations: 108.9 kB / 0.6067 GB, free: 13.31 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.058e-05/0.6133, allocations: 15.77 kB / 0.6067 GB, free: 13.3 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006659/0.614, allocations: 327.6 kB / 0.607 GB, free: 12.97 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/0.614, allocations: 7.984 kB / 0.607 GB, free: 12.96 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.614, allocations: 0 / 0.607 GB, free: 12.96 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.614, allocations: 0 / 0.607 GB, free: 12.96 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000308/0.6143, allocations: 266.3 kB / 0.6073 GB, free: 12.67 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.6143, allocations: 4 kB / 0.6073 GB, free: 12.66 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004672/0.6148, allocations: 119.8 kB / 0.6074 GB, free: 12.55 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.154e-06/0.6148, allocations: 4 kB / 0.6074 GB, free: 12.54 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.104e-05/0.6148, allocations: 3.984 kB / 0.6074 GB, free: 12.54 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001241/0.6161, allocations: 2.367 MB / 0.6097 GB, free: 10.08 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.6161, allocations: 288 / 0.6097 GB, free: 10.08 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003956/0.6165, allocations: 335.6 kB / 0.6101 GB, free: 9.734 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.828e-05/0.6166, allocations: 100.8 kB / 0.6102 GB, free: 9.617 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.948e-05/0.6166, allocations: 4 kB / 0.6102 GB, free: 9.613 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001423/0.6168, allocations: 7.984 kB / 0.6102 GB, free: 9.605 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.189e-05/0.6168, allocations: 23.97 kB / 0.6102 GB, free: 9.582 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.942e-05/0.6168, allocations: 8 kB / 0.6102 GB, free: 9.574 MB / 426.7 MB Notification: Performance of sorting global known variables: time 5.347e-05/0.6169, allocations: 101.1 kB / 0.6103 GB, free: 9.477 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.6169, allocations: 0 / 0.6103 GB, free: 9.477 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000652/0.6176, allocations: 171.5 kB / 0.6105 GB, free: 9.309 MB / 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 () * 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.000458/0.618, allocations: 266.9 kB / 0.6107 GB, free: 9.039 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005243/0.6186, allocations: 235.7 kB / 0.6109 GB, free: 8.809 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.6186, allocations: 0 / 0.6109 GB, free: 8.809 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000311/0.6189, allocations: 135.8 kB / 0.6111 GB, free: 8.676 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002014/0.6191, allocations: 12.62 kB / 0.6111 GB, free: 8.664 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007122/0.6198, allocations: 389.8 kB / 0.6114 GB, free: 8.258 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003796/0.6202, allocations: 0.8099 MB / 0.6122 GB, free: 7.418 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0003002/0.6205, allocations: 105.8 kB / 0.6123 GB, free: 7.312 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.418e-05/0.6206, allocations: 23.42 kB / 0.6124 GB, free: 7.289 MB / 426.7 MB Notification: Performance of SimCode: time 2.6e-07/0.6206, allocations: 0 / 0.6124 GB, free: 7.289 MB / 426.7 MB Notification: Performance of Templates: time 0.008022/0.6286, allocations: 4.165 MB / 0.6164 GB, free: 3.148 MB / 426.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/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_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