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/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.001044/0.001044, allocations: 111.6 kB / 18.46 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001169/0.00117, allocations: 212 kB / 19.41 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.34/1.34, allocations: 227.4 MB / 247.6 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2094/0.2094, allocations: 46.11 MB / 345 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00149/0.00149, allocations: 75.88 kB / 482 MB, free: 4.051 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3237/0.3252, allocations: 62.43 MB / 0.5317 GB, free: 13.86 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW): time 0.002846/0.3281, allocations: 1.844 MB / 0.5335 GB, free: 12.43 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00235/0.3304, allocations: 1.7 MB / 0.5351 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.288e-05/0.3305, allocations: 1.375 kB / 0.5351 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002185/0.3307, allocations: 44.14 kB / 0.5352 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002455/0.331, allocations: 78.69 kB / 0.5353 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007391/0.3317, allocations: 416.2 kB / 0.5357 GB, free: 10.78 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002712/0.332, allocations: 244.6 kB / 0.5359 GB, free: 10.64 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.222e-05/0.3321, allocations: 33.73 kB / 0.5359 GB, free: 10.62 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000196/0.3323, allocations: 109.6 kB / 0.536 GB, free: 10.56 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001655/0.3325, allocations: 115.8 kB / 0.5361 GB, free: 10.49 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.526e-05/0.3325, allocations: 8.031 kB / 0.5362 GB, free: 10.49 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009838/0.3335, allocations: 0.7202 MB / 0.5369 GB, free: 10.03 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.869e-05/0.3336, allocations: 68.12 kB / 0.5369 GB, free: 9.984 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001105/0.3337, allocations: 122.7 kB / 0.537 GB, free: 9.902 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000794/0.3345, allocations: 0.6182 MB / 0.5376 GB, free: 9.512 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.3345, allocations: 1.156 kB / 0.5376 GB, free: 9.512 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.3345, allocations: 0 / 0.5376 GB, free: 9.512 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.132e-06/0.3346, allocations: 0 / 0.5376 GB, free: 9.512 MB / 398.1 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.0008996/0.3355, allocations: 0.6219 MB / 0.5382 GB, free: 8.949 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/0.3355, allocations: 9.031 kB / 0.5383 GB, free: 8.949 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.113e-05/0.3356, allocations: 33.47 kB / 0.5383 GB, free: 8.93 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002442/0.3358, allocations: 247 kB / 0.5385 GB, free: 8.68 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.254e-05/0.3359, allocations: 18.84 kB / 0.5385 GB, free: 8.672 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.576e-05/0.3359, allocations: 29.36 kB / 0.5386 GB, free: 8.66 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007006/0.3366, allocations: 462.6 kB / 0.539 GB, free: 8.418 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.3366, allocations: 0 / 0.539 GB, free: 8.418 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.926e-05/0.3367, allocations: 10.94 kB / 0.539 GB, free: 8.41 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.168e-05/0.3367, allocations: 51.2 kB / 0.5391 GB, free: 8.391 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007945/0.3375, allocations: 0.548 MB / 0.5396 GB, free: 8.156 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001781/0.3393, allocations: 1.309 MB / 0.5409 GB, free: 7.078 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005313/0.3399, allocations: 278.2 kB / 0.5411 GB, free: 6.945 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001983/0.3401, allocations: 101.7 kB / 0.5412 GB, free: 6.895 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.485e-05/0.3401, allocations: 4.312 kB / 0.5413 GB, free: 6.895 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.147e-05/0.3402, allocations: 39.56 kB / 0.5413 GB, free: 6.848 MB / 398.1 MB Notification: Performance of pre-optimization done (n=25): time 1.462e-06/0.3402, allocations: 1.094 kB / 0.5413 GB, free: 6.848 MB / 398.1 MB Notification: Performance of matching and sorting (n=25): time 0.00072/0.3409, allocations: 329.5 kB / 0.5416 GB, free: 6.691 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.871e-05/0.3409, allocations: 54.12 kB / 0.5417 GB, free: 6.629 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001288/0.3411, allocations: 143.6 kB / 0.5418 GB, free: 6.5 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.411e-05/0.3411, allocations: 30.98 kB / 0.5418 GB, free: 6.465 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00012/0.3412, allocations: 195 kB / 0.542 GB, free: 6.285 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.703e-05/0.3413, allocations: 90.16 kB / 0.5421 GB, free: 6.207 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.572e-05/0.3414, allocations: 67.84 kB / 0.5422 GB, free: 6.164 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001371/0.3415, allocations: 327 kB / 0.5425 GB, free: 5.84 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002092/0.3418, allocations: 86.86 kB / 0.5426 GB, free: 5.805 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002607/0.342, allocations: 173.5 kB / 0.5427 GB, free: 5.66 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005364/0.3426, allocations: 300.3 kB / 0.543 GB, free: 5.453 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.097e-06/0.3426, allocations: 1.25 kB / 0.543 GB, free: 5.453 MB / 398.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006321/0.3432, allocations: 319.2 kB / 0.5433 GB, free: 5.297 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.086e-05/0.3433, allocations: 18.56 kB / 0.5433 GB, free: 5.285 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.3433, allocations: 2.688 kB / 0.5433 GB, free: 5.285 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.828e-05/0.3433, allocations: 4.5 kB / 0.5433 GB, free: 5.285 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004828/0.3438, allocations: 117.7 kB / 0.5434 GB, free: 5.254 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001293/0.3451, allocations: 2.364 MB / 0.5458 GB, free: 2.859 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001872/0.3453, allocations: 34.55 kB / 0.5458 GB, free: 2.836 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.72e-05/0.3453, allocations: 24 kB / 0.5458 GB, free: 2.824 MB / 398.1 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 (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002078/0.3455, allocations: 181.2 kB / 0.546 GB, free: 2.668 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.86e-05/0.3456, allocations: 10.19 kB / 0.546 GB, free: 2.664 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007576/0.3464, allocations: 369 kB / 0.5463 GB, free: 2.426 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.3464, allocations: 0 / 0.5463 GB, free: 2.426 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.3464, allocations: 4 kB / 0.5464 GB, free: 2.422 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.169e-05/0.3464, allocations: 92.86 kB / 0.5464 GB, free: 2.312 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.278e-05/0.3465, allocations: 7.938 kB / 0.5464 GB, free: 2.305 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001415/0.3466, allocations: 11.98 kB / 0.5465 GB, free: 2.293 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.414e-05/0.3467, allocations: 31.97 kB / 0.5465 GB, free: 2.262 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009289/0.3476, allocations: 448.2 kB / 0.5469 GB, free: 1.805 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008387/0.3485, allocations: 0.5899 MB / 0.5475 GB, free: 1.199 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002128/0.3487, allocations: 108 kB / 0.5476 GB, free: 1.094 MB / 398.1 MB Notification: Performance of sorting global known variables: time 6.788e-05/0.3488, allocations: 103.3 kB / 0.5477 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of Backend: time 5.41e-07/0.3488, allocations: 0 / 0.5477 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001435/0.3502, allocations: 414.7 kB / 0.5481 GB, free: 0.582 MB / 398.1 MB Notification: Performance of SimCode: time 0.001417/0.3517, allocations: 0.9781 MB / 0.549 GB, free: 15.56 MB / 414.1 MB Notification: Performance of Templates: time 0.01015/0.3618, allocations: 5.299 MB / 0.5542 GB, free: 10.29 MB / 414.1 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/jenkins1/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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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