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.001007/0.001007, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.0009232/0.0009232, allocations: 168.7 kB / 24.91 MB, free: 9.199 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.018/1.018, allocations: 177.1 MB / 205.3 MB, free: 5.492 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.2562/0.2562, allocations: 34.26 MB / 296.1 MB, free: 0.6484 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.804e-06/1.804e-06, allocations: 0 / 325.3 MB, free: 7.652 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.682e-05/2.862e-05, allocations: 3.188 kB / 325.3 MB, free: 7.648 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW): time 0.002628/0.002656, allocations: 1.886 MB / 327.2 MB, free: 5.746 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003105/0.005761, allocations: 2.883 MB / 330 MB, free: 2.855 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.736e-05/0.005839, allocations: 0 / 330 MB, free: 2.855 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002531/0.006092, allocations: 43.75 kB / 330.1 MB, free: 2.812 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002389/0.006331, allocations: 95.38 kB / 330.2 MB, free: 2.719 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001014/0.007345, allocations: 0.7391 MB / 330.9 MB, free: 1.977 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002017/0.007547, allocations: 250.6 kB / 331.2 MB, free: 1.73 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.536e-05/0.007592, allocations: 14.56 kB / 331.2 MB, free: 1.719 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001924/0.007784, allocations: 143.5 kB / 331.3 MB, free: 1.578 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001359/0.00792, allocations: 99.64 kB / 331.4 MB, free: 1.48 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.006e-05/0.00794, allocations: 8 kB / 331.4 MB, free: 1.473 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007054/0.008646, allocations: 0.6196 MB / 332 MB, free: 0.8477 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.652e-05/0.008722, allocations: 71.7 kB / 332.1 MB, free: 0.7773 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.986e-05/0.008782, allocations: 67.72 kB / 332.2 MB, free: 0.7109 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007564/0.009538, allocations: 0.7901 MB / 333 MB, free: 15.92 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.009542, allocations: 4 kB / 333 MB, free: 15.91 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.009543, allocations: 0 / 333 MB, free: 15.91 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.937e-06/0.009547, allocations: 0 / 333 MB, free: 15.91 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.0005838/0.01013, allocations: 0.5698 MB / 333.5 MB, free: 15.32 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.097e-05/0.01016, allocations: 8.031 kB / 333.6 MB, free: 15.31 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.606e-05/0.01022, allocations: 44.89 kB / 333.6 MB, free: 15.27 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001516/0.01037, allocations: 165.3 kB / 333.8 MB, free: 15.08 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.556e-05/0.01038, allocations: 20.78 kB / 333.8 MB, free: 15.06 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.795e-05/0.01041, allocations: 27.98 kB / 333.8 MB, free: 15.03 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000269/0.01068, allocations: 279.5 kB / 334.1 MB, free: 14.75 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.01069, allocations: 4 kB / 334.1 MB, free: 14.75 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.165e-05/0.01071, allocations: 8 kB / 334.1 MB, free: 14.74 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.006e-05/0.01076, allocations: 52.95 kB / 334.1 MB, free: 14.68 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000162/0.01092, allocations: 170.9 kB / 334.3 MB, free: 14.52 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008793/0.0118, allocations: 0.7786 MB / 335.1 MB, free: 13.7 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002024/0.012, allocations: 146 kB / 335.2 MB, free: 13.55 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.339e-05/0.01205, allocations: 36.84 kB / 335.3 MB, free: 13.51 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.357e-05/0.01207, allocations: 4 kB / 335.3 MB, free: 13.51 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.061e-05/0.01209, allocations: 34.56 kB / 335.3 MB, free: 13.46 MB / 314.7 MB Notification: Performance of pre-optimization done (n=25): time 1.633e-06/0.01209, allocations: 0 / 335.3 MB, free: 13.46 MB / 314.7 MB Notification: Performance of matching and sorting (n=25): time 0.000197/0.01229, allocations: 139.5 kB / 335.4 MB, free: 13.32 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.875e-05/0.01232, allocations: 55.41 kB / 335.5 MB, free: 13.26 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.878e-05/0.0124, allocations: 160.8 kB / 335.7 MB, free: 13.09 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.479e-05/0.01241, allocations: 25.7 kB / 335.7 MB, free: 13.06 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.04e-05/0.01248, allocations: 196.2 kB / 335.9 MB, free: 12.86 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.17e-05/0.01253, allocations: 87.22 kB / 336 MB, free: 12.78 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.226e-05/0.01259, allocations: 69.61 kB / 336 MB, free: 12.7 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.634e-05/0.01266, allocations: 326.8 kB / 336.3 MB, free: 12.38 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.273e-05/0.0127, allocations: 23.98 kB / 336.4 MB, free: 12.35 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.119e-05/0.01278, allocations: 120.2 kB / 336.5 MB, free: 12.2 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001368/0.01291, allocations: 178.3 kB / 336.7 MB, free: 11.99 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.01292, allocations: 0 / 336.7 MB, free: 11.99 MB / 314.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0001652/0.01308, allocations: 173.6 kB / 336.8 MB, free: 11.81 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.051e-05/0.01309, allocations: 8.031 kB / 336.8 MB, free: 11.8 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.603e-06/0.0131, allocations: 7.984 kB / 336.8 MB, free: 11.8 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.01311, allocations: 4 kB / 336.8 MB, free: 11.79 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002688/0.01338, allocations: 111.9 kB / 337 MB, free: 11.68 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007431/0.01413, allocations: 2.351 MB / 339.3 MB, free: 9.23 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.798e-05/0.0142, allocations: 31.77 kB / 339.3 MB, free: 9.199 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.539e-05/0.01422, allocations: 12 kB / 339.3 MB, free: 9.188 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.266e-05/0.0143, allocations: 128.6 kB / 339.5 MB, free: 9.051 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.848e-05/0.01433, allocations: 19.92 kB / 339.5 MB, free: 9.031 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002594/0.01459, allocations: 223.5 kB / 339.7 MB, free: 8.809 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.01459, allocations: 4 kB / 339.7 MB, free: 8.805 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.413e-06/0.01459, allocations: 0 / 339.7 MB, free: 8.805 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/0.0146, allocations: 7.969 kB / 339.7 MB, free: 8.797 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001679/0.01477, allocations: 145.7 kB / 339.9 MB, free: 8.637 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.01477, allocations: 4 kB / 339.9 MB, free: 8.633 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002118/0.01498, allocations: 99.94 kB / 340 MB, free: 8.535 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.337e-06/0.01498, allocations: 4 kB / 340 MB, free: 8.531 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.438e-05/0.015, allocations: 19.86 kB / 340 MB, free: 8.512 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007082/0.01571, allocations: 2.353 MB / 342.3 MB, free: 6.055 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.01571, allocations: 0 / 342.3 MB, free: 6.055 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000171/0.01588, allocations: 234.2 kB / 342.6 MB, free: 5.809 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.372e-05/0.01589, allocations: 15.84 kB / 342.6 MB, free: 5.793 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.829e-05/0.01591, allocations: 7.984 kB / 342.6 MB, free: 5.785 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.441e-05/0.01599, allocations: 8 kB / 342.6 MB, free: 5.777 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.948e-05/0.01603, allocations: 15.97 kB / 342.6 MB, free: 5.762 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.28e-05/0.01604, allocations: 11.98 kB / 342.6 MB, free: 5.75 MB / 314.7 MB Notification: Performance of sorting global known variables: time 1.918e-05/0.01606, allocations: 27.5 kB / 342.7 MB, free: 5.723 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01606, allocations: 0 / 342.7 MB, free: 5.723 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003638/0.01642, allocations: 254.8 kB / 342.9 MB, free: 5.473 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.0004378/0.01686, allocations: 363 kB / 343.3 MB, free: 5.109 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002577/0.01712, allocations: 173.2 kB / 343.4 MB, free: 4.938 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.01712, allocations: 0 / 343.4 MB, free: 4.938 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001374/0.01726, allocations: 113.2 kB / 343.5 MB, free: 4.824 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001423/0.0174, allocations: 16 kB / 343.6 MB, free: 4.809 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007534/0.01815, allocations: 0.5437 MB / 344.1 MB, free: 4.234 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.901e-05/0.01821, allocations: 116.3 kB / 344.2 MB, free: 4.102 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001094/0.01832, allocations: 49.8 kB / 344.3 MB, free: 4.047 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.866e-05/0.0184, allocations: 79.36 kB / 344.3 MB, free: 3.969 MB / 314.7 MB Notification: Performance of SimCode: time 6.72e-07/0.0184, allocations: 0 / 344.3 MB, free: 3.969 MB / 314.7 MB Notification: Performance of Templates: time 0.008086/0.02649, allocations: 7.142 MB / 351.5 MB, free: 12.88 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 -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.534727546852082]