Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001085/0.001085, allocations: 79.69 kB / 21.7 MB, free: 2.852 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001229/0.001229, allocations: 160.9 kB / 24.99 MB, free: 8.801 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.023/1.023, allocations: 177 MB / 205.2 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2746/0.2746, allocations: 34.87 MB / 296.6 MB, free: 500 kB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.342e-06/1.342e-06, allocations: 0 / 378.8 MB, free: 2.367 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.336e-05/1.47e-05, allocations: 4.562 kB / 378.8 MB, free: 2.363 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW): time 0.00212/0.002135, allocations: 1.895 MB / 380.7 MB, free: 464 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001788/0.003923, allocations: 1.659 MB / 382.3 MB, free: 14.79 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.382e-05/0.003987, allocations: 0 / 382.3 MB, free: 14.79 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002113/0.004198, allocations: 43.64 kB / 382.4 MB, free: 14.75 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000242/0.00444, allocations: 83.5 kB / 382.5 MB, free: 14.66 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005299/0.00497, allocations: 410.4 kB / 382.9 MB, free: 14.26 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002024/0.005173, allocations: 254.6 kB / 383.1 MB, free: 14.01 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.456e-05/0.005217, allocations: 16.58 kB / 383.1 MB, free: 14 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001986/0.005416, allocations: 143.4 kB / 383.3 MB, free: 13.86 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001163/0.005532, allocations: 99.69 kB / 383.4 MB, free: 13.76 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.754e-05/0.00555, allocations: 8 kB / 383.4 MB, free: 13.75 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003746/0.005924, allocations: 335.1 kB / 383.7 MB, free: 13.42 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.082e-05/0.006005, allocations: 71.69 kB / 383.8 MB, free: 13.35 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 6.456e-05/0.00607, allocations: 75.67 kB / 383.8 MB, free: 13.28 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004926/0.006562, allocations: 0.5098 MB / 384.3 MB, free: 12.77 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.823e-06/0.006564, allocations: 0 / 384.3 MB, free: 12.77 MB / 362.7 MB Notification: Performance of FrontEnd: time 4.61e-07/0.006565, allocations: 0 / 384.3 MB, free: 12.77 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.278e-06/0.006569, allocations: 0 / 384.3 MB, free: 12.77 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.0006287/0.007198, allocations: 0.6593 MB / 385 MB, free: 12.07 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.651e-05/0.007234, allocations: 12.03 kB / 385 MB, free: 12.06 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.226e-05/0.007306, allocations: 52.7 kB / 385.1 MB, free: 12.01 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001761/0.007482, allocations: 176.2 kB / 385.2 MB, free: 11.81 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.013e-05/0.007503, allocations: 28.77 kB / 385.3 MB, free: 11.78 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.614e-05/0.007529, allocations: 24 kB / 385.3 MB, free: 11.75 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003282/0.007857, allocations: 300.7 kB / 385.6 MB, free: 11.46 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.007865, allocations: 0 / 385.6 MB, free: 11.46 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.143e-05/0.007887, allocations: 11.98 kB / 385.6 MB, free: 11.45 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.115e-05/0.007938, allocations: 44.97 kB / 385.6 MB, free: 11.4 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002631/0.008201, allocations: 249.8 kB / 385.9 MB, free: 11.16 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009754/0.009177, allocations: 0.9465 MB / 386.8 MB, free: 10.15 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002746/0.009451, allocations: 181.2 kB / 387 MB, free: 9.961 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.554e-05/0.009517, allocations: 51.66 kB / 387.1 MB, free: 9.906 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.296e-05/0.00954, allocations: 7.984 kB / 387.1 MB, free: 9.898 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.04e-05/0.00956, allocations: 45.39 kB / 387.1 MB, free: 9.844 MB / 362.7 MB Notification: Performance of pre-optimization done (n=25): time 1.513e-06/0.009562, allocations: 0 / 387.1 MB, free: 9.844 MB / 362.7 MB Notification: Performance of matching and sorting (n=25): time 0.0002984/0.00986, allocations: 202.1 kB / 387.3 MB, free: 9.641 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.725e-05/0.009887, allocations: 63.28 kB / 387.4 MB, free: 9.566 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.542e-05/0.009983, allocations: 204.2 kB / 387.6 MB, free: 9.352 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.506e-05/0.009998, allocations: 29.7 kB / 387.6 MB, free: 9.316 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.825e-05/0.01009, allocations: 242.9 kB / 387.8 MB, free: 9.074 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.435e-05/0.01013, allocations: 95.59 kB / 387.9 MB, free: 8.98 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.476e-05/0.0102, allocations: 75.34 kB / 388 MB, free: 8.898 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001144/0.01031, allocations: 0.504 MB / 388.5 MB, free: 8.383 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.377e-05/0.01037, allocations: 47.77 kB / 388.6 MB, free: 8.336 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001069/0.01048, allocations: 153.7 kB / 388.7 MB, free: 8.137 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001852/0.01067, allocations: 232.1 kB / 388.9 MB, free: 7.859 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.01067, allocations: 4 kB / 388.9 MB, free: 7.855 MB / 362.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0002457/0.01091, allocations: 233.2 kB / 389.2 MB, free: 7.621 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.147e-05/0.01093, allocations: 4.344 kB / 389.2 MB, free: 7.617 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.01093, allocations: 8 kB / 389.2 MB, free: 7.609 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.01094, allocations: 4 kB / 389.2 MB, free: 7.605 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002801/0.01123, allocations: 135.8 kB / 389.3 MB, free: 7.473 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001013/0.01224, allocations: 3.581 MB / 392.9 MB, free: 3.777 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.469e-05/0.01232, allocations: 39.77 kB / 392.9 MB, free: 3.738 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.665e-05/0.01234, allocations: 12 kB / 392.9 MB, free: 3.727 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 9.249e-05/0.01243, allocations: 176.5 kB / 393.1 MB, free: 3.543 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.212e-05/0.01246, allocations: 19.91 kB / 393.1 MB, free: 3.523 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003308/0.01279, allocations: 267.1 kB / 393.4 MB, free: 3.258 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.0128, allocations: 4 kB / 393.4 MB, free: 3.254 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.0128, allocations: 0 / 393.4 MB, free: 3.254 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.01281, allocations: 3.984 kB / 393.4 MB, free: 3.25 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001883/0.01299, allocations: 248.4 kB / 393.6 MB, free: 2.973 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.013, allocations: 0 / 393.6 MB, free: 2.973 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002335/0.01323, allocations: 123.9 kB / 393.8 MB, free: 2.852 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.005e-06/0.01323, allocations: 0 / 393.8 MB, free: 2.852 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.365e-05/0.01325, allocations: 8 kB / 393.8 MB, free: 2.844 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008879/0.01413, allocations: 3.577 MB / 397.4 MB, free: 15.15 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.049e-06/0.01414, allocations: 11.95 kB / 397.4 MB, free: 15.14 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000238/0.01438, allocations: 343.7 kB / 397.7 MB, free: 14.79 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.347e-05/0.01439, allocations: 15.84 kB / 397.7 MB, free: 14.77 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.02e-05/0.01441, allocations: 7.984 kB / 397.7 MB, free: 14.76 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.956e-05/0.01447, allocations: 4 kB / 397.7 MB, free: 14.76 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.884e-05/0.01452, allocations: 23.91 kB / 397.7 MB, free: 14.73 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.334e-05/0.01453, allocations: 15.98 kB / 397.8 MB, free: 14.72 MB / 378.7 MB Notification: Performance of sorting global known variables: time 4.331e-05/0.01458, allocations: 139.2 kB / 397.9 MB, free: 14.58 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01458, allocations: 0 / 397.9 MB, free: 14.58 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003021/0.01488, allocations: 179.2 kB / 398.1 MB, free: 14.41 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.0002818/0.01516, allocations: 246.4 kB / 398.3 MB, free: 14.16 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003204/0.01548, allocations: 216.2 kB / 398.5 MB, free: 13.94 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.272e-06/0.01548, allocations: 0 / 398.5 MB, free: 13.94 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00017/0.01565, allocations: 136 kB / 398.7 MB, free: 13.8 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000195/0.01585, allocations: 27.98 kB / 398.7 MB, free: 13.78 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000854/0.0167, allocations: 0.5307 MB / 399.2 MB, free: 13.22 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.281e-05/0.01676, allocations: 116.2 kB / 399.3 MB, free: 13.09 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001572/0.01692, allocations: 97.7 kB / 399.4 MB, free: 12.99 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.887e-05/0.01697, allocations: 28.5 kB / 399.5 MB, free: 12.96 MB / 378.7 MB Notification: Performance of SimCode: time 7.41e-07/0.01697, allocations: 0 / 399.5 MB, free: 12.96 MB / 378.7 MB Notification: Performance of Templates: time 0.0061/0.02307, allocations: 4.542 MB / 404 MB, free: 8.473 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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.574141269084066]