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.00168/0.00168, allocations: 109.1 kB / 21.86 MB, free: 72 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.002128/0.002128, allocations: 216.4 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.449/1.449, allocations: 230.4 MB / 258.7 MB, free: 8.074 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.229/0.229, allocations: 46.93 MB / 362.1 MB, free: 4.238 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.00238/0.00238, allocations: 83.86 kB / 0.4978 GB, free: 7.371 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3308/0.3331, allocations: 66.07 MB / 0.5624 GB, free: 4.281 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW): time 0.003265/0.3364, allocations: 1.862 MB / 0.5642 GB, free: 2.41 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002683/0.3391, allocations: 1.715 MB / 0.5659 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.392e-05/0.3392, allocations: 0 / 0.5659 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002293/0.3394, allocations: 51.73 kB / 0.5659 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003319/0.3397, allocations: 83.58 kB / 0.566 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000855/0.3406, allocations: 418.5 kB / 0.5664 GB, free: 152 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003071/0.3409, allocations: 234.8 kB / 0.5666 GB, free: 15.92 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.483e-05/0.3409, allocations: 8.594 kB / 0.5666 GB, free: 15.91 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002129/0.3411, allocations: 115.4 kB / 0.5667 GB, free: 15.79 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001855/0.3413, allocations: 127.4 kB / 0.5668 GB, free: 15.67 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.508e-05/0.3414, allocations: 8 kB / 0.5669 GB, free: 15.66 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006159/0.342, allocations: 335.3 kB / 0.5672 GB, free: 15.33 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.386e-05/0.3421, allocations: 67.69 kB / 0.5672 GB, free: 15.27 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001271/0.3422, allocations: 123.1 kB / 0.5674 GB, free: 15.14 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007572/0.343, allocations: 0.5276 MB / 0.5679 GB, free: 14.62 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.85e-06/0.343, allocations: 4 kB / 0.5679 GB, free: 14.62 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.343, allocations: 0 / 0.5679 GB, free: 14.62 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.282e-06/0.343, allocations: 0 / 0.5679 GB, free: 14.62 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.0009623/0.3439, allocations: 0.5515 MB / 0.5684 GB, free: 14.04 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.888e-05/0.344, allocations: 8.031 kB / 0.5684 GB, free: 14.03 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.64e-05/0.344, allocations: 44.62 kB / 0.5685 GB, free: 13.98 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002914/0.3443, allocations: 181.6 kB / 0.5686 GB, free: 13.78 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.448e-05/0.3444, allocations: 24.58 kB / 0.5687 GB, free: 13.76 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.502e-05/0.3444, allocations: 28 kB / 0.5687 GB, free: 13.73 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007588/0.3452, allocations: 463.9 kB / 0.5691 GB, free: 13.27 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.3452, allocations: 0 / 0.5691 GB, free: 13.27 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.578e-05/0.3452, allocations: 15.98 kB / 0.5691 GB, free: 13.26 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-05/0.3453, allocations: 48.95 kB / 0.5692 GB, free: 13.21 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008804/0.3462, allocations: 0.5504 MB / 0.5697 GB, free: 12.66 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002002/0.3482, allocations: 1.272 MB / 0.571 GB, free: 11.27 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005247/0.3487, allocations: 259.4 kB / 0.5712 GB, free: 11.01 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001944/0.3489, allocations: 84.8 kB / 0.5713 GB, free: 10.92 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.309e-05/0.3489, allocations: 16.31 kB / 0.5713 GB, free: 10.91 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.525e-05/0.3489, allocations: 38.5 kB / 0.5714 GB, free: 10.86 MB / 414.1 MB Notification: Performance of pre-optimization done (n=25): time 1.572e-06/0.349, allocations: 0 / 0.5714 GB, free: 10.86 MB / 414.1 MB Notification: Performance of matching and sorting (n=25): time 0.0007646/0.3497, allocations: 333.2 kB / 0.5717 GB, free: 10.53 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.74e-05/0.3498, allocations: 55.41 kB / 0.5717 GB, free: 10.46 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001412/0.3499, allocations: 142 kB / 0.5719 GB, free: 10.31 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.728e-05/0.3499, allocations: 29.7 kB / 0.5719 GB, free: 10.27 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001407/0.3501, allocations: 208.2 kB / 0.5721 GB, free: 10.07 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.461e-05/0.3501, allocations: 91.22 kB / 0.5722 GB, free: 9.977 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001032/0.3502, allocations: 65.69 kB / 0.5722 GB, free: 9.906 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001533/0.3504, allocations: 322.8 kB / 0.5725 GB, free: 9.582 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002041/0.3506, allocations: 91.92 kB / 0.5726 GB, free: 9.492 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002862/0.3509, allocations: 179 kB / 0.5728 GB, free: 9.281 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005137/0.3514, allocations: 290 kB / 0.5731 GB, free: 8.961 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.3514, allocations: 0 / 0.5731 GB, free: 8.961 MB / 414.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005887/0.352, allocations: 325.9 kB / 0.5734 GB, free: 8.637 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.352, allocations: 7.938 kB / 0.5734 GB, free: 8.629 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.012e-06/0.352, allocations: 4.344 kB / 0.5734 GB, free: 8.625 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.761e-05/0.352, allocations: 8 kB / 0.5734 GB, free: 8.617 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004791/0.3525, allocations: 119.9 kB / 0.5735 GB, free: 8.5 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001401/0.3539, allocations: 2.36 MB / 0.5758 GB, free: 6.047 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000167/0.3541, allocations: 35.77 kB / 0.5759 GB, free: 6.012 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.037e-05/0.3541, allocations: 23.88 kB / 0.5759 GB, free: 5.988 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.0001899/0.3543, allocations: 173.9 kB / 0.5761 GB, free: 5.809 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.769e-05/0.3543, allocations: 15.91 kB / 0.5761 GB, free: 5.793 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009625/0.3553, allocations: 366.2 kB / 0.5764 GB, free: 5.43 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.111e-05/0.3553, allocations: 3.984 kB / 0.5764 GB, free: 5.426 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.01e-06/0.3553, allocations: 4 kB / 0.5764 GB, free: 5.422 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.916e-05/0.3554, allocations: 19.78 kB / 0.5764 GB, free: 5.402 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.597e-05/0.3554, allocations: 11.94 kB / 0.5765 GB, free: 5.391 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001481/0.3555, allocations: 11.98 kB / 0.5765 GB, free: 5.379 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.217e-05/0.3556, allocations: 19.97 kB / 0.5765 GB, free: 5.359 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009307/0.3565, allocations: 464.1 kB / 0.5769 GB, free: 4.887 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008505/0.3574, allocations: 0.5892 MB / 0.5775 GB, free: 4.281 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002178/0.3576, allocations: 104 kB / 0.5776 GB, free: 4.18 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.709e-05/0.3577, allocations: 99.25 kB / 0.5777 GB, free: 4.082 MB / 414.1 MB Notification: Performance of Backend: time 4.31e-07/0.3577, allocations: 0 / 0.5777 GB, free: 4.082 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001224/0.3589, allocations: 410.1 kB / 0.5781 GB, free: 3.672 MB / 414.1 MB Notification: Performance of SimCode: time 0.001285/0.3602, allocations: 0.9802 MB / 0.579 GB, free: 2.652 MB / 414.1 MB Notification: Performance of Templates: time 0.01081/0.371, allocations: 5.472 MB / 0.5844 GB, free: 13.21 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.5344096990302205]