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.001524/0.001524, 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.001089/0.001089, allocations: 160.5 kB / 24.99 MB, free: 9.316 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.05/1.05, allocations: 177.1 MB / 205.3 MB, free: 5.582 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.2987/0.2987, allocations: 34.26 MB / 296.1 MB, free: 0.7656 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 2.134e-06/2.134e-06, allocations: 0 / 378.1 MB, free: 2.945 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.808e-05/3.022e-05, allocations: 6.25 kB / 378.1 MB, free: 2.938 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW): time 0.003607/0.003637, allocations: 1.882 MB / 379.9 MB, free: 1.043 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002977/0.006613, allocations: 1.656 MB / 381.6 MB, free: 15.38 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001296/0.006743, allocations: 0 / 381.6 MB, free: 15.38 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003008/0.007044, allocations: 51.64 kB / 381.7 MB, free: 15.33 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003687/0.007413, allocations: 79.5 kB / 381.7 MB, free: 15.25 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001117/0.00853, allocations: 414.4 kB / 382.1 MB, free: 14.85 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003934/0.008923, allocations: 258.6 kB / 382.4 MB, free: 14.59 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.525e-05/0.009009, allocations: 8.594 kB / 382.4 MB, free: 14.59 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000396/0.009405, allocations: 139.4 kB / 382.5 MB, free: 14.45 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002251/0.00963, allocations: 111.6 kB / 382.6 MB, free: 14.34 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.482e-05/0.009664, allocations: 8 kB / 382.6 MB, free: 14.33 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007702/0.01043, allocations: 323.2 kB / 383 MB, free: 14.02 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00011/0.01054, allocations: 79.62 kB / 383 MB, free: 13.94 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001114/0.01066, allocations: 67.73 kB / 383.1 MB, free: 13.87 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008597/0.01152, allocations: 0.5137 MB / 383.6 MB, free: 13.36 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.01152, allocations: 0 / 383.6 MB, free: 13.36 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.01152, allocations: 0 / 383.6 MB, free: 13.36 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.221e-05/0.01153, allocations: 0 / 383.6 MB, free: 13.36 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.001131/0.01267, allocations: 0.6631 MB / 384.3 MB, free: 12.66 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.802e-05/0.01271, allocations: 8.031 kB / 384.3 MB, free: 12.65 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001223/0.01284, allocations: 52.7 kB / 384.3 MB, free: 12.6 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002757/0.01311, allocations: 180.2 kB / 384.5 MB, free: 12.39 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.452e-05/0.01315, allocations: 28.77 kB / 384.5 MB, free: 12.36 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.42e-05/0.01319, allocations: 24 kB / 384.6 MB, free: 12.34 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005986/0.01379, allocations: 292.7 kB / 384.9 MB, free: 12.05 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.401e-05/0.0138, allocations: 3.984 kB / 384.9 MB, free: 12.04 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.464e-05/0.01384, allocations: 19.97 kB / 384.9 MB, free: 12.02 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.009e-05/0.01393, allocations: 40.97 kB / 384.9 MB, free: 11.98 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004872/0.01442, allocations: 253.8 kB / 385.2 MB, free: 11.73 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001886/0.0163, allocations: 0.9465 MB / 386.1 MB, free: 10.73 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005078/0.01681, allocations: 178.1 kB / 386.3 MB, free: 10.54 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001175/0.01693, allocations: 47.61 kB / 386.3 MB, free: 10.49 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.332e-05/0.01697, allocations: 11.98 kB / 386.3 MB, free: 10.48 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.341e-05/0.017, allocations: 37.39 kB / 386.4 MB, free: 10.43 MB / 362.7 MB Notification: Performance of pre-optimization done (n=25): time 3.907e-06/0.01701, allocations: 0 / 386.4 MB, free: 10.43 MB / 362.7 MB Notification: Performance of matching and sorting (n=25): time 0.0005284/0.01754, allocations: 210.7 kB / 386.6 MB, free: 10.22 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.61e-05/0.01759, allocations: 59.28 kB / 386.6 MB, free: 10.15 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001736/0.01777, allocations: 201.9 kB / 386.8 MB, free: 9.938 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.795e-05/0.01779, allocations: 29.7 kB / 386.9 MB, free: 9.902 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001547/0.01795, allocations: 246.8 kB / 387.1 MB, free: 9.656 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.307e-05/0.01803, allocations: 99.59 kB / 387.2 MB, free: 9.559 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001205/0.01815, allocations: 75.36 kB / 387.3 MB, free: 9.477 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002142/0.01837, allocations: 0.5001 MB / 387.8 MB, free: 8.965 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001164/0.01848, allocations: 35.84 kB / 387.8 MB, free: 8.93 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002021/0.01868, allocations: 157.7 kB / 388 MB, free: 8.727 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003456/0.01903, allocations: 228.2 kB / 388.2 MB, free: 8.453 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.528e-06/0.01903, allocations: 4 kB / 388.2 MB, free: 8.449 MB / 362.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004667/0.0195, allocations: 237.2 kB / 388.4 MB, free: 8.211 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.355e-05/0.01952, allocations: 4 kB / 388.4 MB, free: 8.207 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.07e-05/0.01954, allocations: 4 kB / 388.4 MB, free: 8.203 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.05e-05/0.01956, allocations: 4 kB / 388.4 MB, free: 8.199 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005244/0.02008, allocations: 132.2 kB / 388.6 MB, free: 8.07 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001897/0.02198, allocations: 3.593 MB / 392.2 MB, free: 4.363 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001754/0.02215, allocations: 31.78 kB / 392.2 MB, free: 4.332 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.287e-05/0.02219, allocations: 19.98 kB / 392.2 MB, free: 4.312 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.0001863/0.02237, allocations: 176.7 kB / 392.4 MB, free: 4.129 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.739e-05/0.02244, allocations: 23.91 kB / 392.4 MB, free: 4.105 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006603/0.0231, allocations: 267.1 kB / 392.7 MB, free: 3.84 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.007e-06/0.02311, allocations: 7.984 kB / 392.7 MB, free: 3.832 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.02311, allocations: 0 / 392.7 MB, free: 3.832 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.722e-06/0.02312, allocations: 3.984 kB / 392.7 MB, free: 3.828 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002739/0.0234, allocations: 248.4 kB / 392.9 MB, free: 3.551 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.0234, allocations: 0 / 392.9 MB, free: 3.551 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003092/0.02371, allocations: 119.9 kB / 393 MB, free: 3.434 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.29e-06/0.02371, allocations: 3.938 kB / 393 MB, free: 3.43 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.465e-05/0.02373, allocations: 8 kB / 393.1 MB, free: 3.422 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001165/0.02489, allocations: 3.585 MB / 396.6 MB, free: 15.72 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.0249, allocations: 3.938 kB / 396.6 MB, free: 15.72 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000308/0.0252, allocations: 339.7 kB / 397 MB, free: 15.37 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.607e-05/0.02523, allocations: 15.84 kB / 397 MB, free: 15.35 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.633e-05/0.02526, allocations: 4.25 kB / 397 MB, free: 15.35 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001072/0.02536, allocations: 15.98 kB / 397 MB, free: 15.33 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.373e-05/0.02544, allocations: 27.91 kB / 397 MB, free: 15.3 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.5e-05/0.02545, allocations: 7.984 kB / 397 MB, free: 15.3 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.34e-05/0.02552, allocations: 142.5 kB / 397.2 MB, free: 15.16 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02552, allocations: 0 / 397.2 MB, free: 15.16 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004637/0.02598, allocations: 179.2 kB / 397.4 MB, free: 14.98 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.0003945/0.02637, allocations: 246.4 kB / 397.6 MB, free: 14.73 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003801/0.02675, allocations: 208 kB / 397.8 MB, free: 14.53 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.02676, allocations: 0.6875 kB / 397.8 MB, free: 14.53 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001812/0.02694, allocations: 152 kB / 398 MB, free: 14.38 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002725/0.02721, allocations: 19.98 kB / 398 MB, free: 14.36 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001107/0.02832, allocations: 0.5329 MB / 398.5 MB, free: 13.8 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.64e-05/0.02838, allocations: 112.3 kB / 398.6 MB, free: 13.67 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001656/0.02855, allocations: 89.73 kB / 398.7 MB, free: 13.58 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.507e-05/0.0286, allocations: 32.48 kB / 398.7 MB, free: 13.55 MB / 378.7 MB Notification: Performance of SimCode: time 1.262e-06/0.02861, allocations: 0 / 398.7 MB, free: 13.55 MB / 378.7 MB Notification: Performance of Templates: time 0.006136/0.03474, allocations: 4.553 MB / 403.3 MB, free: 9.043 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.5803909848909825]