Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001321/0.001321, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.0009985/0.0009985, allocations: 165.6 kB / 24.99 MB, free: 8.305 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 1.078/1.078, allocations: 177.1 MB / 205.3 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2709/0.2709, allocations: 32.8 MB / 294.6 MB, free: 1.281 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 376 MB, free: 4.984 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.504e-05/2.666e-05, allocations: 12.02 kB / 376 MB, free: 4.973 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW): time 0.002568/0.002595, allocations: 1.892 MB / 377.9 MB, free: 3.062 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002117/0.004712, allocations: 1.648 MB / 379.6 MB, free: 1.41 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001623/0.004874, allocations: 4 kB / 379.6 MB, free: 1.406 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003504/0.005224, allocations: 47.64 kB / 379.6 MB, free: 1.359 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003842/0.005609, allocations: 79.5 kB / 379.7 MB, free: 1.281 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001014/0.006623, allocations: 414.4 kB / 380.1 MB, free: 0.875 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000275/0.006898, allocations: 254.6 kB / 380.3 MB, free: 0.625 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.391e-05/0.006952, allocations: 12.59 kB / 380.4 MB, free: 0.6133 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002546/0.007207, allocations: 143.5 kB / 380.5 MB, free: 484 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000129/0.007336, allocations: 103.6 kB / 380.6 MB, free: 380 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.04e-05/0.007356, allocations: 8 kB / 380.6 MB, free: 372 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000478/0.007834, allocations: 327.2 kB / 380.9 MB, free: 44 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001132/0.007947, allocations: 83.69 kB / 381 MB, free: 15.96 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 7.776e-05/0.008025, allocations: 67.72 kB / 381.1 MB, free: 15.89 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006195/0.008645, allocations: 0.506 MB / 381.6 MB, free: 15.38 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.008648, allocations: 0 / 381.6 MB, free: 15.38 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.00865, allocations: 0 / 381.6 MB, free: 15.38 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.771e-06/0.008656, allocations: 4 kB / 381.6 MB, free: 15.38 MB / 362.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.0007308/0.009386, allocations: 0.6554 MB / 382.2 MB, free: 14.69 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.843e-05/0.009425, allocations: 12.03 kB / 382.3 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.601e-05/0.009511, allocations: 56.64 kB / 382.3 MB, free: 14.62 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002072/0.009718, allocations: 180.2 kB / 382.5 MB, free: 14.42 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.161e-05/0.00974, allocations: 28.77 kB / 382.5 MB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.848e-05/0.009768, allocations: 24 kB / 382.5 MB, free: 14.36 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003811/0.01015, allocations: 292.7 kB / 382.8 MB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.01016, allocations: 0 / 382.8 MB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.279e-05/0.01018, allocations: 11.98 kB / 382.8 MB, free: 14.06 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.849e-05/0.01024, allocations: 52.97 kB / 382.9 MB, free: 14 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002754/0.01052, allocations: 249.8 kB / 383.1 MB, free: 13.76 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001105/0.01162, allocations: 0.9464 MB / 384.1 MB, free: 12.76 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003367/0.01196, allocations: 183 kB / 384.3 MB, free: 12.57 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.045e-05/0.01204, allocations: 51.66 kB / 384.3 MB, free: 12.51 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.008e-05/0.01207, allocations: 4 kB / 384.3 MB, free: 12.51 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.683e-05/0.0121, allocations: 37.39 kB / 384.3 MB, free: 12.46 MB / 362.7 MB Notification: Performance of pre-optimization done (n=25): time 1.523e-06/0.0121, allocations: 0 / 384.3 MB, free: 12.46 MB / 362.7 MB Notification: Performance of matching and sorting (n=25): time 0.000353/0.01245, allocations: 206.7 kB / 384.5 MB, free: 12.25 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.489e-05/0.01248, allocations: 59.34 kB / 384.6 MB, free: 12.18 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001277/0.01261, allocations: 205.5 kB / 384.8 MB, free: 11.97 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.353e-05/0.01264, allocations: 29.7 kB / 384.8 MB, free: 11.93 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001283/0.01276, allocations: 246.9 kB / 385.1 MB, free: 11.69 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.902e-05/0.01282, allocations: 99.59 kB / 385.2 MB, free: 11.59 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.951e-05/0.0129, allocations: 75.34 kB / 385.2 MB, free: 11.51 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001341/0.01304, allocations: 0.4962 MB / 385.7 MB, free: 11 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.159e-05/0.01312, allocations: 43.83 kB / 385.8 MB, free: 10.96 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001257/0.01324, allocations: 169.6 kB / 386 MB, free: 10.74 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002123/0.01346, allocations: 216.3 kB / 386.2 MB, free: 10.48 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.01346, allocations: 0 / 386.2 MB, free: 10.48 MB / 362.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0002921/0.01375, allocations: 241.5 kB / 386.4 MB, free: 10.24 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.01377, allocations: 12.03 kB / 386.4 MB, free: 10.23 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-06/0.01377, allocations: 4 kB / 386.4 MB, free: 10.22 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.01379, allocations: 4 kB / 386.4 MB, free: 10.22 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000324/0.01411, allocations: 135.8 kB / 386.6 MB, free: 10.09 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001315/0.01543, allocations: 3.581 MB / 390.1 MB, free: 6.391 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000128/0.01556, allocations: 35.77 kB / 390.2 MB, free: 6.355 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.855e-05/0.01558, allocations: 16 kB / 390.2 MB, free: 6.34 MB / 362.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 0.0001103/0.01569, allocations: 172.5 kB / 390.4 MB, free: 6.16 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.547e-05/0.01572, allocations: 23.91 kB / 390.4 MB, free: 6.137 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003607/0.01608, allocations: 263.2 kB / 390.6 MB, free: 5.875 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.01609, allocations: 4 kB / 390.6 MB, free: 5.871 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.01609, allocations: 0 / 390.6 MB, free: 5.871 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.0161, allocations: 3.984 kB / 390.6 MB, free: 5.867 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002194/0.01631, allocations: 260.3 kB / 390.9 MB, free: 5.578 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.01632, allocations: 7.938 kB / 390.9 MB, free: 5.57 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002417/0.01656, allocations: 107.9 kB / 391 MB, free: 5.465 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-06/0.01656, allocations: 4 kB / 391 MB, free: 5.461 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.57e-05/0.01658, allocations: 12 kB / 391 MB, free: 5.449 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009483/0.01753, allocations: 3.577 MB / 394.6 MB, free: 1.758 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.01753, allocations: 7.938 kB / 394.6 MB, free: 1.75 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002616/0.01779, allocations: 335.8 kB / 394.9 MB, free: 1.402 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.222e-05/0.01781, allocations: 19.84 kB / 395 MB, free: 1.383 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.393e-05/0.01784, allocations: 11.92 kB / 395 MB, free: 1.371 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.586e-05/0.0179, allocations: 8 kB / 395 MB, free: 1.363 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.744e-05/0.01796, allocations: 27.89 kB / 395 MB, free: 1.336 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.311e-05/0.01797, allocations: 12 kB / 395 MB, free: 1.324 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.888e-05/0.01802, allocations: 139.2 kB / 395.1 MB, free: 1.188 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01802, allocations: 96 / 395.1 MB, free: 1.188 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000418/0.01844, allocations: 179.2 kB / 395.3 MB, free: 1.012 MB / 362.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.0003609/0.0188, allocations: 242.4 kB / 395.6 MB, free: 0.7656 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003471/0.01915, allocations: 212 kB / 395.8 MB, free: 0.5547 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.01915, allocations: 4 kB / 395.8 MB, free: 0.5508 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001748/0.01933, allocations: 140 kB / 395.9 MB, free: 420 kB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002325/0.01956, allocations: 27.92 kB / 395.9 MB, free: 392 kB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001058/0.02062, allocations: 0.5375 MB / 396.5 MB, free: 15.82 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.694e-05/0.02068, allocations: 108.3 kB / 396.6 MB, free: 15.7 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001655/0.02085, allocations: 93.7 kB / 396.7 MB, free: 15.6 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.408e-05/0.0209, allocations: 28.5 kB / 396.7 MB, free: 15.57 MB / 378.7 MB Notification: Performance of SimCode: time 5.71e-07/0.0209, allocations: 0 / 396.7 MB, free: 15.57 MB / 378.7 MB Notification: Performance of Templates: time 0.007064/0.02797, allocations: 4.546 MB / 401.2 MB, free: 11.08 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.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.0.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.779285104945302]