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.000975/0.000975, allocations: 195.8 kB / 14.16 MB, free: 1.156 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.268/1.268, allocations: 225.4 MB / 240.1 MB, free: 15.13 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008657/0.0008658, allocations: 87.59 kB / 292.1 MB, free: 5.922 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1851/0.1851, allocations: 45.14 MB / 389.3 MB, free: 11.86 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.523e-05/3.525e-05, allocations: 4 kB / 460.4 MB, free: 69.98 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09429/0.09434, allocations: 63.25 MB / 0.5114 GB, free: 6.754 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3772/0.4715, allocations: 97.28 MB / 0.6064 GB, free: 12.66 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000243/0.4718, allocations: 101.9 kB / 0.6065 GB, free: 12.6 MB / 410.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.03293/0.5048, allocations: 11.46 MB / 0.6177 GB, free: 2.723 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.5048, allocations: 0 / 0.6177 GB, free: 2.723 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.073e-05/0.5048, allocations: 4 kB / 0.6177 GB, free: 2.719 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.0007557/0.5056, allocations: 0.5854 MB / 0.6183 GB, free: 2.109 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.732e-05/0.5056, allocations: 11.97 kB / 0.6183 GB, free: 2.098 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.471e-05/0.5057, allocations: 35.58 kB / 0.6183 GB, free: 2.062 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002615/0.506, allocations: 241.8 kB / 0.6185 GB, free: 1.793 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.762e-05/0.506, allocations: 23.95 kB / 0.6186 GB, free: 1.777 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.354e-05/0.5061, allocations: 27.19 kB / 0.6186 GB, free: 1.758 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005792/0.5066, allocations: 440.6 kB / 0.619 GB, free: 1.434 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.5067, allocations: 0 / 0.619 GB, free: 1.434 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.853e-05/0.5067, allocations: 11.19 kB / 0.619 GB, free: 1.43 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.346e-05/0.5068, allocations: 47.86 kB / 0.6191 GB, free: 1.387 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005877/0.5073, allocations: 0.5147 MB / 0.6196 GB, free: 1.004 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001738/0.5091, allocations: 1.348 MB / 0.6209 GB, free: 15.7 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004482/0.5096, allocations: 274.6 kB / 0.6211 GB, free: 15.47 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001202/0.5097, allocations: 78.58 kB / 0.6212 GB, free: 15.41 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.524e-05/0.5097, allocations: 15.88 kB / 0.6212 GB, free: 15.4 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.339e-05/0.5098, allocations: 38.55 kB / 0.6213 GB, free: 15.35 MB / 426.7 MB Notification: Performance of pre-optimization done (n=25): time 1.593e-06/0.5098, allocations: 0 / 0.6213 GB, free: 15.35 MB / 426.7 MB Notification: Performance of matching and sorting (n=25): time 0.0003997/0.5102, allocations: 220.2 kB / 0.6215 GB, free: 15.16 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.929e-05/0.5102, allocations: 51.41 kB / 0.6215 GB, free: 15.1 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001072/0.5103, allocations: 137.3 kB / 0.6217 GB, free: 14.97 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.075e-05/0.5104, allocations: 25.7 kB / 0.6217 GB, free: 14.94 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.751e-05/0.5105, allocations: 194.2 kB / 0.6219 GB, free: 14.75 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.794e-05/0.5105, allocations: 85.75 kB / 0.6219 GB, free: 14.68 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.191e-05/0.5105, allocations: 3.812 kB / 0.6219 GB, free: 14.68 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001094/0.5107, allocations: 324.8 kB / 0.6223 GB, free: 14.36 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001131/0.5108, allocations: 76.7 kB / 0.6223 GB, free: 14.3 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001685/0.5109, allocations: 160.8 kB / 0.6225 GB, free: 14.12 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001474/0.5111, allocations: 105.1 kB / 0.6226 GB, free: 14.04 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.479e-06/0.5111, allocations: 11.89 kB / 0.6226 GB, free: 14.03 MB / 426.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004012/0.5115, allocations: 287.7 kB / 0.6229 GB, free: 13.78 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.5115, allocations: 5.562 kB / 0.6229 GB, free: 13.78 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.732e-06/0.5116, allocations: 4 kB / 0.6229 GB, free: 13.77 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.5116, allocations: 4 kB / 0.6229 GB, free: 13.77 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000563/0.5121, allocations: 135.7 kB / 0.623 GB, free: 13.64 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001166/0.5133, allocations: 2.363 MB / 0.6253 GB, free: 11.2 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001692/0.5135, allocations: 42.47 kB / 0.6254 GB, free: 11.16 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.511e-05/0.5135, allocations: 15.5 kB / 0.6254 GB, free: 11.15 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 8.192e-05/0.5136, allocations: 115.9 kB / 0.6255 GB, free: 11.04 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.386e-05/0.5137, allocations: 15.28 kB / 0.6255 GB, free: 11.02 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000644/0.5143, allocations: 339.2 kB / 0.6258 GB, free: 10.74 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-06/0.5143, allocations: 7.984 kB / 0.6258 GB, free: 10.73 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.5144, allocations: 0 / 0.6258 GB, free: 10.73 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.5144, allocations: 3.984 kB / 0.6258 GB, free: 10.73 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003574/0.5147, allocations: 356.2 kB / 0.6262 GB, free: 10.37 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.083e-06/0.5147, allocations: 3.938 kB / 0.6262 GB, free: 10.37 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004804/0.5152, allocations: 119.8 kB / 0.6263 GB, free: 10.25 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.011e-06/0.5152, allocations: 4 kB / 0.6263 GB, free: 10.25 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.924e-05/0.5153, allocations: 7.312 kB / 0.6263 GB, free: 10.25 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001028/0.5163, allocations: 2.354 MB / 0.6286 GB, free: 7.812 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.447e-05/0.5163, allocations: 8.078 kB / 0.6286 GB, free: 7.805 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003763/0.5167, allocations: 346.8 kB / 0.6289 GB, free: 7.492 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.044e-05/0.5168, allocations: 96.8 kB / 0.629 GB, free: 7.379 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.688e-05/0.5168, allocations: 3.688 kB / 0.629 GB, free: 7.379 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000147/0.517, allocations: 15.23 kB / 0.6291 GB, free: 7.367 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.756e-05/0.517, allocations: 27.55 kB / 0.6291 GB, free: 7.344 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.948e-05/0.5171, allocations: 15.98 kB / 0.6291 GB, free: 7.328 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.991e-05/0.5171, allocations: 96.44 kB / 0.6292 GB, free: 7.242 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5171, allocations: 0 / 0.6292 GB, free: 7.242 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005849/0.5177, allocations: 195.6 kB / 0.6294 GB, free: 7.062 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.0004259/0.5181, allocations: 277.3 kB / 0.6296 GB, free: 6.793 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005348/0.5187, allocations: 251.1 kB / 0.6299 GB, free: 6.582 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.5187, allocations: 0 / 0.6299 GB, free: 6.582 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003464/0.5191, allocations: 148.2 kB / 0.63 GB, free: 6.457 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001591/0.5192, allocations: 15.44 kB / 0.63 GB, free: 6.445 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006359/0.5199, allocations: 408.7 kB / 0.6304 GB, free: 6.059 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003155/0.5202, allocations: 0.8021 MB / 0.6312 GB, free: 5.23 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0003021/0.5205, allocations: 97.86 kB / 0.6313 GB, free: 5.137 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.919e-05/0.5206, allocations: 30.8 kB / 0.6313 GB, free: 5.109 MB / 426.7 MB Notification: Performance of SimCode: time 3.5e-07/0.5206, allocations: 0 / 0.6313 GB, free: 5.109 MB / 426.7 MB Notification: Performance of Templates: time 0.007509/0.5281, allocations: 4.385 MB / 0.6356 GB, free: 0.7578 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