Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001564/0.001564, allocations: 113.1 kB / 21.86 MB, free: 76 kB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001489/0.001489, allocations: 215.6 kB / 25.14 MB, free: 3.586 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.532/1.532, allocations: 230.2 MB / 258.5 MB, free: 8.27 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.248/0.248, allocations: 46.89 MB / 361.8 MB, free: 4.496 MB / 286.1 MB
"
[Timeout remaining time 180]
Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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=5050,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.1.0-beta.om_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=5050,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.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW") [Timeout 660]
"Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions.
Notification: Performance of FrontEnd - loaded program: time 0.002446/0.002446, allocations: 83.86 kB / 0.4974 GB, free: 7.695 MB / 366.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3611/0.3636, allocations: 66.02 MB / 0.5619 GB, free: 4.641 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW): time 0.003326/0.3669, allocations: 1.847 MB / 0.5637 GB, free: 2.781 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.002706/0.3696, allocations: 1.727 MB / 0.5654 GB, free: 1.051 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 6.329e-05/0.3697, allocations: 3.938 kB / 0.5654 GB, free: 1.047 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0002357/0.3699, allocations: 51.69 kB / 0.5655 GB, free: 0.9961 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0003118/0.3702, allocations: 75.64 kB / 0.5655 GB, free: 0.9219 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0008306/0.371, allocations: 414.1 kB / 0.5659 GB, free: 0.5195 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0003154/0.3714, allocations: 242.7 kB / 0.5662 GB, free: 288 kB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 7.104e-05/0.3714, allocations: 16.59 kB / 0.5662 GB, free: 268 kB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0002149/0.3716, allocations: 103.5 kB / 0.5663 GB, free: 164 kB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0002016/0.3718, allocations: 127.4 kB / 0.5664 GB, free: 36 kB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 2.237e-05/0.3719, allocations: 8 kB / 0.5664 GB, free: 28 kB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0006345/0.3725, allocations: 343.3 kB / 0.5667 GB, free: 15.69 MB / 414.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0001072/0.3726, allocations: 67.67 kB / 0.5668 GB, free: 15.62 MB / 414.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0001201/0.3727, allocations: 111.2 kB / 0.5669 GB, free: 15.52 MB / 414.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0007891/0.3735, allocations: 0.5277 MB / 0.5674 GB, free: 14.99 MB / 414.1 MB
Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.3735, allocations: 0 / 0.5674 GB, free: 14.99 MB / 414.1 MB
Notification: Performance of FrontEnd: time 1.353e-06/0.3735, allocations: 0 / 0.5674 GB, free: 14.99 MB / 414.1 MB
Notification: Performance of Transformations before backend: time 1.074e-05/0.3735, allocations: 0 / 0.5674 GB, free: 14.99 MB / 414.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.001123/0.3747, allocations: 0.5593 MB / 0.568 GB, free: 14.4 MB / 414.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.948e-05/0.3747, allocations: 12.03 kB / 0.568 GB, free: 14.39 MB / 414.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 7.745e-05/0.3748, allocations: 36.69 kB / 0.568 GB, free: 14.36 MB / 414.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003058/0.3751, allocations: 181.5 kB / 0.5682 GB, free: 14.15 MB / 414.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.768e-05/0.3751, allocations: 20.66 kB / 0.5682 GB, free: 14.13 MB / 414.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 4.654e-05/0.3752, allocations: 24 kB / 0.5682 GB, free: 14.11 MB / 414.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.00085/0.376, allocations: 479.8 kB / 0.5687 GB, free: 13.64 MB / 414.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.412e-05/0.376, allocations: 0 / 0.5687 GB, free: 13.64 MB / 414.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.494e-05/0.3761, allocations: 12 kB / 0.5687 GB, free: 13.62 MB / 414.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.975e-05/0.3761, allocations: 48.95 kB / 0.5687 GB, free: 13.58 MB / 414.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009867/0.3771, allocations: 0.5465 MB / 0.5693 GB, free: 13.03 MB / 414.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002196/0.3793, allocations: 1.272 MB / 0.5705 GB, free: 11.64 MB / 414.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.000584/0.3799, allocations: 259.3 kB / 0.5708 GB, free: 11.38 MB / 414.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0002163/0.3801, allocations: 88.8 kB / 0.5708 GB, free: 11.29 MB / 414.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 4.863e-05/0.3802, allocations: 12.36 kB / 0.5709 GB, free: 11.28 MB / 414.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.86e-05/0.3802, allocations: 42.5 kB / 0.5709 GB, free: 11.23 MB / 414.1 MB
Notification: Performance of pre-optimization done (n=25): time 1.613e-06/0.3802, allocations: 0 / 0.5709 GB, free: 11.23 MB / 414.1 MB
Notification: Performance of matching and sorting (n=25): time 0.0008081/0.381, allocations: 333.2 kB / 0.5712 GB, free: 10.89 MB / 414.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 3.859e-05/0.381, allocations: 59.34 kB / 0.5713 GB, free: 10.82 MB / 414.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001587/0.3812, allocations: 138 kB / 0.5714 GB, free: 10.68 MB / 414.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.847e-05/0.3812, allocations: 33.7 kB / 0.5714 GB, free: 10.64 MB / 414.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0001302/0.3814, allocations: 196.3 kB / 0.5716 GB, free: 10.44 MB / 414.1 MB
Notification: Performance of collectInitialBindings (initialization): time 7.681e-05/0.3814, allocations: 91.22 kB / 0.5717 GB, free: 10.35 MB / 414.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001071/0.3815, allocations: 73.69 kB / 0.5718 GB, free: 10.27 MB / 414.1 MB
Notification: Performance of setup shared object (initialization): time 0.0002192/0.3818, allocations: 322.8 kB / 0.5721 GB, free: 9.949 MB / 414.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002127/0.382, allocations: 91.86 kB / 0.5722 GB, free: 9.859 MB / 414.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002816/0.3823, allocations: 175 kB / 0.5723 GB, free: 9.652 MB / 414.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0005869/0.3828, allocations: 286 kB / 0.5726 GB, free: 9.336 MB / 414.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.3828, allocations: 0 / 0.5726 GB, free: 9.336 MB / 414.1 MB
Notification: Performance of matching and sorting (n=36) (initialization): time 0.000639/0.3835, allocations: 329.9 kB / 0.5729 GB, free: 9.008 MB / 414.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/0.3835, allocations: 7.938 kB / 0.5729 GB, free: 9 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/0.3835, allocations: 4 kB / 0.5729 GB, free: 8.996 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.782e-05/0.3835, allocations: 4 kB / 0.5729 GB, free: 8.992 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005148/0.384, allocations: 120.2 kB / 0.5731 GB, free: 8.875 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001613/0.3857, allocations: 2.368 MB / 0.5754 GB, free: 6.414 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001853/0.3858, allocations: 31.77 kB / 0.5754 GB, free: 6.383 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.475e-05/0.3859, allocations: 23.92 kB / 0.5754 GB, free: 6.359 MB / 414.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.0002047/0.3861, allocations: 165.7 kB / 0.5756 GB, free: 6.188 MB / 414.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 4.983e-05/0.3861, allocations: 16.09 kB / 0.5756 GB, free: 6.172 MB / 414.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008582/0.387, allocations: 370.2 kB / 0.576 GB, free: 5.805 MB / 414.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.123e-06/0.387, allocations: 7.984 kB / 0.576 GB, free: 5.797 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.387, allocations: 0 / 0.576 GB, free: 5.797 MB / 414.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 2.416e-05/0.387, allocations: 15.84 kB / 0.576 GB, free: 5.781 MB / 414.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.091e-05/0.387, allocations: 7.938 kB / 0.576 GB, free: 5.773 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001557/0.3872, allocations: 15.98 kB / 0.576 GB, free: 5.758 MB / 414.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 7.469e-05/0.3873, allocations: 23.97 kB / 0.576 GB, free: 5.734 MB / 414.1 MB
Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001064/0.3883, allocations: 464 kB / 0.5765 GB, free: 5.262 MB / 414.1 MB
Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009507/0.3893, allocations: 0.5815 MB / 0.577 GB, free: 4.664 MB / 414.1 MB
Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002437/0.3895, allocations: 104 kB / 0.5771 GB, free: 4.562 MB / 414.1 MB
Notification: Performance of sorting global known variables: time 7.59e-05/0.3896, allocations: 102.1 kB / 0.5772 GB, free: 4.465 MB / 414.1 MB
Notification: Performance of Backend: time 4.71e-07/0.3896, allocations: 0 / 0.5772 GB, free: 4.465 MB / 414.1 MB
Notification: Performance of simCode: created initialization part: time 0.001331/0.3909, allocations: 421.9 kB / 0.5776 GB, free: 4.043 MB / 414.1 MB
Notification: Performance of SimCode: time 0.001328/0.3923, allocations: 0.9772 MB / 0.5786 GB, free: 3.023 MB / 414.1 MB
Notification: Performance of Templates: time 0.01115/0.4034, allocations: 5.464 MB / 0.5839 GB, free: 13.59 MB / 430.1 MB
"
[Timeout remaining time 660]
make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.makefile [Timeout 660]
(rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/StraightPipe/dp_turbulent_DPMFLOW/dp_turbulent_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660]
""
[Timeout remaining time 660]
Reference file matches
[Calling sys.exit(0), Time elapsed: 5.8440693160519]