Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008829/0.0008829, allocations: 80.92 kB / 21.5 MB, free: 2.992 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009094/0.0009094, allocations: 170.3 kB / 24.92 MB, free: 9.18 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9913/0.9913, allocations: 177.1 MB / 205.3 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.3338/0.3338, allocations: 34.26 MB / 296.1 MB, free: 0.7461 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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.[0-9,]+.|L|eta|rho|input_mdot.[0-9,]+.|input_dp.[0-9,]+.|M_FLOW.[0-9,]+.|DP.[0-9,]+.|velocity.[0-9,]+.|Re.[0-9,]+.|DP_plot.[0-9,]+.|zeta_TOT.[0-9,]+.|lambda_FRI.[0-9,]+.|input_DP.y",fileNamePrefix="ModelicaTest_4.1.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=5050,variableFilter="time|MIN|A_cross|roughness|d_hyd|K.[0-9,]+.|L|eta|rho|input_mdot.[0-9,]+.|input_dp.[0-9,]+.|M_FLOW.[0-9,]+.|DP.[0-9,]+.|velocity.[0-9,]+.|Re.[0-9,]+.|DP_plot.[0-9,]+.|zeta_TOT.[0-9,]+.|lambda_FRI.[0-9,]+.|input_DP.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.462e-06/1.462e-06, allocations: 0 / 325.3 MB, free: 7.633 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.55e-05/2.696e-05, allocations: 2.312 kB / 325.3 MB, free: 7.629 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW): time 0.002812/0.002839, allocations: 1.937 MB / 327.3 MB, free: 5.676 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001858/0.004697, allocations: 1.656 MB / 328.9 MB, free: 4.016 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.345e-05/0.004781, allocations: 4 kB / 328.9 MB, free: 4.012 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002854/0.005066, allocations: 51.62 kB / 329 MB, free: 3.961 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002628/0.005329, allocations: 79.5 kB / 329 MB, free: 3.883 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007725/0.006101, allocations: 406.5 kB / 329.4 MB, free: 3.484 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002507/0.006352, allocations: 251 kB / 329.7 MB, free: 3.238 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.196e-05/0.006404, allocations: 18.55 kB / 329.7 MB, free: 3.223 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002281/0.006632, allocations: 131.5 kB / 329.8 MB, free: 3.094 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00013/0.006762, allocations: 111.6 kB / 329.9 MB, free: 2.984 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.764e-05/0.00678, allocations: 8 kB / 329.9 MB, free: 2.977 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005119/0.007292, allocations: 339 kB / 330.3 MB, free: 2.645 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001022/0.007394, allocations: 75.69 kB / 330.4 MB, free: 2.57 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.604e-05/0.00747, allocations: 75.66 kB / 330.4 MB, free: 2.496 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006472/0.008117, allocations: 0.5021 MB / 330.9 MB, free: 1.992 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.008121, allocations: 0 / 330.9 MB, free: 1.992 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.008122, allocations: 8 kB / 330.9 MB, free: 1.984 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.132e-06/0.008128, allocations: 0 / 330.9 MB, free: 1.984 MB / 298.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.0006627/0.008791, allocations: 0.5125 MB / 331.4 MB, free: 1.445 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.797e-05/0.008829, allocations: 11.97 kB / 331.5 MB, free: 1.434 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.705e-05/0.008896, allocations: 44.89 kB / 331.5 MB, free: 1.391 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001767/0.009073, allocations: 153.4 kB / 331.7 MB, free: 1.215 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.632e-05/0.009089, allocations: 24.78 kB / 331.7 MB, free: 1.191 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.781e-05/0.009117, allocations: 23.98 kB / 331.7 MB, free: 1.168 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003033/0.00942, allocations: 279.6 kB / 332 MB, free: 0.8828 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.387e-06/0.00943, allocations: 3.938 kB / 332 MB, free: 0.8789 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.734e-05/0.009447, allocations: 16 kB / 332 MB, free: 0.8633 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.808e-05/0.009495, allocations: 44.97 kB / 332 MB, free: 0.8164 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001601/0.009655, allocations: 174.8 kB / 332.2 MB, free: 0.6484 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000887/0.01054, allocations: 0.7825 MB / 333 MB, free: 15.83 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002007/0.01074, allocations: 147.5 kB / 333.1 MB, free: 15.68 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.088e-05/0.01078, allocations: 32.84 kB / 333.2 MB, free: 15.64 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.585e-05/0.01081, allocations: 8 kB / 333.2 MB, free: 15.64 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.482e-05/0.01083, allocations: 42.5 kB / 333.2 MB, free: 15.59 MB / 314.7 MB Notification: Performance of pre-optimization done (n=25): time 1.904e-06/0.01084, allocations: 0 / 333.2 MB, free: 15.59 MB / 314.7 MB Notification: Performance of matching and sorting (n=25): time 0.0001992/0.01104, allocations: 135.5 kB / 333.3 MB, free: 15.45 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.732e-05/0.01106, allocations: 51.41 kB / 333.4 MB, free: 15.39 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003997/0.01146, allocations: 158.5 kB / 333.6 MB, free: 15.22 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.986e-05/0.01148, allocations: 25.7 kB / 333.6 MB, free: 15.19 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.834e-05/0.01156, allocations: 208.1 kB / 333.8 MB, free: 14.98 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.439e-05/0.01161, allocations: 91.2 kB / 333.9 MB, free: 14.89 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.278e-05/0.01167, allocations: 65.61 kB / 333.9 MB, free: 14.82 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8e-05/0.01175, allocations: 322.8 kB / 334.3 MB, free: 14.5 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.424e-05/0.01178, allocations: 23.98 kB / 334.3 MB, free: 14.47 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.963e-05/0.01186, allocations: 120.3 kB / 334.4 MB, free: 14.32 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001557/0.01202, allocations: 178.3 kB / 334.6 MB, free: 14.11 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.01202, allocations: 0 / 334.6 MB, free: 14.11 MB / 314.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0001795/0.0122, allocations: 173.6 kB / 334.7 MB, free: 13.93 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.01221, allocations: 7.984 kB / 334.7 MB, free: 13.93 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.01222, allocations: 7.938 kB / 334.8 MB, free: 13.92 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.136e-05/0.01223, allocations: 4 kB / 334.8 MB, free: 13.91 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003109/0.01254, allocations: 127.8 kB / 334.9 MB, free: 13.79 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007263/0.01327, allocations: 2.35 MB / 337.2 MB, free: 11.34 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.775e-05/0.01336, allocations: 27.78 kB / 337.3 MB, free: 11.31 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.558e-05/0.01337, allocations: 15.98 kB / 337.3 MB, free: 11.29 MB / 314.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 () * 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 9.331e-05/0.01346, allocations: 128.5 kB / 337.4 MB, free: 11.16 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.035e-05/0.01349, allocations: 23.92 kB / 337.4 MB, free: 11.13 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002689/0.01376, allocations: 215.8 kB / 337.6 MB, free: 10.92 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.01377, allocations: 0 / 337.6 MB, free: 10.92 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.463e-06/0.01377, allocations: 8 kB / 337.6 MB, free: 10.91 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.01377, allocations: 0 / 337.6 MB, free: 10.91 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000165/0.01394, allocations: 153.7 kB / 337.8 MB, free: 10.74 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.01394, allocations: 4 kB / 337.8 MB, free: 10.74 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002675/0.01421, allocations: 115.8 kB / 337.9 MB, free: 10.62 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.01421, allocations: 4 kB / 337.9 MB, free: 10.62 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.244e-05/0.01422, allocations: 7.938 kB / 337.9 MB, free: 10.61 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006926/0.01492, allocations: 2.357 MB / 340.3 MB, free: 8.152 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.01492, allocations: 0 / 340.3 MB, free: 8.152 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001968/0.01511, allocations: 234.2 kB / 340.5 MB, free: 7.906 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.481e-05/0.01513, allocations: 15.84 kB / 340.5 MB, free: 7.891 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.867e-05/0.01515, allocations: 8 kB / 340.5 MB, free: 7.883 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.106e-05/0.01521, allocations: 12.25 kB / 340.5 MB, free: 7.871 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.583e-05/0.01525, allocations: 19.95 kB / 340.6 MB, free: 7.852 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.074e-05/0.01527, allocations: 8 kB / 340.6 MB, free: 7.844 MB / 314.7 MB Notification: Performance of sorting global known variables: time 2.001e-05/0.01529, allocations: 20.84 kB / 340.6 MB, free: 7.82 MB / 314.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01529, allocations: 0 / 340.6 MB, free: 7.82 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006174/0.0159, allocations: 175.2 kB / 340.8 MB, free: 7.648 MB / 314.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 () * Number of clocked 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 (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 Backend phase and start with SimCode phase: time 0.0003191/0.01622, allocations: 227.6 kB / 341 MB, free: 7.418 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002702/0.01649, allocations: 177.8 kB / 341.2 MB, free: 7.242 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/0.0165, allocations: 3.938 kB / 341.2 MB, free: 7.238 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001408/0.01664, allocations: 113.2 kB / 341.3 MB, free: 7.125 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001705/0.01681, allocations: 16.77 kB / 341.3 MB, free: 7.109 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008471/0.01766, allocations: 0.5441 MB / 341.8 MB, free: 6.535 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.17e-05/0.01772, allocations: 108.3 kB / 341.9 MB, free: 6.41 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001196/0.01784, allocations: 53.8 kB / 342 MB, free: 6.352 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.627e-05/0.01792, allocations: 83.3 kB / 342.1 MB, free: 6.27 MB / 314.7 MB Notification: Performance of SimCode: time 8.51e-07/0.01792, allocations: 0 / 342.1 MB, free: 6.27 MB / 314.7 MB Notification: Performance of Templates: time 0.006933/0.02486, allocations: 5.177 MB / 347.2 MB, free: 1.156 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.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.1.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/StraightPipe/dp_turbulent_DPMFLOW/dp_turbulent_DPMFLOW.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.2678176960907876]