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.0009137/0.0009137, 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.001028/0.001028, allocations: 169.5 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 0.9223/0.9223, allocations: 177.1 MB / 205.3 MB, free: 4.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.1372/0.1372, allocations: 34.26 MB / 296.1 MB, free: 13.98 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.132e-06/1.132e-06, allocations: 0 / 325.3 MB, free: 0.75 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.014e-05/2.127e-05, allocations: 2.312 kB / 325.3 MB, free: 0.7461 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW): time 0.002742/0.002764, allocations: 1.88 MB / 327.2 MB, free: 14.85 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.005194/0.007958, allocations: 1.648 MB / 328.8 MB, free: 13.2 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.875e-05/0.008036, allocations: 4 kB / 328.8 MB, free: 13.19 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002165/0.008253, allocations: 47.69 kB / 328.9 MB, free: 13.14 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002613/0.008514, allocations: 83.44 kB / 328.9 MB, free: 13.06 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000793/0.009307, allocations: 422.4 kB / 329.4 MB, free: 12.65 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002522/0.009559, allocations: 250.6 kB / 329.6 MB, free: 12.4 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.827e-05/0.009608, allocations: 14.56 kB / 329.6 MB, free: 12.39 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000221/0.009829, allocations: 143.4 kB / 329.8 MB, free: 12.25 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001386/0.009967, allocations: 107.6 kB / 329.9 MB, free: 12.14 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.889e-05/0.009986, allocations: 8 kB / 329.9 MB, free: 12.14 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003509/0.0135, allocations: 323.2 kB / 330.2 MB, free: 11.82 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 9.591e-05/0.01359, allocations: 75.64 kB / 330.3 MB, free: 11.75 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 8.575e-05/0.01368, allocations: 71.72 kB / 330.3 MB, free: 11.68 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006086/0.01429, allocations: 0.5059 MB / 330.8 MB, free: 11.17 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.01429, allocations: 0 / 330.8 MB, free: 11.17 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.31e-07/0.01429, allocations: 4 kB / 330.8 MB, free: 11.16 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.088e-06/0.01429, allocations: 0 / 330.8 MB, free: 11.16 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.0006414/0.01493, allocations: 0.5227 MB / 331.4 MB, free: 10.61 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/0.01498, allocations: 8.031 kB / 331.4 MB, free: 10.61 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.33e-05/0.01505, allocations: 40.91 kB / 331.4 MB, free: 10.57 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001768/0.01523, allocations: 161.4 kB / 331.6 MB, free: 10.38 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.387e-05/0.01525, allocations: 28.77 kB / 331.6 MB, free: 10.36 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.779e-05/0.01529, allocations: 27.94 kB / 331.6 MB, free: 10.33 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003343/0.01562, allocations: 271.6 kB / 331.9 MB, free: 10.05 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.01563, allocations: 0 / 331.9 MB, free: 10.05 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.617e-05/0.01566, allocations: 19.98 kB / 331.9 MB, free: 10.04 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.04e-05/0.01572, allocations: 52.95 kB / 332 MB, free: 9.98 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002092/0.01593, allocations: 162.9 kB / 332.1 MB, free: 9.824 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004087/0.02001, allocations: 0.7825 MB / 332.9 MB, free: 9.004 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003265/0.02328, allocations: 145.2 kB / 333 MB, free: 8.852 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.883e-05/0.02334, allocations: 37.52 kB / 333.1 MB, free: 8.812 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.692e-05/0.02337, allocations: 11.92 kB / 333.1 MB, free: 8.801 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.539e-05/0.02339, allocations: 38.56 kB / 333.1 MB, free: 8.754 MB / 314.7 MB Notification: Performance of pre-optimization done (n=25): time 1.473e-06/0.02339, allocations: 0 / 333.1 MB, free: 8.754 MB / 314.7 MB Notification: Performance of matching and sorting (n=25): time 0.000249/0.02364, allocations: 135.7 kB / 333.3 MB, free: 8.617 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.855e-05/0.02367, allocations: 55.41 kB / 333.3 MB, free: 8.551 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.564e-05/0.02377, allocations: 157.8 kB / 333.5 MB, free: 8.387 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.826e-05/0.02378, allocations: 29.7 kB / 333.5 MB, free: 8.352 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.577e-05/0.02387, allocations: 192.2 kB / 333.7 MB, free: 8.16 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.341e-05/0.02392, allocations: 91.2 kB / 333.8 MB, free: 8.07 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.696e-05/0.024, allocations: 65.61 kB / 333.8 MB, free: 8 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.36e-05/0.02408, allocations: 330.8 kB / 334.2 MB, free: 7.668 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.502e-05/0.02413, allocations: 23.98 kB / 334.2 MB, free: 7.645 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.996e-05/0.02423, allocations: 119.7 kB / 334.3 MB, free: 7.492 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001701/0.0244, allocations: 171 kB / 334.5 MB, free: 7.289 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.0244, allocations: 0 / 334.5 MB, free: 7.289 MB / 314.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000218/0.02462, allocations: 174 kB / 334.6 MB, free: 7.113 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.151e-05/0.02463, allocations: 4 kB / 334.6 MB, free: 7.109 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.02464, allocations: 4.344 kB / 334.6 MB, free: 7.105 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.02465, allocations: 8 kB / 334.6 MB, free: 7.098 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003443/0.025, allocations: 111.9 kB / 334.8 MB, free: 6.988 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008178/0.02581, allocations: 2.354 MB / 337.1 MB, free: 4.531 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001021/0.02592, allocations: 27.88 kB / 337.1 MB, free: 4.504 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.944e-05/0.02593, allocations: 12 kB / 337.2 MB, free: 4.492 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.845e-05/0.02603, allocations: 136.5 kB / 337.3 MB, free: 4.348 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.995e-05/0.02607, allocations: 19.92 kB / 337.3 MB, free: 4.328 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003204/0.02639, allocations: 214.6 kB / 337.5 MB, free: 4.113 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.0264, allocations: 4 kB / 337.5 MB, free: 4.109 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.312e-06/0.0264, allocations: 0 / 337.5 MB, free: 4.109 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.0264, allocations: 0 / 337.5 MB, free: 4.109 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001983/0.0266, allocations: 157.6 kB / 337.7 MB, free: 3.938 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.0266, allocations: 0 / 337.7 MB, free: 3.938 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002841/0.02689, allocations: 103.9 kB / 337.8 MB, free: 3.836 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.02689, allocations: 0 / 337.8 MB, free: 3.836 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.657e-05/0.02691, allocations: 15.88 kB / 337.8 MB, free: 3.82 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007942/0.0277, allocations: 2.349 MB / 340.1 MB, free: 1.367 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.0277, allocations: 4.25 kB / 340.1 MB, free: 1.363 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001969/0.0279, allocations: 230.2 kB / 340.4 MB, free: 1.121 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.76e-05/0.02792, allocations: 23.78 kB / 340.4 MB, free: 1.098 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.168e-05/0.02794, allocations: 4 kB / 340.4 MB, free: 1.094 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.371e-05/0.02802, allocations: 12 kB / 340.4 MB, free: 1.082 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003051/0.03107, allocations: 23.95 kB / 340.4 MB, free: 1.059 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.447e-05/0.03109, allocations: 4 kB / 340.4 MB, free: 1.055 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.049e-05/0.03112, allocations: 32.77 kB / 340.5 MB, free: 1.02 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03112, allocations: 0 / 340.5 MB, free: 1.02 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004111/0.03153, allocations: 175.2 kB / 340.6 MB, free: 0.8477 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.0003205/0.03185, allocations: 223.7 kB / 340.9 MB, free: 0.6211 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003221/0.03217, allocations: 177.8 kB / 341 MB, free: 456 kB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.03218, allocations: 0 / 341 MB, free: 456 kB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000192/0.03237, allocations: 117.2 kB / 341.1 MB, free: 336 kB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001862/0.03255, allocations: 18.84 kB / 341.2 MB, free: 320 kB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1188/0.1514, allocations: 0.5309 MB / 341.7 MB, free: 29.7 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.322e-05/0.1514, allocations: 109.7 kB / 341.8 MB, free: 29.63 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001782/0.1516, allocations: 56.84 kB / 341.9 MB, free: 29.62 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001003/0.1517, allocations: 78.16 kB / 341.9 MB, free: 29.58 MB / 314.7 MB Notification: Performance of SimCode: time 9.42e-07/0.1517, allocations: 0.5938 kB / 341.9 MB, free: 29.58 MB / 314.7 MB Notification: Performance of Templates: time 0.008133/0.1599, allocations: 5.17 MB / 347.1 MB, free: 28.83 MB / 314.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.413392878137529]