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.001097/0.001097, allocations: 77.97 kB / 21.42 MB, free: 3.066 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.001862/0.001862, allocations: 165.4 kB / 24.82 MB, free: 9.309 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.04/1.04, allocations: 177.1 MB / 205.3 MB, free: 5.5 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.297/0.297, allocations: 32.81 MB / 294.6 MB, free: 1.258 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.663e-06/1.663e-06, allocations: 0 / 376.5 MB, free: 4.391 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.03e-05/3.196e-05, allocations: 2.312 kB / 376.5 MB, free: 4.387 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW): time 0.002895/0.002927, allocations: 1.888 MB / 378.4 MB, free: 2.48 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002094/0.005021, allocations: 1.628 MB / 380 MB, free: 0.8477 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001016/0.005122, allocations: 4 kB / 380 MB, free: 0.8438 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002646/0.005387, allocations: 43.69 kB / 380.1 MB, free: 0.8008 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002855/0.005672, allocations: 87.44 kB / 380.2 MB, free: 0.7148 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007997/0.006472, allocations: 410.5 kB / 380.6 MB, free: 320 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002567/0.006729, allocations: 262.5 kB / 380.8 MB, free: 56 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.158e-05/0.00678, allocations: 8.594 kB / 380.8 MB, free: 48 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002452/0.007026, allocations: 135.5 kB / 381 MB, free: 15.91 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001322/0.007158, allocations: 111.6 kB / 381.1 MB, free: 15.8 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.972e-05/0.007178, allocations: 8 kB / 381.1 MB, free: 15.8 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004743/0.007652, allocations: 327.1 kB / 381.4 MB, free: 15.48 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 9.158e-05/0.007744, allocations: 75.69 kB / 381.5 MB, free: 15.4 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 6.949e-05/0.007813, allocations: 71.72 kB / 381.5 MB, free: 15.33 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000578/0.008391, allocations: 0.5137 MB / 382 MB, free: 14.82 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.943e-06/0.008393, allocations: 0 / 382 MB, free: 14.82 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.008394, allocations: 0 / 382 MB, free: 14.82 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.539e-06/0.008399, allocations: 0 / 382 MB, free: 14.82 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.0007004/0.009099, allocations: 0.6553 MB / 382.7 MB, free: 14.12 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.654e-05/0.009146, allocations: 12.03 kB / 382.7 MB, free: 14.11 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.95e-05/0.009225, allocations: 56.69 kB / 382.8 MB, free: 14.06 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001806/0.009406, allocations: 176.2 kB / 382.9 MB, free: 13.86 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.114e-05/0.009427, allocations: 24.78 kB / 383 MB, free: 13.83 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.724e-05/0.009454, allocations: 23.98 kB / 383 MB, free: 13.81 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002924/0.009747, allocations: 256.8 kB / 383.2 MB, free: 13.55 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/0.009759, allocations: 3.938 kB / 383.2 MB, free: 13.55 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.908e-05/0.009778, allocations: 12 kB / 383.3 MB, free: 13.54 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.221e-05/0.009831, allocations: 40.97 kB / 383.3 MB, free: 13.49 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001798/0.01001, allocations: 194.8 kB / 383.5 MB, free: 13.3 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009832/0.01099, allocations: 0.8962 MB / 384.4 MB, free: 12.36 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002312/0.01122, allocations: 167 kB / 384.5 MB, free: 12.18 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.887e-05/0.01128, allocations: 35.67 kB / 384.6 MB, free: 12.14 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.306e-05/0.01133, allocations: 14.88 kB / 384.6 MB, free: 12.13 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.616e-05/0.01135, allocations: 33.39 kB / 384.6 MB, free: 12.09 MB / 362.7 MB Notification: Performance of pre-optimization done (n=25): time 1.353e-06/0.01135, allocations: 4 kB / 384.6 MB, free: 12.08 MB / 362.7 MB Notification: Performance of matching and sorting (n=25): time 0.000273/0.01163, allocations: 186.7 kB / 384.8 MB, free: 11.89 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.002e-05/0.01166, allocations: 55.41 kB / 384.9 MB, free: 11.83 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001135/0.01177, allocations: 213.9 kB / 385.1 MB, free: 11.61 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.641e-05/0.01179, allocations: 29.7 kB / 385.1 MB, free: 11.57 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001003/0.01189, allocations: 250.9 kB / 385.4 MB, free: 11.32 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.775e-05/0.01194, allocations: 91.2 kB / 385.4 MB, free: 11.23 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.726e-05/0.012, allocations: 75.33 kB / 385.5 MB, free: 11.15 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001342/0.01214, allocations: 0.4962 MB / 386 MB, free: 10.64 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.359e-05/0.01218, allocations: 39.83 kB / 386.1 MB, free: 10.6 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001124/0.01229, allocations: 161.6 kB / 386.2 MB, free: 10.39 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001666/0.01246, allocations: 200.2 kB / 386.4 MB, free: 10.15 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.01246, allocations: 4 kB / 386.4 MB, free: 10.14 MB / 362.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0002256/0.01269, allocations: 221.2 kB / 386.6 MB, free: 9.922 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.0127, allocations: 8 kB / 386.6 MB, free: 9.914 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.01271, allocations: 4 kB / 386.6 MB, free: 9.91 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.01272, allocations: 4 kB / 386.6 MB, free: 9.906 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002803/0.013, allocations: 132.2 kB / 386.8 MB, free: 9.777 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001213/0.01421, allocations: 3.585 MB / 390.4 MB, free: 6.078 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.887e-05/0.01431, allocations: 39.7 kB / 390.4 MB, free: 6.039 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.665e-05/0.01433, allocations: 12.25 kB / 390.4 MB, free: 6.027 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.0001177/0.01445, allocations: 176.5 kB / 390.6 MB, free: 5.844 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.339e-05/0.01448, allocations: 23.84 kB / 390.6 MB, free: 5.82 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003196/0.0148, allocations: 259 kB / 390.9 MB, free: 5.562 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.09e-06/0.01481, allocations: 4 kB / 390.9 MB, free: 5.559 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.575e-06/0.01481, allocations: 0 / 390.9 MB, free: 5.559 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.01481, allocations: 3.984 kB / 390.9 MB, free: 5.555 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001955/0.01501, allocations: 197 kB / 391.1 MB, free: 5.336 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.01501, allocations: 0 / 391.1 MB, free: 5.336 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002274/0.01524, allocations: 115.9 kB / 391.2 MB, free: 5.223 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/0.01524, allocations: 11.88 kB / 391.2 MB, free: 5.211 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.355e-05/0.01526, allocations: 11.98 kB / 391.2 MB, free: 5.199 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001214/0.01647, allocations: 3.573 MB / 394.8 MB, free: 1.512 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.01647, allocations: 0 / 394.8 MB, free: 1.512 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002699/0.01674, allocations: 327.7 kB / 395.1 MB, free: 1.172 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.957e-05/0.01676, allocations: 20.09 kB / 395.1 MB, free: 1.152 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.029e-05/0.01678, allocations: 7.984 kB / 395.1 MB, free: 1.145 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.219e-05/0.01684, allocations: 8 kB / 395.1 MB, free: 1.137 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.373e-05/0.0169, allocations: 27.95 kB / 395.1 MB, free: 1.109 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.418e-05/0.01691, allocations: 11.98 kB / 395.2 MB, free: 1.098 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.491e-05/0.01697, allocations: 139.2 kB / 395.3 MB, free: 0.9609 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01697, allocations: 0 / 395.3 MB, free: 0.9609 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003915/0.01736, allocations: 179.1 kB / 395.5 MB, free: 0.7852 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.0003314/0.01769, allocations: 242.5 kB / 395.7 MB, free: 0.5391 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003089/0.018, allocations: 196.7 kB / 395.9 MB, free: 352 kB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.018, allocations: 0 / 395.9 MB, free: 352 kB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001653/0.01817, allocations: 144 kB / 396 MB, free: 204 kB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002117/0.01838, allocations: 23.92 kB / 396.1 MB, free: 180 kB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009256/0.0193, allocations: 0.5184 MB / 396.6 MB, free: 15.62 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.377e-05/0.01938, allocations: 112.3 kB / 396.7 MB, free: 15.5 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000123/0.0195, allocations: 57.78 kB / 396.7 MB, free: 15.44 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001057/0.01961, allocations: 98.2 kB / 396.8 MB, free: 15.34 MB / 378.7 MB Notification: Performance of SimCode: time 1.152e-06/0.01961, allocations: 0 / 396.8 MB, free: 15.34 MB / 378.7 MB Notification: Performance of Templates: time 0.007417/0.02703, allocations: 5.226 MB / 402.1 MB, free: 10.17 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.512250743806362]