Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001096/0.001096, allocations: 88.2 kB / 20.94 MB, free: 3.609 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.001316/0.001316, allocations: 169 kB / 24.24 MB, free: 316 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.032/1.032, allocations: 158.6 MB / 186 MB, free: 2.895 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1453/0.1453, allocations: 32.37 MB / 270.7 MB, free: 14.77 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 347.7 MB, free: 9.746 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.329e-05/2.489e-05, allocations: 2.312 kB / 347.7 MB, free: 9.742 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW): time 0.002287/0.002312, allocations: 1.892 MB / 349.6 MB, free: 7.84 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001813/0.004125, allocations: 1.622 MB / 351.2 MB, free: 6.211 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.342e-05/0.004208, allocations: 7.938 kB / 351.2 MB, free: 6.203 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002375/0.004446, allocations: 35.77 kB / 351.3 MB, free: 6.168 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002693/0.004715, allocations: 87.48 kB / 351.3 MB, free: 6.082 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006744/0.005389, allocations: 406.3 kB / 351.7 MB, free: 5.684 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002087/0.005598, allocations: 258.5 kB / 352 MB, free: 5.43 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.086e-05/0.005659, allocations: 16.58 kB / 352 MB, free: 5.418 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001842/0.005843, allocations: 127.6 kB / 352.1 MB, free: 5.293 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001219/0.005965, allocations: 111.6 kB / 352.2 MB, free: 5.184 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.962e-05/0.005985, allocations: 8 kB / 352.3 MB, free: 5.176 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003903/0.006375, allocations: 315.1 kB / 352.6 MB, free: 4.867 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.456e-05/0.00646, allocations: 71.69 kB / 352.6 MB, free: 4.797 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 7.181e-05/0.006531, allocations: 71.72 kB / 352.7 MB, free: 4.727 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005418/0.007073, allocations: 0.4981 MB / 353.2 MB, free: 4.227 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.007077, allocations: 0 / 353.2 MB, free: 4.227 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.007079, allocations: 4 kB / 353.2 MB, free: 4.223 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.662e-06/0.007086, allocations: 0 / 353.2 MB, free: 4.223 MB / 282.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.0007192/0.007805, allocations: 0.6592 MB / 353.9 MB, free: 3.527 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.814e-05/0.007853, allocations: 12.03 kB / 353.9 MB, free: 3.516 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.45e-05/0.007938, allocations: 60.64 kB / 353.9 MB, free: 3.457 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001685/0.008106, allocations: 176.2 kB / 354.1 MB, free: 3.258 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.63e-05/0.008122, allocations: 24.77 kB / 354.1 MB, free: 3.23 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.469e-05/0.008147, allocations: 24 kB / 354.2 MB, free: 3.207 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003354/0.008483, allocations: 292.8 kB / 354.4 MB, free: 2.914 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.008493, allocations: 0 / 354.4 MB, free: 2.914 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.187e-05/0.008514, allocations: 15.98 kB / 354.5 MB, free: 2.898 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.022e-05/0.008565, allocations: 40.97 kB / 354.5 MB, free: 2.859 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002534/0.008818, allocations: 257.8 kB / 354.7 MB, free: 2.605 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009729/0.009791, allocations: 0.9504 MB / 355.7 MB, free: 1.598 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002832/0.01007, allocations: 186.1 kB / 355.9 MB, free: 1.406 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.322e-05/0.01014, allocations: 47.66 kB / 355.9 MB, free: 1.355 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.821e-05/0.01017, allocations: 12 kB / 355.9 MB, free: 1.344 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.754e-05/0.01019, allocations: 37.39 kB / 356 MB, free: 1.297 MB / 282.7 MB Notification: Performance of pre-optimization done (n=25): time 3.466e-06/0.0102, allocations: 0 / 356 MB, free: 1.297 MB / 282.7 MB Notification: Performance of matching and sorting (n=25): time 0.0003264/0.01052, allocations: 211.5 kB / 356.2 MB, free: 1.086 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.379e-05/0.01055, allocations: 55.34 kB / 356.2 MB, free: 1.02 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.803e-05/0.01063, allocations: 201.9 kB / 356.4 MB, free: 0.8047 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.19e-05/0.01065, allocations: 29.7 kB / 356.5 MB, free: 0.7695 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.25e-05/0.01071, allocations: 242.9 kB / 356.7 MB, free: 0.5273 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.521e-05/0.01074, allocations: 99.59 kB / 356.8 MB, free: 440 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.882e-05/0.0108, allocations: 79.34 kB / 356.9 MB, free: 352 kB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.825e-05/0.0109, allocations: 0.4962 MB / 357.4 MB, free: 15.84 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.751e-05/0.01097, allocations: 39.97 kB / 357.4 MB, free: 15.8 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001237/0.01109, allocations: 167.9 kB / 357.6 MB, free: 15.58 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002056/0.0113, allocations: 221 kB / 357.8 MB, free: 15.32 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.0113, allocations: 0 / 357.8 MB, free: 15.32 MB / 298.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0002849/0.01159, allocations: 241.1 kB / 358 MB, free: 15.07 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/0.01161, allocations: 8 kB / 358 MB, free: 15.07 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.01161, allocations: 0 / 358 MB, free: 15.07 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.832e-05/0.01163, allocations: 4.344 kB / 358 MB, free: 15.06 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003301/0.01196, allocations: 139.8 kB / 358.2 MB, free: 14.93 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001598/0.01356, allocations: 3.585 MB / 361.8 MB, free: 11.23 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001529/0.01371, allocations: 32.02 kB / 361.8 MB, free: 11.2 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.342e-05/0.01373, allocations: 20 kB / 361.8 MB, free: 11.18 MB / 298.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.0002476/0.01398, allocations: 176.5 kB / 362 MB, free: 10.99 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.651e-05/0.01403, allocations: 19.91 kB / 362 MB, free: 10.97 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004705/0.0145, allocations: 262.6 kB / 362.3 MB, free: 10.71 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.0145, allocations: 0 / 362.3 MB, free: 10.71 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/0.01451, allocations: 0 / 362.3 MB, free: 10.71 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.909e-06/0.01452, allocations: 7.984 kB / 362.3 MB, free: 10.7 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002893/0.01481, allocations: 252.3 kB / 362.5 MB, free: 10.42 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.389e-06/0.01481, allocations: 11.88 kB / 362.5 MB, free: 10.41 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002756/0.01509, allocations: 119.9 kB / 362.6 MB, free: 10.29 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.432e-06/0.01509, allocations: 0 / 362.6 MB, free: 10.29 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.738e-05/0.01511, allocations: 11.98 kB / 362.6 MB, free: 10.28 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001495/0.01661, allocations: 3.581 MB / 366.2 MB, free: 6.582 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.01661, allocations: 3.938 kB / 366.2 MB, free: 6.578 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002804/0.01689, allocations: 345 kB / 366.6 MB, free: 6.223 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.224e-05/0.01691, allocations: 19.83 kB / 366.6 MB, free: 6.203 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.473e-05/0.01694, allocations: 11.94 kB / 366.6 MB, free: 6.191 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.841e-05/0.01701, allocations: 8 kB / 366.6 MB, free: 6.184 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.618e-05/0.01707, allocations: 27.89 kB / 366.6 MB, free: 6.156 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.31e-05/0.01708, allocations: 8 kB / 366.6 MB, free: 6.148 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.676e-05/0.01714, allocations: 138.1 kB / 366.8 MB, free: 6.016 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01714, allocations: 0 / 366.8 MB, free: 6.016 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005032/0.01765, allocations: 179.2 kB / 367 MB, free: 5.84 MB / 298.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.0004226/0.01807, allocations: 230.6 kB / 367.2 MB, free: 5.605 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004231/0.01849, allocations: 216.1 kB / 367.4 MB, free: 5.391 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.01849, allocations: 0 / 367.4 MB, free: 5.391 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001806/0.01867, allocations: 135.5 kB / 367.5 MB, free: 5.254 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002591/0.01893, allocations: 31.86 kB / 367.6 MB, free: 5.223 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001097/0.02003, allocations: 0.5225 MB / 368.1 MB, free: 4.672 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.833e-05/0.02011, allocations: 116.3 kB / 368.2 MB, free: 4.539 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0005165/0.02062, allocations: 93.72 kB / 368.3 MB, free: 4.449 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.514e-05/0.02069, allocations: 32.48 kB / 368.3 MB, free: 4.418 MB / 298.7 MB Notification: Performance of SimCode: time 1.874e-06/0.02069, allocations: 0 / 368.3 MB, free: 4.418 MB / 298.7 MB Notification: Performance of Templates: time 0.007127/0.02782, allocations: 4.526 MB / 372.8 MB, free: 15.93 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.69058168400079]