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.001052/0.001052, allocations: 80.41 kB / 22.21 MB, free: 2.289 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.001128/0.001128, allocations: 167.6 kB / 25.61 MB, free: 8.902 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 0.9751/0.9751, allocations: 177.1 MB / 206 MB, free: 4.5 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.1342/0.1342, allocations: 34.26 MB / 296.8 MB, free: 13.95 MB / 282.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.383e-06/1.383e-06, allocations: 0 / 379.3 MB, free: 23.4 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.148e-05/1.287e-05, allocations: 2.312 kB / 379.3 MB, free: 23.4 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW): time 0.001859/0.001871, allocations: 1.884 MB / 381.2 MB, free: 21.5 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001594/0.003466, allocations: 1.613 MB / 382.8 MB, free: 19.88 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.353e-05/0.003539, allocations: 8 kB / 382.8 MB, free: 19.87 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002025/0.003742, allocations: 39.75 kB / 382.9 MB, free: 19.83 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002279/0.003969, allocations: 87.39 kB / 383 MB, free: 19.75 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005997/0.004569, allocations: 418.4 kB / 383.4 MB, free: 19.34 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001822/0.004751, allocations: 250.6 kB / 383.6 MB, free: 19.09 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.517e-05/0.004797, allocations: 16.58 kB / 383.6 MB, free: 19.07 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001744/0.004971, allocations: 135.5 kB / 383.8 MB, free: 18.94 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001355/0.005106, allocations: 107.6 kB / 383.9 MB, free: 18.84 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.917e-05/0.005126, allocations: 8 kB / 383.9 MB, free: 18.83 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003804/0.005506, allocations: 327.2 kB / 384.2 MB, free: 18.51 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 6.069e-05/0.005567, allocations: 67.7 kB / 384.3 MB, free: 18.44 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 5.249e-05/0.005619, allocations: 83.66 kB / 384.3 MB, free: 18.36 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004443/0.006064, allocations: 0.506 MB / 384.8 MB, free: 17.85 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.963e-06/0.006065, allocations: 0 / 384.8 MB, free: 17.85 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.006066, allocations: 0 / 384.8 MB, free: 17.85 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.987e-06/0.00607, allocations: 0 / 384.8 MB, free: 17.85 MB / 314.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.0005062/0.006577, allocations: 0.667 MB / 385.5 MB, free: 17.15 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.731e-05/0.006604, allocations: 8.031 kB / 385.5 MB, free: 17.14 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.924e-05/0.006663, allocations: 52.75 kB / 385.6 MB, free: 17.09 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001296/0.006793, allocations: 180.1 kB / 385.7 MB, free: 16.89 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.525e-05/0.006808, allocations: 28.77 kB / 385.8 MB, free: 16.86 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.265e-05/0.006831, allocations: 20 kB / 385.8 MB, free: 16.84 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002318/0.007062, allocations: 260.7 kB / 386 MB, free: 16.57 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.799e-06/0.007072, allocations: 0 / 386 MB, free: 16.57 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.678e-05/0.007089, allocations: 8 kB / 386.1 MB, free: 16.57 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.057e-05/0.00713, allocations: 44.97 kB / 386.1 MB, free: 16.52 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001514/0.007281, allocations: 194.8 kB / 386.3 MB, free: 16.33 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008066/0.008088, allocations: 0.8961 MB / 387.2 MB, free: 15.38 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001958/0.008283, allocations: 159.4 kB / 387.3 MB, free: 15.21 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.229e-05/0.008326, allocations: 43.66 kB / 387.4 MB, free: 15.17 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.007e-05/0.008346, allocations: 8 kB / 387.4 MB, free: 15.16 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.496e-05/0.008361, allocations: 37.39 kB / 387.4 MB, free: 15.11 MB / 314.7 MB Notification: Performance of pre-optimization done (n=25): time 1.132e-06/0.008362, allocations: 4 kB / 387.4 MB, free: 15.11 MB / 314.7 MB Notification: Performance of matching and sorting (n=25): time 0.0002263/0.008588, allocations: 179.7 kB / 387.6 MB, free: 14.93 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.624e-05/0.008604, allocations: 55.34 kB / 387.7 MB, free: 14.86 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.975e-05/0.008664, allocations: 212.8 kB / 387.9 MB, free: 14.64 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.036e-05/0.008674, allocations: 33.64 kB / 387.9 MB, free: 14.6 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.885e-05/0.008723, allocations: 250.9 kB / 388.1 MB, free: 14.35 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.015e-05/0.008753, allocations: 91.2 kB / 388.2 MB, free: 14.26 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.296e-05/0.008806, allocations: 79.31 kB / 388.3 MB, free: 14.18 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 3.893e-05/0.008845, allocations: 0.4962 MB / 388.8 MB, free: 13.67 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.877e-05/0.008884, allocations: 33.75 kB / 388.8 MB, free: 13.64 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.733e-05/0.008951, allocations: 153.7 kB / 389 MB, free: 13.44 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000119/0.00907, allocations: 205.3 kB / 389.2 MB, free: 13.19 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.009072, allocations: 8 kB / 389.2 MB, free: 13.18 MB / 314.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0001845/0.009257, allocations: 223.3 kB / 389.4 MB, free: 12.96 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.087e-05/0.009268, allocations: 6.344 kB / 389.4 MB, free: 12.95 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.009273, allocations: 4 kB / 389.4 MB, free: 12.95 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.768e-06/0.009283, allocations: 4 kB / 389.4 MB, free: 12.95 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002605/0.009543, allocations: 140.1 kB / 389.6 MB, free: 12.81 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004803/0.01002, allocations: 3.581 MB / 393.1 MB, free: 9.113 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.624e-05/0.01011, allocations: 39.77 kB / 393.2 MB, free: 9.074 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.359e-05/0.01012, allocations: 8 kB / 393.2 MB, free: 9.066 MB / 314.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 7.687e-05/0.0102, allocations: 180.8 kB / 393.4 MB, free: 8.879 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.299e-05/0.01023, allocations: 19.84 kB / 393.4 MB, free: 8.859 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002759/0.01051, allocations: 255.6 kB / 393.6 MB, free: 8.609 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.01051, allocations: 0 / 393.6 MB, free: 8.609 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.264e-06/0.01051, allocations: 4 kB / 393.6 MB, free: 8.605 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.97e-06/0.01052, allocations: 3.984 kB / 393.6 MB, free: 8.602 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001512/0.01067, allocations: 193 kB / 393.8 MB, free: 8.387 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.01067, allocations: 4 kB / 393.8 MB, free: 8.383 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002277/0.0109, allocations: 115.9 kB / 394 MB, free: 8.27 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.888e-06/0.0109, allocations: 11.94 kB / 394 MB, free: 8.258 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.155e-05/0.01092, allocations: 8 kB / 394 MB, free: 8.25 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004311/0.01135, allocations: 3.577 MB / 397.5 MB, free: 4.559 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.01135, allocations: 0 / 397.5 MB, free: 4.559 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001686/0.01152, allocations: 331.7 kB / 397.9 MB, free: 4.215 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.236e-05/0.01153, allocations: 20.09 kB / 397.9 MB, free: 4.195 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.687e-05/0.01155, allocations: 8 kB / 397.9 MB, free: 4.188 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.241e-05/0.01161, allocations: 11.98 kB / 397.9 MB, free: 4.176 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.984e-05/0.01165, allocations: 19.97 kB / 397.9 MB, free: 4.156 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.114e-05/0.01166, allocations: 15.97 kB / 397.9 MB, free: 4.141 MB / 314.7 MB Notification: Performance of sorting global known variables: time 2.356e-05/0.01168, allocations: 139.1 kB / 398.1 MB, free: 4.004 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01168, allocations: 3.938 kB / 398.1 MB, free: 4 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003254/0.01201, allocations: 183.1 kB / 398.3 MB, free: 3.82 MB / 314.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.0002501/0.01226, allocations: 242.5 kB / 398.5 MB, free: 3.57 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002557/0.01251, allocations: 196.7 kB / 398.7 MB, free: 3.375 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.182e-06/0.01251, allocations: 0 / 398.7 MB, free: 3.375 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001359/0.01265, allocations: 136 kB / 398.8 MB, free: 3.238 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001951/0.01285, allocations: 22.83 kB / 398.8 MB, free: 3.219 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006639/0.01351, allocations: 0.5281 MB / 399.4 MB, free: 2.66 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.106e-05/0.01355, allocations: 120.2 kB / 399.5 MB, free: 2.523 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001065/0.01366, allocations: 53.8 kB / 399.5 MB, free: 2.473 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.626e-05/0.01372, allocations: 90.2 kB / 399.6 MB, free: 2.383 MB / 314.7 MB Notification: Performance of SimCode: time 5.81e-07/0.01372, allocations: 3.938 kB / 399.6 MB, free: 2.379 MB / 314.7 MB Notification: Performance of Templates: time 0.006165/0.01989, allocations: 5.266 MB / 404.9 MB, free: 13.16 MB / 330.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.3314575674012303]