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.001642/0.001642, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.001606/0.001606, allocations: 168.8 kB / 24.82 MB, free: 9.27 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.088/1.088, allocations: 177.1 MB / 205.3 MB, free: 5.52 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.2683/0.2683, allocations: 34.26 MB / 296.1 MB, free: 0.7109 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.423e-06/1.423e-06, allocations: 3.938 kB / 378.5 MB, free: 2.371 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.099e-05/1.241e-05, allocations: 2.312 kB / 378.5 MB, free: 2.367 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW): time 0.002148/0.00216, allocations: 1.879 MB / 380.4 MB, free: 484 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001816/0.003977, allocations: 1.628 MB / 382 MB, free: 14.84 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.554e-05/0.004042, allocations: 4 kB / 382 MB, free: 14.84 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001889/0.004231, allocations: 43.69 kB / 382.1 MB, free: 14.79 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002358/0.004467, allocations: 91.48 kB / 382.2 MB, free: 14.7 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005876/0.005054, allocations: 414.4 kB / 382.6 MB, free: 14.3 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.000223/0.005277, allocations: 250.6 kB / 382.8 MB, free: 14.05 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.446e-05/0.005322, allocations: 12.59 kB / 382.8 MB, free: 14.04 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000209/0.005531, allocations: 143.4 kB / 383 MB, free: 13.9 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001246/0.005655, allocations: 107.6 kB / 383.1 MB, free: 13.79 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.795e-05/0.005673, allocations: 12 kB / 383.1 MB, free: 13.78 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004118/0.006085, allocations: 323.2 kB / 383.4 MB, free: 13.46 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.746e-05/0.006163, allocations: 75.64 kB / 383.5 MB, free: 13.39 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 6.116e-05/0.006224, allocations: 75.72 kB / 383.6 MB, free: 13.32 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005278/0.006752, allocations: 0.5059 MB / 384.1 MB, free: 12.81 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.673e-06/0.006753, allocations: 0 / 384.1 MB, free: 12.81 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.11e-07/0.006754, allocations: 0 / 384.1 MB, free: 12.81 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.006759, allocations: 0 / 384.1 MB, free: 12.81 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.0007665/0.007525, allocations: 0.6631 MB / 384.7 MB, free: 12.11 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/0.007568, allocations: 8.031 kB / 384.7 MB, free: 12.1 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.296e-05/0.007641, allocations: 48.7 kB / 384.8 MB, free: 12.05 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001652/0.007806, allocations: 188.1 kB / 385 MB, free: 11.84 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.993e-05/0.007826, allocations: 24.77 kB / 385 MB, free: 11.82 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.924e-05/0.007855, allocations: 35.92 kB / 385 MB, free: 11.78 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000282/0.008137, allocations: 248.8 kB / 385.3 MB, free: 11.53 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.008148, allocations: 4 kB / 385.3 MB, free: 11.53 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.805e-05/0.008166, allocations: 11.98 kB / 385.3 MB, free: 11.52 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.487e-05/0.008221, allocations: 48.97 kB / 385.3 MB, free: 11.46 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001849/0.008406, allocations: 190.8 kB / 385.5 MB, free: 11.28 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009563/0.009362, allocations: 0.8923 MB / 386.4 MB, free: 10.34 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002307/0.009593, allocations: 159.5 kB / 386.6 MB, free: 10.17 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.374e-05/0.009647, allocations: 47.61 kB / 386.6 MB, free: 10.12 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.434e-05/0.009681, allocations: 4 kB / 386.6 MB, free: 10.11 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.419e-05/0.009705, allocations: 37.39 kB / 386.7 MB, free: 10.07 MB / 362.7 MB Notification: Performance of pre-optimization done (n=25): time 1.473e-06/0.009707, allocations: 4 kB / 386.7 MB, free: 10.06 MB / 362.7 MB Notification: Performance of matching and sorting (n=25): time 0.0002618/0.009969, allocations: 182.8 kB / 386.8 MB, free: 9.879 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.86e-05/0.009997, allocations: 55.34 kB / 386.9 MB, free: 9.812 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001117/0.01011, allocations: 213.8 kB / 387.1 MB, free: 9.586 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.677e-05/0.01013, allocations: 25.7 kB / 387.1 MB, free: 9.555 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000105/0.01023, allocations: 250.8 kB / 387.4 MB, free: 9.305 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.069e-05/0.01028, allocations: 91.22 kB / 387.5 MB, free: 9.215 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.089e-05/0.01036, allocations: 75.31 kB / 387.5 MB, free: 9.133 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001451/0.01051, allocations: 0.5078 MB / 388 MB, free: 8.613 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.294e-05/0.01055, allocations: 31.83 kB / 388.1 MB, free: 8.582 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001127/0.01066, allocations: 153.7 kB / 388.2 MB, free: 8.383 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001823/0.01085, allocations: 212.2 kB / 388.4 MB, free: 8.125 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.01085, allocations: 8 kB / 388.4 MB, free: 8.117 MB / 362.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0002305/0.01108, allocations: 213.2 kB / 388.6 MB, free: 7.902 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.01109, allocations: 6.031 kB / 388.6 MB, free: 7.898 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.0111, allocations: 4 kB / 388.7 MB, free: 7.895 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.01111, allocations: 4 kB / 388.7 MB, free: 7.891 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003217/0.01144, allocations: 136.2 kB / 388.8 MB, free: 7.758 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001273/0.01271, allocations: 3.581 MB / 392.4 MB, free: 4.062 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.359e-05/0.01279, allocations: 35.77 kB / 392.4 MB, free: 4.027 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.518e-05/0.01281, allocations: 12.25 kB / 392.4 MB, free: 4.016 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.000108/0.01292, allocations: 176.5 kB / 392.6 MB, free: 3.832 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.513e-05/0.01295, allocations: 31.83 kB / 392.6 MB, free: 3.801 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003389/0.01329, allocations: 255.1 kB / 392.9 MB, free: 3.547 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.01329, allocations: 0 / 392.9 MB, free: 3.547 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.885e-06/0.0133, allocations: 0 / 392.9 MB, free: 3.547 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.264e-06/0.0133, allocations: 7.984 kB / 392.9 MB, free: 3.539 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002093/0.01351, allocations: 197 kB / 393.1 MB, free: 3.32 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.01352, allocations: 0 / 393.1 MB, free: 3.32 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002395/0.01376, allocations: 111.9 kB / 393.2 MB, free: 3.211 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.046e-06/0.01376, allocations: 11.94 kB / 393.2 MB, free: 3.199 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.721e-05/0.01378, allocations: 15.98 kB / 393.2 MB, free: 3.184 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001249/0.01503, allocations: 3.577 MB / 396.8 MB, free: 15.49 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.01503, allocations: 0 / 396.8 MB, free: 15.49 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002235/0.01525, allocations: 323.7 kB / 397.1 MB, free: 15.16 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.699e-05/0.01527, allocations: 20.09 kB / 397.1 MB, free: 15.14 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.714e-05/0.01529, allocations: 15.98 kB / 397.1 MB, free: 15.12 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.97e-05/0.01535, allocations: 8 kB / 397.1 MB, free: 15.11 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.545e-05/0.01539, allocations: 23.95 kB / 397.2 MB, free: 15.09 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.074e-05/0.0154, allocations: 4 kB / 397.2 MB, free: 15.09 MB / 378.7 MB Notification: Performance of sorting global known variables: time 4.973e-05/0.01545, allocations: 139.2 kB / 397.3 MB, free: 14.95 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01545, allocations: 3.938 kB / 397.3 MB, free: 14.95 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000341/0.0158, allocations: 179.1 kB / 397.5 MB, free: 14.77 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.0003061/0.0161, allocations: 242.5 kB / 397.7 MB, free: 14.52 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002958/0.0164, allocations: 204.7 kB / 397.9 MB, free: 14.32 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.342e-06/0.0164, allocations: 0 / 397.9 MB, free: 14.32 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001512/0.01655, allocations: 132 kB / 398.1 MB, free: 14.19 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001953/0.01675, allocations: 26.98 kB / 398.1 MB, free: 14.16 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007921/0.01754, allocations: 0.5352 MB / 398.6 MB, free: 13.61 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.433e-05/0.0176, allocations: 112.3 kB / 398.7 MB, free: 13.48 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001125/0.01771, allocations: 53.8 kB / 398.8 MB, free: 13.43 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.514e-05/0.0178, allocations: 94.2 kB / 398.9 MB, free: 13.33 MB / 378.7 MB Notification: Performance of SimCode: time 6.82e-07/0.0178, allocations: 0 / 398.9 MB, free: 13.33 MB / 378.7 MB Notification: Performance of Templates: time 0.006829/0.02463, allocations: 5.23 MB / 404.1 MB, free: 8.145 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.607540607918054]