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_overall_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.001036/0.001036, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.001155/0.001155, allocations: 170.3 kB / 24.91 MB, free: 8.723 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.01/1.01, allocations: 177.1 MB / 205.3 MB, free: 5.102 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.2672/0.2672, allocations: 34.26 MB / 296.1 MB, free: 0.6719 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_overall_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_overall_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_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_overall_DPMFLOW") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.092e-06/1.092e-06, allocations: 0 / 325.3 MB, free: 7.641 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.765e-05/1.875e-05, allocations: 4.062 kB / 325.3 MB, free: 7.637 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW): time 0.002207/0.002226, allocations: 1.94 MB / 327.3 MB, free: 5.684 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002948/0.005174, allocations: 2.871 MB / 330.1 MB, free: 2.805 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.076e-05/0.005234, allocations: 4 kB / 330.1 MB, free: 2.801 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001793/0.005414, allocations: 43.69 kB / 330.2 MB, free: 2.758 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002184/0.005632, allocations: 83.45 kB / 330.3 MB, free: 2.672 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001089/0.006721, allocations: 0.7356 MB / 331 MB, free: 1.934 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002168/0.006937, allocations: 246.6 kB / 331.2 MB, free: 1.691 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.218e-05/0.00698, allocations: 18.55 kB / 331.3 MB, free: 1.676 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001874/0.007167, allocations: 131.5 kB / 331.4 MB, free: 1.547 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001302/0.007297, allocations: 103.6 kB / 331.5 MB, free: 1.445 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.759e-05/0.007315, allocations: 11.94 kB / 331.5 MB, free: 1.434 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007935/0.008108, allocations: 0.6314 MB / 332.1 MB, free: 0.8008 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.13e-05/0.00818, allocations: 79.58 kB / 332.2 MB, free: 0.7227 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.312e-05/0.008243, allocations: 79.7 kB / 332.3 MB, free: 0.6445 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000762/0.009005, allocations: 0.7753 MB / 333.1 MB, free: 15.87 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.873e-06/0.009007, allocations: 4 kB / 333.1 MB, free: 15.86 MB / 314.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.009007, allocations: 0 / 333.1 MB, free: 15.86 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.246e-06/0.009011, allocations: 0 / 333.1 MB, free: 15.86 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.0005478/0.009558, allocations: 0.5775 MB / 333.6 MB, free: 15.26 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.068e-05/0.009589, allocations: 8.031 kB / 333.7 MB, free: 15.25 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.237e-05/0.009641, allocations: 36.91 kB / 333.7 MB, free: 15.21 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001481/0.00979, allocations: 173.3 kB / 333.9 MB, free: 15.02 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.672e-05/0.009806, allocations: 28.77 kB / 333.9 MB, free: 14.99 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.418e-05/0.00983, allocations: 24 kB / 333.9 MB, free: 14.97 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000257/0.01009, allocations: 271.6 kB / 334.2 MB, free: 14.7 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.385e-06/0.0101, allocations: 0 / 334.2 MB, free: 14.7 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.954e-05/0.01012, allocations: 15.98 kB / 334.2 MB, free: 14.68 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.668e-05/0.01016, allocations: 48.95 kB / 334.2 MB, free: 14.63 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002316/0.01039, allocations: 174.8 kB / 334.4 MB, free: 14.46 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008479/0.01124, allocations: 0.7787 MB / 335.2 MB, free: 13.64 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001879/0.01143, allocations: 145.9 kB / 335.3 MB, free: 13.49 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.559e-05/0.01147, allocations: 32.84 kB / 335.4 MB, free: 13.46 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.306e-05/0.0115, allocations: 8 kB / 335.4 MB, free: 13.45 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.877e-05/0.01152, allocations: 34.56 kB / 335.4 MB, free: 13.41 MB / 314.7 MB Notification: Performance of pre-optimization done (n=25): time 1.312e-06/0.01152, allocations: 7.938 kB / 335.4 MB, free: 13.4 MB / 314.7 MB Notification: Performance of matching and sorting (n=25): time 0.0001858/0.0117, allocations: 135.5 kB / 335.5 MB, free: 13.26 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.304e-05/0.01173, allocations: 55.41 kB / 335.6 MB, free: 13.2 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.345e-05/0.0118, allocations: 150.4 kB / 335.7 MB, free: 13.04 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.751e-05/0.01182, allocations: 33.7 kB / 335.8 MB, free: 13 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.999e-05/0.01189, allocations: 196.1 kB / 336 MB, free: 12.8 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.122e-05/0.01193, allocations: 87.2 kB / 336.1 MB, free: 12.71 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.055e-05/0.01199, allocations: 69.61 kB / 336.1 MB, free: 12.64 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.159e-05/0.01206, allocations: 326.8 kB / 336.4 MB, free: 12.31 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.438e-05/0.0121, allocations: 27.98 kB / 336.5 MB, free: 12.29 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.672e-05/0.01217, allocations: 112.3 kB / 336.6 MB, free: 12.14 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001405/0.01231, allocations: 182.3 kB / 336.8 MB, free: 11.93 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.01231, allocations: 4 kB / 336.8 MB, free: 11.92 MB / 314.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0001796/0.01249, allocations: 165.4 kB / 336.9 MB, free: 11.75 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.183e-05/0.01251, allocations: 4 kB / 336.9 MB, free: 11.75 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/0.01251, allocations: 4 kB / 336.9 MB, free: 11.75 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.01252, allocations: 4 kB / 336.9 MB, free: 11.74 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003165/0.01284, allocations: 132.2 kB / 337.1 MB, free: 11.61 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007923/0.01363, allocations: 2.354 MB / 339.4 MB, free: 9.156 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.624e-05/0.01372, allocations: 35.81 kB / 339.4 MB, free: 9.121 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.431e-05/0.01373, allocations: 8 kB / 339.5 MB, free: 9.113 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 8.634e-05/0.01382, allocations: 128.6 kB / 339.6 MB, free: 8.977 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.048e-05/0.01385, allocations: 19.92 kB / 339.6 MB, free: 8.957 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002765/0.01413, allocations: 227.5 kB / 339.8 MB, free: 8.73 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.01413, allocations: 0 / 339.8 MB, free: 8.73 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.693e-06/0.01413, allocations: 0 / 339.8 MB, free: 8.73 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.01414, allocations: 4 kB / 339.8 MB, free: 8.727 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001585/0.01429, allocations: 145.7 kB / 340 MB, free: 8.566 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.0143, allocations: 3.938 kB / 340 MB, free: 8.562 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002742/0.01457, allocations: 119.8 kB / 340.1 MB, free: 8.445 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.05e-06/0.01458, allocations: 7.984 kB / 340.1 MB, free: 8.438 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.255e-05/0.01459, allocations: 11.94 kB / 340.1 MB, free: 8.426 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006725/0.01526, allocations: 2.357 MB / 342.5 MB, free: 5.965 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.01526, allocations: 0 / 342.5 MB, free: 5.965 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001709/0.01543, allocations: 234.2 kB / 342.7 MB, free: 5.719 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.372e-05/0.01545, allocations: 15.84 kB / 342.7 MB, free: 5.703 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.729e-05/0.01546, allocations: 8 kB / 342.7 MB, free: 5.695 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.934e-05/0.01552, allocations: 7.984 kB / 342.7 MB, free: 5.688 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.727e-05/0.01557, allocations: 15.97 kB / 342.7 MB, free: 5.672 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.275e-05/0.01558, allocations: 11.98 kB / 342.8 MB, free: 5.66 MB / 314.7 MB Notification: Performance of sorting global known variables: time 2.162e-05/0.0156, allocations: 27.22 kB / 342.8 MB, free: 5.633 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0156, allocations: 0 / 342.8 MB, free: 5.633 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003903/0.016, allocations: 254.8 kB / 343 MB, free: 5.383 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.0004447/0.01644, allocations: 355.1 kB / 343.4 MB, free: 5.027 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002628/0.0167, allocations: 177.1 kB / 343.6 MB, free: 4.852 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/0.01671, allocations: 4 kB / 343.6 MB, free: 4.848 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001462/0.01685, allocations: 117.1 kB / 343.7 MB, free: 4.73 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000146/0.017, allocations: 19.94 kB / 343.7 MB, free: 4.711 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007969/0.0178, allocations: 0.5276 MB / 344.2 MB, free: 4.152 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.314e-05/0.01786, allocations: 116.3 kB / 344.3 MB, free: 4.02 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001213/0.01798, allocations: 53.78 kB / 344.4 MB, free: 3.961 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.326e-05/0.01807, allocations: 79.36 kB / 344.5 MB, free: 3.883 MB / 314.7 MB Notification: Performance of SimCode: time 5.01e-07/0.01808, allocations: 0 / 344.5 MB, free: 3.883 MB / 314.7 MB Notification: Performance of Templates: time 0.008613/0.02669, allocations: 7.15 MB / 351.6 MB, free: 12.79 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_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_overall_DPMFLOW/dp_overall_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.3635069811716676]