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.001012/0.001012, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001676/0.001676, allocations: 165 kB / 24.56 MB, free: 16 kB / 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.9827/0.9827, allocations: 177.1 MB / 205 MB, free: 5.289 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.2969/0.2969, allocations: 34.26 MB / 295.7 MB, free: 0.7188 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.723e-06/1.723e-06, allocations: 0 / 378.1 MB, free: 2.641 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.584e-05/1.756e-05, allocations: 2.312 kB / 378.1 MB, free: 2.637 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW): time 0.002157/0.002174, allocations: 1.891 MB / 380 MB, free: 0.7305 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001864/0.004038, allocations: 1.659 MB / 381.6 MB, free: 15.07 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.772e-05/0.004115, allocations: 4 kB / 381.6 MB, free: 15.06 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002474/0.004363, allocations: 43.7 kB / 381.7 MB, free: 15.02 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002823/0.004645, allocations: 83.44 kB / 381.8 MB, free: 14.94 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007422/0.005387, allocations: 414.4 kB / 382.2 MB, free: 14.53 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002436/0.005631, allocations: 258.6 kB / 382.4 MB, free: 14.28 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.348e-05/0.005674, allocations: 8.594 kB / 382.4 MB, free: 14.27 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002111/0.005886, allocations: 135.5 kB / 382.5 MB, free: 14.14 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001328/0.006018, allocations: 111.6 kB / 382.7 MB, free: 14.03 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.031e-05/0.006039, allocations: 8 kB / 382.7 MB, free: 14.02 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004506/0.006489, allocations: 323.2 kB / 383 MB, free: 13.7 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001145/0.006604, allocations: 87.62 kB / 383.1 MB, free: 13.62 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 8.922e-05/0.006693, allocations: 67.72 kB / 383.1 MB, free: 13.55 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006967/0.00739, allocations: 0.5098 MB / 383.6 MB, free: 13.04 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.274e-06/0.007392, allocations: 0 / 383.6 MB, free: 13.04 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.71e-07/0.007393, allocations: 0 / 383.6 MB, free: 13.04 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.037e-06/0.007397, allocations: 0 / 383.6 MB, free: 13.04 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.000782/0.008179, allocations: 0.6592 MB / 384.3 MB, free: 12.34 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.008218, allocations: 8.031 kB / 384.3 MB, free: 12.34 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.599e-05/0.008314, allocations: 56.7 kB / 384.4 MB, free: 12.28 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002139/0.008527, allocations: 188.1 kB / 384.5 MB, free: 12.07 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.525e-05/0.008553, allocations: 24.77 kB / 384.6 MB, free: 12.04 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.427e-05/0.008587, allocations: 24 kB / 384.6 MB, free: 12.02 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004283/0.009015, allocations: 288.8 kB / 384.9 MB, free: 11.73 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.009026, allocations: 0 / 384.9 MB, free: 11.73 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.699e-05/0.009053, allocations: 15.97 kB / 384.9 MB, free: 11.71 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.469e-05/0.009118, allocations: 48.95 kB / 384.9 MB, free: 11.66 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003498/0.009468, allocations: 249.8 kB / 385.2 MB, free: 11.42 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001265/0.01073, allocations: 0.9504 MB / 386.1 MB, free: 10.41 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003406/0.01107, allocations: 177.3 kB / 386.3 MB, free: 10.23 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.551e-05/0.01116, allocations: 51.66 kB / 386.4 MB, free: 10.17 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.882e-05/0.01119, allocations: 8 kB / 386.4 MB, free: 10.16 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.728e-05/0.01121, allocations: 37.39 kB / 386.4 MB, free: 10.12 MB / 362.7 MB Notification: Performance of pre-optimization done (n=25): time 1.603e-06/0.01122, allocations: 4 kB / 386.4 MB, free: 10.11 MB / 362.7 MB Notification: Performance of matching and sorting (n=25): time 0.0004034/0.01162, allocations: 202.7 kB / 386.6 MB, free: 9.91 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.059e-05/0.01166, allocations: 63.28 kB / 386.7 MB, free: 9.836 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001226/0.01178, allocations: 201.9 kB / 386.9 MB, free: 9.621 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.174e-05/0.0118, allocations: 33.7 kB / 386.9 MB, free: 9.582 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001122/0.01192, allocations: 242.9 kB / 387.1 MB, free: 9.34 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.359e-05/0.01198, allocations: 99.59 kB / 387.2 MB, free: 9.242 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.719e-05/0.01207, allocations: 71.36 kB / 387.3 MB, free: 9.164 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001428/0.01221, allocations: 0.5001 MB / 387.8 MB, free: 8.652 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.725e-05/0.01229, allocations: 39.84 kB / 387.8 MB, free: 8.613 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001444/0.01243, allocations: 161.7 kB / 388 MB, free: 8.406 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002439/0.01268, allocations: 224.2 kB / 388.2 MB, free: 8.137 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.01268, allocations: 4 kB / 388.2 MB, free: 8.133 MB / 362.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.00033/0.01301, allocations: 233.2 kB / 388.4 MB, free: 7.898 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.01302, allocations: 8 kB / 388.5 MB, free: 7.891 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.01303, allocations: 4 kB / 388.5 MB, free: 7.887 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.01304, allocations: 4 kB / 388.5 MB, free: 7.883 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007193/0.01376, allocations: 140.1 kB / 388.6 MB, free: 7.746 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001252/0.01501, allocations: 3.585 MB / 392.2 MB, free: 4.047 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001167/0.01513, allocations: 31.77 kB / 392.2 MB, free: 4.016 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.307e-05/0.01515, allocations: 16.25 kB / 392.2 MB, free: 4 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.0001149/0.01527, allocations: 180.5 kB / 392.4 MB, free: 3.812 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.922e-05/0.01532, allocations: 23.91 kB / 392.4 MB, free: 3.789 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004643/0.01578, allocations: 263.1 kB / 392.7 MB, free: 3.527 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-06/0.01579, allocations: 4 kB / 392.7 MB, free: 3.523 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.01579, allocations: 0 / 392.7 MB, free: 3.523 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.091e-06/0.0158, allocations: 3.984 kB / 392.7 MB, free: 3.52 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002607/0.01606, allocations: 248.4 kB / 392.9 MB, free: 3.242 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.01606, allocations: 7.984 kB / 392.9 MB, free: 3.234 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003188/0.01638, allocations: 115.9 kB / 393.1 MB, free: 3.121 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.01639, allocations: 8 kB / 393.1 MB, free: 3.113 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.726e-05/0.0164, allocations: 8 kB / 393.1 MB, free: 3.105 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001166/0.01757, allocations: 3.581 MB / 396.7 MB, free: 15.41 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.01757, allocations: 3.938 kB / 396.7 MB, free: 15.41 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003237/0.0179, allocations: 339.7 kB / 397 MB, free: 15.05 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.791e-05/0.01791, allocations: 24.09 kB / 397 MB, free: 15.03 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.465e-05/0.01794, allocations: 4 kB / 397 MB, free: 15.03 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.844e-05/0.01803, allocations: 11.98 kB / 397 MB, free: 15.02 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.418e-05/0.01809, allocations: 23.91 kB / 397.1 MB, free: 14.99 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.756e-05/0.01811, allocations: 11.98 kB / 397.1 MB, free: 14.98 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.124e-05/0.01817, allocations: 150.3 kB / 397.2 MB, free: 14.84 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01817, allocations: 0 / 397.2 MB, free: 14.84 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004724/0.01864, allocations: 175.2 kB / 397.4 MB, free: 14.66 MB / 378.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.0003474/0.01899, allocations: 238.5 kB / 397.6 MB, free: 14.42 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004179/0.01941, allocations: 212.5 kB / 397.8 MB, free: 14.21 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.01941, allocations: 4.125 kB / 397.8 MB, free: 14.21 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002283/0.01964, allocations: 144 kB / 398 MB, free: 14.06 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002622/0.0199, allocations: 20.55 kB / 398 MB, free: 14.04 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001003/0.0209, allocations: 0.5357 MB / 398.5 MB, free: 13.48 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.757e-05/0.02098, allocations: 112.3 kB / 398.6 MB, free: 13.35 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001988/0.02118, allocations: 89.73 kB / 398.7 MB, free: 13.26 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.9e-05/0.02125, allocations: 32.42 kB / 398.8 MB, free: 13.23 MB / 378.7 MB Notification: Performance of SimCode: time 7.62e-07/0.02125, allocations: 0 / 398.8 MB, free: 13.23 MB / 378.7 MB Notification: Performance of Templates: time 0.008702/0.02995, allocations: 5.312 MB / 404.1 MB, free: 7.973 MB / 378.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 -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.323450732976198]