Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.000971/0.000971, allocations: 80.2 kB / 20.65 MB, free: 3.844 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.001271/0.001271, allocations: 173 kB / 24.06 MB, free: 456 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.05/1.05, allocations: 158.6 MB / 185.9 MB, free: 2.793 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1474/0.1474, allocations: 32.38 MB / 270.7 MB, free: 14.54 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.894e-06/1.894e-06, allocations: 0 / 348.2 MB, free: 9.133 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.286e-05/2.476e-05, allocations: 2.312 kB / 348.2 MB, free: 9.129 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW): time 0.0052/0.005225, allocations: 1.875 MB / 350 MB, free: 7.242 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.004568/0.009792, allocations: 1.602 MB / 351.6 MB, free: 5.633 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001368/0.009929, allocations: 4 kB / 351.6 MB, free: 5.629 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002603/0.01019, allocations: 39.7 kB / 351.7 MB, free: 5.59 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003505/0.01054, allocations: 87.48 kB / 351.8 MB, free: 5.504 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007956/0.01134, allocations: 410.3 kB / 352.2 MB, free: 5.102 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002498/0.01159, allocations: 250.6 kB / 352.4 MB, free: 4.855 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.412e-05/0.01164, allocations: 12.58 kB / 352.4 MB, free: 4.848 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002351/0.01187, allocations: 139.4 kB / 352.6 MB, free: 4.711 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000152/0.01203, allocations: 99.69 kB / 352.7 MB, free: 4.613 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.305e-05/0.01205, allocations: 12 kB / 352.7 MB, free: 4.602 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005541/0.0126, allocations: 311.2 kB / 353 MB, free: 4.297 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001008/0.0127, allocations: 79.69 kB / 353.1 MB, free: 4.219 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 8.366e-05/0.01279, allocations: 71.66 kB / 353.1 MB, free: 4.148 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007876/0.01358, allocations: 0.502 MB / 353.6 MB, free: 3.645 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.783e-06/0.01358, allocations: 0 / 353.6 MB, free: 3.645 MB / 282.7 MB Notification: Performance of FrontEnd: time 3.035e-06/0.01359, allocations: 0 / 353.6 MB, free: 3.645 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.792e-06/0.01359, allocations: 0 / 353.6 MB, free: 3.645 MB / 282.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.0008497/0.01444, allocations: 0.6631 MB / 354.3 MB, free: 2.945 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.81e-05/0.0145, allocations: 8.031 kB / 354.3 MB, free: 2.938 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.543e-05/0.0146, allocations: 52.7 kB / 354.3 MB, free: 2.887 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002217/0.01482, allocations: 180.2 kB / 354.5 MB, free: 2.684 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.81e-05/0.01485, allocations: 20.78 kB / 354.5 MB, free: 2.66 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.539e-05/0.01488, allocations: 24 kB / 354.6 MB, free: 2.637 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000378/0.01526, allocations: 260.7 kB / 354.8 MB, free: 2.375 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.374e-05/0.01527, allocations: 11.92 kB / 354.8 MB, free: 2.363 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.148e-05/0.01529, allocations: 8 kB / 354.8 MB, free: 2.355 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.37e-05/0.01536, allocations: 48.97 kB / 354.9 MB, free: 2.309 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002364/0.01559, allocations: 194.8 kB / 355.1 MB, free: 2.117 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001195/0.01679, allocations: 0.8846 MB / 356 MB, free: 1.184 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002799/0.01707, allocations: 172.4 kB / 356.1 MB, free: 1.008 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.067e-05/0.01713, allocations: 39.66 kB / 356.2 MB, free: 0.9648 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.783e-05/0.01718, allocations: 15.94 kB / 356.2 MB, free: 0.9492 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.064e-05/0.0172, allocations: 37.39 kB / 356.2 MB, free: 0.9023 MB / 282.7 MB Notification: Performance of pre-optimization done (n=25): time 1.723e-06/0.0172, allocations: 3.938 kB / 356.2 MB, free: 0.8984 MB / 282.7 MB Notification: Performance of matching and sorting (n=25): time 0.0003535/0.01755, allocations: 183.6 kB / 356.4 MB, free: 0.7148 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.37e-05/0.01758, allocations: 51.41 kB / 356.5 MB, free: 0.6523 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.556e-05/0.01767, allocations: 210.2 kB / 356.7 MB, free: 440 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.539e-05/0.01769, allocations: 29.7 kB / 356.7 MB, free: 404 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.311e-05/0.01777, allocations: 250.8 kB / 356.9 MB, free: 148 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.342e-05/0.01782, allocations: 95.2 kB / 357 MB, free: 52 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001229/0.01795, allocations: 79.31 kB / 357.1 MB, free: 15.96 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001786/0.01813, allocations: 0.504 MB / 357.6 MB, free: 15.45 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.433e-05/0.01819, allocations: 27.97 kB / 357.6 MB, free: 15.42 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001541/0.01834, allocations: 155.9 kB / 357.8 MB, free: 15.22 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002492/0.01859, allocations: 208.9 kB / 358 MB, free: 14.96 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.364e-06/0.0186, allocations: 4 kB / 358 MB, free: 14.96 MB / 298.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003478/0.01895, allocations: 225.4 kB / 358.2 MB, free: 14.73 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/0.01897, allocations: 8.062 kB / 358.2 MB, free: 14.73 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.01898, allocations: 7.938 kB / 358.2 MB, free: 14.72 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.88e-05/0.019, allocations: 4 kB / 358.2 MB, free: 14.71 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004032/0.0194, allocations: 127.9 kB / 358.4 MB, free: 14.59 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001603/0.021, allocations: 3.593 MB / 362 MB, free: 10.88 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001261/0.02113, allocations: 31.78 kB / 362 MB, free: 10.85 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.215e-05/0.02115, allocations: 11.98 kB / 362 MB, free: 10.84 MB / 298.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.0001406/0.02129, allocations: 172.5 kB / 362.2 MB, free: 10.66 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.012e-05/0.02134, allocations: 23.84 kB / 362.2 MB, free: 10.64 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004375/0.02178, allocations: 258.6 kB / 362.4 MB, free: 10.38 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.02178, allocations: 0 / 362.4 MB, free: 10.38 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.613e-06/0.02178, allocations: 0 / 362.4 MB, free: 10.38 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.099e-06/0.02179, allocations: 4 kB / 362.4 MB, free: 10.37 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002716/0.02206, allocations: 201 kB / 362.6 MB, free: 10.15 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.02206, allocations: 4 kB / 362.6 MB, free: 10.14 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003298/0.02239, allocations: 115.9 kB / 362.8 MB, free: 10.03 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.735e-06/0.0224, allocations: 7.938 kB / 362.8 MB, free: 10.02 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.726e-05/0.02242, allocations: 8 kB / 362.8 MB, free: 10.02 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001458/0.02388, allocations: 3.577 MB / 366.4 MB, free: 6.324 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.02388, allocations: 0 / 366.4 MB, free: 6.324 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003603/0.02424, allocations: 336.7 kB / 366.7 MB, free: 5.977 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.512e-05/0.02426, allocations: 15.84 kB / 366.7 MB, free: 5.961 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.654e-05/0.02429, allocations: 8 kB / 366.7 MB, free: 5.953 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.856e-05/0.02439, allocations: 7.984 kB / 366.7 MB, free: 5.945 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.539e-05/0.02445, allocations: 19.97 kB / 366.7 MB, free: 5.926 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.805e-05/0.02447, allocations: 8 kB / 366.7 MB, free: 5.918 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.035e-05/0.02454, allocations: 144.1 kB / 366.9 MB, free: 5.777 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02454, allocations: 0 / 366.9 MB, free: 5.777 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0007039/0.02525, allocations: 183.2 kB / 367.1 MB, free: 5.598 MB / 298.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.0005427/0.02579, allocations: 226.6 kB / 367.3 MB, free: 5.367 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004661/0.02626, allocations: 199.4 kB / 367.5 MB, free: 5.168 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.02626, allocations: 4 kB / 367.5 MB, free: 5.164 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002391/0.0265, allocations: 131.5 kB / 367.6 MB, free: 5.031 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003598/0.02686, allocations: 23.94 kB / 367.6 MB, free: 5.008 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001253/0.02811, allocations: 0.5296 MB / 368.2 MB, free: 4.453 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.277e-05/0.0282, allocations: 112.3 kB / 368.3 MB, free: 4.324 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001589/0.02836, allocations: 45.8 kB / 368.3 MB, free: 4.281 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000118/0.02848, allocations: 102.2 kB / 368.4 MB, free: 4.18 MB / 298.7 MB Notification: Performance of SimCode: time 6.71e-07/0.02848, allocations: 0 / 368.4 MB, free: 4.18 MB / 298.7 MB Notification: Performance of Templates: time 0.011/0.03948, allocations: 5.18 MB / 373.6 MB, free: 15.05 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.5522485999390483]