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.001251/0.001251, allocations: 87.58 kB / 21.19 MB, free: 3.371 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.001426/0.001426, allocations: 165 kB / 24.56 MB, free: 4 kB / 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.9631/0.9631, allocations: 177.1 MB / 205 MB, free: 5.633 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.2636/0.2636, allocations: 34.26 MB / 295.7 MB, free: 0.7539 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.633e-06/1.633e-06, allocations: 0 / 378.1 MB, free: 2.625 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.442e-05/2.605e-05, allocations: 9.266 kB / 378.1 MB, free: 2.617 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW): time 0.002485/0.002511, allocations: 1.892 MB / 380 MB, free: 0.707 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003034/0.005545, allocations: 2.886 MB / 382.8 MB, free: 13.81 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.639e-05/0.005641, allocations: 0 / 382.8 MB, free: 13.81 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002461/0.005887, allocations: 39.75 kB / 382.9 MB, free: 13.77 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002733/0.00616, allocations: 87.44 kB / 383 MB, free: 13.69 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001518/0.007679, allocations: 0.7469 MB / 383.7 MB, free: 12.94 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002685/0.007947, allocations: 250.6 kB / 384 MB, free: 12.69 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.155e-05/0.007999, allocations: 8.594 kB / 384 MB, free: 12.68 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002552/0.008254, allocations: 135.5 kB / 384.1 MB, free: 12.55 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001479/0.008402, allocations: 111.6 kB / 384.2 MB, free: 12.44 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.304e-05/0.008425, allocations: 8 kB / 384.2 MB, free: 12.43 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009593/0.009384, allocations: 0.608 MB / 384.8 MB, free: 11.82 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001056/0.00949, allocations: 79.62 kB / 384.9 MB, free: 11.75 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 9.233e-05/0.009582, allocations: 71.72 kB / 385 MB, free: 11.68 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00108/0.01066, allocations: 0.7824 MB / 385.8 MB, free: 10.89 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.01067, allocations: 0 / 385.8 MB, free: 10.89 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.01067, allocations: 0 / 385.8 MB, free: 10.89 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.321e-06/0.01067, allocations: 0 / 385.8 MB, free: 10.89 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.0008802/0.01155, allocations: 0.7172 MB / 386.5 MB, free: 10.14 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.01159, allocations: 12.03 kB / 386.5 MB, free: 10.12 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.086e-05/0.01167, allocations: 56.69 kB / 386.5 MB, free: 10.07 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001985/0.01187, allocations: 184.1 kB / 386.7 MB, free: 9.863 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.237e-05/0.01189, allocations: 20.78 kB / 386.7 MB, free: 9.84 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.116e-05/0.01193, allocations: 28 kB / 386.8 MB, free: 9.812 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003941/0.01232, allocations: 292.8 kB / 387.1 MB, free: 9.52 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.01233, allocations: 0 / 387.1 MB, free: 9.52 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.11e-05/0.01235, allocations: 11.98 kB / 387.1 MB, free: 9.508 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.748e-05/0.01241, allocations: 48.97 kB / 387.1 MB, free: 9.457 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003387/0.01275, allocations: 249.8 kB / 387.4 MB, free: 9.215 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001143/0.01389, allocations: 0.9543 MB / 388.3 MB, free: 8.199 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000333/0.01422, allocations: 177.8 kB / 388.5 MB, free: 8.016 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.36e-05/0.0143, allocations: 51.66 kB / 388.5 MB, free: 7.961 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.277e-05/0.01433, allocations: 12 kB / 388.6 MB, free: 7.949 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.516e-05/0.01436, allocations: 37.39 kB / 388.6 MB, free: 7.902 MB / 362.7 MB Notification: Performance of pre-optimization done (n=25): time 1.813e-06/0.01436, allocations: 0 / 388.6 MB, free: 7.902 MB / 362.7 MB Notification: Performance of matching and sorting (n=25): time 0.000339/0.0147, allocations: 198.8 kB / 388.8 MB, free: 7.703 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.654e-05/0.01473, allocations: 63.28 kB / 388.8 MB, free: 7.629 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001123/0.01484, allocations: 204.8 kB / 389 MB, free: 7.414 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001582/0.015, allocations: 29.7 kB / 389.1 MB, free: 7.379 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.718e-05/0.0151, allocations: 251.2 kB / 389.3 MB, free: 7.129 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.756e-05/0.01515, allocations: 91.22 kB / 389.4 MB, free: 7.039 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.463e-05/0.01522, allocations: 83.3 kB / 389.5 MB, free: 6.949 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001212/0.01534, allocations: 0.5001 MB / 390 MB, free: 6.438 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.511e-05/0.01541, allocations: 43.83 kB / 390 MB, free: 6.395 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001176/0.01553, allocations: 161.7 kB / 390.2 MB, free: 6.188 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001954/0.01572, allocations: 220.2 kB / 390.4 MB, free: 5.922 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.01572, allocations: 0 / 390.4 MB, free: 5.922 MB / 362.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0002588/0.01598, allocations: 233.3 kB / 390.6 MB, free: 5.688 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.016, allocations: 8 kB / 390.6 MB, free: 5.68 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.01601, allocations: 352 / 390.6 MB, free: 5.68 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.096e-05/0.01603, allocations: 8 kB / 390.6 MB, free: 5.672 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003025/0.01633, allocations: 139.7 kB / 390.8 MB, free: 5.535 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001354/0.01768, allocations: 3.581 MB / 394.4 MB, free: 1.84 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001115/0.01779, allocations: 36.02 kB / 394.4 MB, free: 1.805 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.773e-05/0.01781, allocations: 19.94 kB / 394.4 MB, free: 1.785 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.0001062/0.01792, allocations: 176.5 kB / 394.6 MB, free: 1.602 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.523e-05/0.01795, allocations: 23.91 kB / 394.6 MB, free: 1.578 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003706/0.01832, allocations: 271.1 kB / 394.9 MB, free: 1.309 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.01833, allocations: 0 / 394.9 MB, free: 1.309 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.01833, allocations: 11.98 kB / 394.9 MB, free: 1.297 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.658e-06/0.01834, allocations: 3.984 kB / 394.9 MB, free: 1.293 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002042/0.01854, allocations: 252.3 kB / 395.1 MB, free: 1.012 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.01854, allocations: 4 kB / 395.1 MB, free: 1.008 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002422/0.01879, allocations: 119.9 kB / 395.3 MB, free: 0.8906 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.01879, allocations: 0 / 395.3 MB, free: 0.8906 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.427e-05/0.0188, allocations: 11.98 kB / 395.3 MB, free: 0.8789 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009559/0.01976, allocations: 3.573 MB / 398.8 MB, free: 13.19 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.504e-06/0.01976, allocations: 4.188 kB / 398.9 MB, free: 13.19 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002535/0.02002, allocations: 339.8 kB / 399.2 MB, free: 12.84 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.545e-05/0.02003, allocations: 19.83 kB / 399.2 MB, free: 12.82 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.909e-05/0.02005, allocations: 8 kB / 399.2 MB, free: 12.81 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.309e-05/0.02011, allocations: 8 kB / 399.2 MB, free: 12.8 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.001e-05/0.02016, allocations: 27.89 kB / 399.2 MB, free: 12.77 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.355e-05/0.02018, allocations: 12 kB / 399.3 MB, free: 12.76 MB / 378.7 MB Notification: Performance of sorting global known variables: time 4.767e-05/0.02022, allocations: 139.2 kB / 399.4 MB, free: 12.62 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02022, allocations: 0 / 399.4 MB, free: 12.62 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005226/0.02075, allocations: 250.7 kB / 399.6 MB, free: 12.38 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.0004842/0.02123, allocations: 381.9 kB / 400 MB, free: 12 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005811/0.02181, allocations: 208.7 kB / 400.2 MB, free: 11.79 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.02181, allocations: 0 / 400.2 MB, free: 11.79 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000171/0.02199, allocations: 148 kB / 400.4 MB, free: 11.64 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002087/0.02219, allocations: 23.98 kB / 400.4 MB, free: 11.62 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009053/0.0231, allocations: 0.5284 MB / 400.9 MB, free: 11.06 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.135e-05/0.02316, allocations: 116.2 kB / 401 MB, free: 10.93 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001552/0.02332, allocations: 93.72 kB / 401.1 MB, free: 10.84 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.162e-05/0.02337, allocations: 24.5 kB / 401.1 MB, free: 10.81 MB / 378.7 MB Notification: Performance of SimCode: time 6.11e-07/0.02337, allocations: 0 / 401.1 MB, free: 10.81 MB / 378.7 MB Notification: Performance of Templates: time 0.0075/0.03087, allocations: 6.213 MB / 407.4 MB, free: 4.648 MB / 378.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.7262886040844023]