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_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.001/0.001, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.00138/0.00138, allocations: 161 kB / 24.55 MB, free: 20 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 1.034/1.034, allocations: 177.2 MB / 205 MB, free: 5.613 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.307/0.307, allocations: 32.81 MB / 294.3 MB, free: 1.262 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_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.0.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.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 376.1 MB, free: 4.605 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.421e-05/2.567e-05, allocations: 2.312 kB / 376.1 MB, free: 4.602 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW): time 0.002506/0.002532, allocations: 1.888 MB / 377.9 MB, free: 2.695 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002062/0.004594, allocations: 1.659 MB / 379.6 MB, free: 1.031 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001073/0.004701, allocations: 0 / 379.6 MB, free: 1.031 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002959/0.004997, allocations: 43.69 kB / 379.6 MB, free: 0.9883 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003478/0.005345, allocations: 91.45 kB / 379.7 MB, free: 0.8984 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008549/0.0062, allocations: 406.5 kB / 380.1 MB, free: 0.5 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002536/0.006454, allocations: 262.5 kB / 380.4 MB, free: 248 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.425e-05/0.006498, allocations: 8.594 kB / 380.4 MB, free: 240 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002314/0.006729, allocations: 143.5 kB / 380.5 MB, free: 96 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001416/0.006871, allocations: 103.7 kB / 380.6 MB, free: 15.99 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.068e-05/0.006892, allocations: 8 kB / 380.7 MB, free: 15.98 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005257/0.007417, allocations: 327 kB / 381 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001002/0.007517, allocations: 83.67 kB / 381.1 MB, free: 15.58 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 8.627e-05/0.007604, allocations: 63.73 kB / 381.1 MB, free: 15.52 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007082/0.008312, allocations: 0.5176 MB / 381.6 MB, free: 15 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.008316, allocations: 0 / 381.6 MB, free: 15 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.008317, allocations: 0 / 381.6 MB, free: 15 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.664e-06/0.008325, allocations: 0 / 381.6 MB, free: 15 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.0007613/0.009086, allocations: 0.6554 MB / 382.3 MB, free: 14.31 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.731e-05/0.009134, allocations: 8.031 kB / 382.3 MB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.238e-05/0.009226, allocations: 60.69 kB / 382.4 MB, free: 14.24 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002178/0.009444, allocations: 180.2 kB / 382.5 MB, free: 14.04 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.998e-05/0.009464, allocations: 20.77 kB / 382.5 MB, free: 14.02 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.404e-05/0.009498, allocations: 31.98 kB / 382.6 MB, free: 13.98 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004062/0.009904, allocations: 300.7 kB / 382.9 MB, free: 13.68 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.532e-05/0.009919, allocations: 0 / 382.9 MB, free: 13.68 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.264e-05/0.009942, allocations: 8 kB / 382.9 MB, free: 13.68 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.588e-05/0.01001, allocations: 44.97 kB / 382.9 MB, free: 13.63 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003014/0.01031, allocations: 249.8 kB / 383.2 MB, free: 13.39 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001218/0.01153, allocations: 0.9504 MB / 384.1 MB, free: 12.38 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003053/0.01183, allocations: 179.7 kB / 384.3 MB, free: 12.19 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.99e-05/0.0119, allocations: 51.66 kB / 384.3 MB, free: 12.13 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.188e-05/0.01193, allocations: 4 kB / 384.4 MB, free: 12.13 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.525e-05/0.01196, allocations: 41.39 kB / 384.4 MB, free: 12.08 MB / 362.7 MB Notification: Performance of pre-optimization done (n=25): time 1.633e-06/0.01196, allocations: 3.938 kB / 384.4 MB, free: 12.07 MB / 362.7 MB Notification: Performance of matching and sorting (n=25): time 0.0003474/0.01231, allocations: 206 kB / 384.6 MB, free: 11.87 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.975e-05/0.01234, allocations: 59.34 kB / 384.7 MB, free: 11.8 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001096/0.01245, allocations: 204.6 kB / 384.9 MB, free: 11.58 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.015e-05/0.01247, allocations: 33.7 kB / 384.9 MB, free: 11.54 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001089/0.01258, allocations: 246.8 kB / 385.1 MB, free: 11.3 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.799e-05/0.01263, allocations: 91.22 kB / 385.2 MB, free: 11.21 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.34e-05/0.0127, allocations: 75.34 kB / 385.3 MB, free: 11.12 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000114/0.01281, allocations: 0.4962 MB / 385.8 MB, free: 10.62 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.559e-05/0.01288, allocations: 47.83 kB / 385.8 MB, free: 10.57 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001176/0.013, allocations: 157.7 kB / 386 MB, free: 10.37 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001975/0.01319, allocations: 220 kB / 386.2 MB, free: 10.1 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.806e-06/0.0132, allocations: 0 / 386.2 MB, free: 10.1 MB / 362.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0002751/0.01347, allocations: 238.1 kB / 386.4 MB, free: 9.863 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/0.01349, allocations: 8 kB / 386.4 MB, free: 9.855 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/0.0135, allocations: 4 kB / 386.4 MB, free: 9.852 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.932e-05/0.01352, allocations: 4 kB / 386.5 MB, free: 9.848 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003317/0.01385, allocations: 135.8 kB / 386.6 MB, free: 9.715 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001118/0.01497, allocations: 3.581 MB / 390.2 MB, free: 6.02 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001088/0.01507, allocations: 35.77 kB / 390.2 MB, free: 5.984 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.948e-05/0.01509, allocations: 19.94 kB / 390.2 MB, free: 5.965 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.0001207/0.01521, allocations: 176.5 kB / 390.4 MB, free: 5.781 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.457e-05/0.01525, allocations: 24.16 kB / 390.4 MB, free: 5.758 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003838/0.01563, allocations: 271.1 kB / 390.7 MB, free: 5.488 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.01564, allocations: 8 kB / 390.7 MB, free: 5.48 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.01564, allocations: 0 / 390.7 MB, free: 5.48 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.061e-06/0.01565, allocations: 3.984 kB / 390.7 MB, free: 5.477 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002227/0.01587, allocations: 252.8 kB / 390.9 MB, free: 5.195 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.01587, allocations: 0 / 390.9 MB, free: 5.195 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002519/0.01613, allocations: 115.9 kB / 391.1 MB, free: 5.082 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.362e-06/0.01613, allocations: 8 kB / 391.1 MB, free: 5.074 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.381e-05/0.01615, allocations: 8 kB / 391.1 MB, free: 5.066 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001038/0.01718, allocations: 3.577 MB / 394.6 MB, free: 1.375 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.01719, allocations: 3.938 kB / 394.6 MB, free: 1.371 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002743/0.01746, allocations: 343.7 kB / 395 MB, free: 1.016 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.932e-05/0.01748, allocations: 19.84 kB / 395 MB, free: 0.9961 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.097e-05/0.0175, allocations: 7.984 kB / 395 MB, free: 0.9883 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.66e-05/0.01757, allocations: 8 kB / 395 MB, free: 0.9805 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.34e-05/0.01762, allocations: 28.14 kB / 395 MB, free: 0.9531 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.543e-05/0.01764, allocations: 12 kB / 395.1 MB, free: 0.9414 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.838e-05/0.01768, allocations: 139.2 kB / 395.2 MB, free: 0.8047 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01768, allocations: 0 / 395.2 MB, free: 0.8047 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004515/0.01814, allocations: 179.2 kB / 395.4 MB, free: 0.6289 MB / 362.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.0003794/0.01852, allocations: 242.4 kB / 395.6 MB, free: 392 kB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003735/0.01889, allocations: 216.1 kB / 395.8 MB, free: 172 kB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.01889, allocations: 0 / 395.8 MB, free: 172 kB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001758/0.01907, allocations: 148.7 kB / 396 MB, free: 20 kB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002509/0.01932, allocations: 24.06 kB / 396 MB, free: 15.99 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001089/0.02041, allocations: 0.5278 MB / 396.5 MB, free: 15.44 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.406e-05/0.02049, allocations: 112.3 kB / 396.6 MB, free: 15.31 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001669/0.02066, allocations: 93.7 kB / 396.7 MB, free: 15.22 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.81e-05/0.02072, allocations: 28.5 kB / 396.7 MB, free: 15.19 MB / 378.7 MB Notification: Performance of SimCode: time 8.51e-07/0.02072, allocations: 0 / 396.7 MB, free: 15.19 MB / 378.7 MB Notification: Performance of Templates: time 0.007198/0.02791, allocations: 4.55 MB / 401.3 MB, free: 10.69 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.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.0.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.732887368183583]