Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001119/0.001119, allocations: 80.92 kB / 21.5 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.001293/0.001293, allocations: 167.8 kB / 24.91 MB, free: 8.77 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.9718/0.9718, allocations: 177.1 MB / 205.3 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3177/0.3177, allocations: 32.81 MB / 294.6 MB, free: 1.242 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 323.2 MB, free: 9.691 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.492e-05/2.671e-05, allocations: 4.531 kB / 323.3 MB, free: 9.688 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW): time 0.003406/0.003433, allocations: 1.886 MB / 325.1 MB, free: 7.789 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003566/0.006999, allocations: 2.874 MB / 328 MB, free: 4.906 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.584e-05/0.007075, allocations: 0 / 328 MB, free: 4.906 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002673/0.007342, allocations: 47.69 kB / 328.1 MB, free: 4.859 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003697/0.007712, allocations: 95.42 kB / 328.1 MB, free: 4.766 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001451/0.009163, allocations: 0.7359 MB / 328.9 MB, free: 4.027 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002788/0.009442, allocations: 262.5 kB / 329.1 MB, free: 3.77 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.259e-05/0.009495, allocations: 14.56 kB / 329.2 MB, free: 3.758 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002213/0.009716, allocations: 131.6 kB / 329.3 MB, free: 3.629 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001475/0.009863, allocations: 111.5 kB / 329.4 MB, free: 3.52 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.014e-05/0.009883, allocations: 8 kB / 329.4 MB, free: 3.512 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000798/0.01068, allocations: 0.6157 MB / 330 MB, free: 2.895 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000109/0.01079, allocations: 71.7 kB / 330.1 MB, free: 2.824 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.346e-05/0.01086, allocations: 75.66 kB / 330.2 MB, free: 2.75 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008424/0.01171, allocations: 0.7824 MB / 330.9 MB, free: 1.965 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.505e-06/0.01171, allocations: 0 / 330.9 MB, free: 1.965 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.01171, allocations: 0 / 330.9 MB, free: 1.965 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.238e-06/0.01171, allocations: 0 / 330.9 MB, free: 1.965 MB / 298.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.0007175/0.01243, allocations: 0.5696 MB / 331.5 MB, free: 1.367 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.661e-05/0.01247, allocations: 8.031 kB / 331.5 MB, free: 1.359 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.548e-05/0.01253, allocations: 40.91 kB / 331.6 MB, free: 1.32 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000178/0.01271, allocations: 173.2 kB / 331.7 MB, free: 1.121 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002141/0.01293, allocations: 20.78 kB / 331.7 MB, free: 1.102 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.304e-05/0.01296, allocations: 27.98 kB / 331.8 MB, free: 1.074 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000308/0.01327, allocations: 279.6 kB / 332.1 MB, free: 0.793 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.01328, allocations: 3.984 kB / 332.1 MB, free: 0.7891 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.766e-05/0.0133, allocations: 8 kB / 332.1 MB, free: 0.7812 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.432e-05/0.01335, allocations: 48.97 kB / 332.1 MB, free: 0.7305 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001686/0.01352, allocations: 170.8 kB / 332.3 MB, free: 0.5664 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009655/0.01448, allocations: 0.7826 MB / 333.1 MB, free: 15.75 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002201/0.0147, allocations: 144.7 kB / 333.2 MB, free: 15.6 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.563e-05/0.01475, allocations: 28.84 kB / 333.2 MB, free: 15.57 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.586e-05/0.01478, allocations: 12 kB / 333.2 MB, free: 15.55 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.478e-05/0.0148, allocations: 38.5 kB / 333.3 MB, free: 15.51 MB / 314.7 MB Notification: Performance of pre-optimization done (n=25): time 1.773e-06/0.0148, allocations: 4 kB / 333.3 MB, free: 15.5 MB / 314.7 MB Notification: Performance of matching and sorting (n=25): time 0.0002006/0.015, allocations: 135.5 kB / 333.4 MB, free: 15.37 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.922e-05/0.01503, allocations: 51.41 kB / 333.5 MB, free: 15.3 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.935e-05/0.01513, allocations: 154.4 kB / 333.6 MB, free: 15.14 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.952e-05/0.01515, allocations: 29.7 kB / 333.6 MB, free: 15.11 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.495e-05/0.01525, allocations: 208 kB / 333.8 MB, free: 14.9 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.845e-05/0.01529, allocations: 91.2 kB / 333.9 MB, free: 14.81 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.493e-05/0.01536, allocations: 69.61 kB / 334 MB, free: 14.73 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.288e-05/0.01544, allocations: 322.8 kB / 334.3 MB, free: 14.41 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.412e-05/0.01548, allocations: 23.98 kB / 334.3 MB, free: 14.39 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.303e-05/0.01556, allocations: 117.4 kB / 334.5 MB, free: 14.24 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001471/0.01571, allocations: 182.2 kB / 334.6 MB, free: 14.02 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.01571, allocations: 0 / 334.6 MB, free: 14.02 MB / 314.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000169/0.01588, allocations: 165.7 kB / 334.8 MB, free: 13.86 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/0.01589, allocations: 8 kB / 334.8 MB, free: 13.85 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.371e-06/0.0159, allocations: 4 kB / 334.8 MB, free: 13.84 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.01591, allocations: 4 kB / 334.8 MB, free: 13.84 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002723/0.01618, allocations: 115.9 kB / 334.9 MB, free: 13.73 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008691/0.01705, allocations: 2.354 MB / 337.3 MB, free: 11.27 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.672e-05/0.01714, allocations: 27.78 kB / 337.3 MB, free: 11.24 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.864e-05/0.01716, allocations: 15.98 kB / 337.3 MB, free: 11.23 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 9.862e-05/0.01726, allocations: 128.6 kB / 337.4 MB, free: 11.09 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.003e-05/0.01729, allocations: 19.92 kB / 337.5 MB, free: 11.07 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002726/0.01756, allocations: 223.8 kB / 337.7 MB, free: 10.85 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.01756, allocations: 4 kB / 337.7 MB, free: 10.84 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.01757, allocations: 0 / 337.7 MB, free: 10.84 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.01757, allocations: 3.984 kB / 337.7 MB, free: 10.84 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001672/0.01774, allocations: 149.7 kB / 337.8 MB, free: 10.68 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.01774, allocations: 0 / 337.8 MB, free: 10.68 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002121/0.01795, allocations: 103.9 kB / 337.9 MB, free: 10.57 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.01796, allocations: 0 / 337.9 MB, free: 10.57 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.524e-05/0.01797, allocations: 15.94 kB / 338 MB, free: 10.56 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008651/0.01884, allocations: 2.353 MB / 340.3 MB, free: 8.102 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.01884, allocations: 0 / 340.3 MB, free: 8.102 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001637/0.019, allocations: 230.2 kB / 340.5 MB, free: 7.859 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.544e-05/0.01902, allocations: 19.84 kB / 340.6 MB, free: 7.84 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.683e-05/0.01903, allocations: 4 kB / 340.6 MB, free: 7.836 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.766e-05/0.01909, allocations: 11.98 kB / 340.6 MB, free: 7.824 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.534e-05/0.01914, allocations: 23.91 kB / 340.6 MB, free: 7.801 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.329e-05/0.01915, allocations: 11.98 kB / 340.6 MB, free: 7.789 MB / 314.7 MB Notification: Performance of sorting global known variables: time 2.186e-05/0.01917, allocations: 23.52 kB / 340.6 MB, free: 7.766 MB / 314.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01917, allocations: 0 / 340.6 MB, free: 7.766 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004475/0.01962, allocations: 246.8 kB / 340.9 MB, free: 7.523 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.0004713/0.02009, allocations: 371.1 kB / 341.2 MB, free: 7.152 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002701/0.02036, allocations: 173.3 kB / 341.4 MB, free: 6.98 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.549e-06/0.02036, allocations: 0 / 341.4 MB, free: 6.98 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001397/0.0205, allocations: 113.2 kB / 341.5 MB, free: 6.867 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001918/0.0207, allocations: 19.98 kB / 341.5 MB, free: 6.848 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000831/0.02153, allocations: 0.5487 MB / 342.1 MB, free: 6.27 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.084e-05/0.0216, allocations: 112.3 kB / 342.2 MB, free: 6.141 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001084/0.02171, allocations: 45.81 kB / 342.2 MB, free: 6.09 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.62e-05/0.02179, allocations: 83.36 kB / 342.3 MB, free: 6.008 MB / 314.7 MB Notification: Performance of SimCode: time 8.82e-07/0.02179, allocations: 0 / 342.3 MB, free: 6.008 MB / 314.7 MB Notification: Performance of Templates: time 0.009277/0.03107, allocations: 7.141 MB / 349.5 MB, free: 14.93 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.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.0.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.4479415249079466]