Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.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.0009927/0.0009927, allocations: 95.31 kB / 20.43 MB, free: 4.145 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.00142/0.00142, allocations: 165 kB / 23.8 MB, free: 0.7773 MB / 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 0.8907/0.8907, allocations: 158.6 MB / 185.7 MB, free: 2.938 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.1386/0.1386, allocations: 32.38 MB / 270.4 MB, free: 14.71 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.HeatTransfer.StraightPipe.kc_turbulent,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|cp.[0-9,]+.|eta.[0-9,]+.|lambda.[0-9,]+.|rho.[0-9,]+.|m_flow.[0-9,]+.|Re_1.[0-9,]+.|Nu_1.[0-9,]+.|Nu_2.[0-9,]+.|Re|Pr.[0-9,]+.|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|cp.[0-9,]+.|eta.[0-9,]+.|lambda.[0-9,]+.|rho.[0-9,]+.|m_flow.[0-9,]+.|Re_1.[0-9,]+.|Nu_1.[0-9,]+.|Nu_2.[0-9,]+.|Re|Pr.[0-9,]+.|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.944e-06/1.944e-06, allocations: 0 / 347.7 MB, free: 9.414 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.276e-05/2.471e-05, allocations: 6.25 kB / 347.7 MB, free: 9.406 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent): time 0.002076/0.002101, allocations: 2.08 MB / 349.8 MB, free: 7.32 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001169/0.00327, allocations: 1.072 MB / 350.9 MB, free: 6.242 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.04e-05/0.00334, allocations: 0 / 350.9 MB, free: 6.242 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002393/0.00358, allocations: 63.55 kB / 350.9 MB, free: 6.18 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001709/0.00375, allocations: 87.33 kB / 351 MB, free: 6.094 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004158/0.004166, allocations: 167.4 kB / 351.2 MB, free: 5.93 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002379/0.004404, allocations: 338.3 kB / 351.5 MB, free: 5.598 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.201e-05/0.004446, allocations: 16.92 kB / 351.5 MB, free: 5.586 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001488/0.004595, allocations: 147.5 kB / 351.7 MB, free: 5.441 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001408/0.004736, allocations: 119.6 kB / 351.8 MB, free: 5.324 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.209e-05/0.004768, allocations: 12 kB / 351.8 MB, free: 5.312 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002641/0.005032, allocations: 135.7 kB / 351.9 MB, free: 5.18 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.557e-05/0.005108, allocations: 75.67 kB / 352 MB, free: 5.105 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.266e-05/0.00517, allocations: 79.72 kB / 352.1 MB, free: 5.027 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002962/0.005466, allocations: 350.7 kB / 352.4 MB, free: 4.684 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.005468, allocations: 0 / 352.4 MB, free: 4.684 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.00547, allocations: 0 / 352.4 MB, free: 4.684 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.005475, allocations: 0 / 352.4 MB, free: 4.684 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: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.0006026/0.006077, allocations: 0.6518 MB / 353.1 MB, free: 3.996 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.366e-05/0.006111, allocations: 8.031 kB / 353.1 MB, free: 3.988 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.265e-05/0.006174, allocations: 52.75 kB / 353.1 MB, free: 3.938 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001653/0.006339, allocations: 204 kB / 353.3 MB, free: 3.711 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.545e-05/0.006354, allocations: 21.03 kB / 353.3 MB, free: 3.691 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.802e-05/0.006382, allocations: 32.12 kB / 353.4 MB, free: 3.66 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003276/0.00671, allocations: 306.7 kB / 353.7 MB, free: 3.332 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.006721, allocations: 0 / 353.7 MB, free: 3.332 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.988e-05/0.006741, allocations: 16 kB / 353.7 MB, free: 3.316 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.091e-05/0.006772, allocations: 12.66 kB / 353.7 MB, free: 3.305 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001562/0.006928, allocations: 111.8 kB / 353.8 MB, free: 3.195 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007653/0.007694, allocations: 1.082 MB / 354.9 MB, free: 2.062 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001849/0.007878, allocations: 141.3 kB / 355 MB, free: 1.887 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.508e-05/0.007944, allocations: 54.98 kB / 355.1 MB, free: 1.82 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.676e-05/0.00798, allocations: 4 kB / 355.1 MB, free: 1.816 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.94e-05/0.008, allocations: 37.33 kB / 355.1 MB, free: 1.77 MB / 282.7 MB Notification: Performance of pre-optimization done (n=14): time 1.383e-06/0.008001, allocations: 4 kB / 355.1 MB, free: 1.766 MB / 282.7 MB Notification: Performance of matching and sorting (n=14): time 0.0003232/0.008324, allocations: 149.4 kB / 355.3 MB, free: 1.613 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.665e-05/0.008351, allocations: 102.8 kB / 355.4 MB, free: 1.488 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001387/0.00849, allocations: 308.1 kB / 355.7 MB, free: 1.168 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.116e-05/0.008501, allocations: 25.7 kB / 355.7 MB, free: 1.137 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.899e-05/0.00858, allocations: 263 kB / 356 MB, free: 0.8711 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.382e-05/0.008604, allocations: 47.58 kB / 356 MB, free: 0.8242 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.245e-05/0.008666, allocations: 79.53 kB / 356.1 MB, free: 0.7383 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.941e-05/0.008715, allocations: 0.504 MB / 356.6 MB, free: 228 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.146e-05/0.008777, allocations: 36.41 kB / 356.6 MB, free: 192 kB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001216/0.008898, allocations: 195.5 kB / 356.8 MB, free: 15.92 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002239/0.009122, allocations: 254.1 kB / 357.1 MB, free: 15.6 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.596e-06/0.009126, allocations: 4 kB / 357.1 MB, free: 15.59 MB / 298.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002883/0.009414, allocations: 233 kB / 357.3 MB, free: 15.36 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/0.009431, allocations: 11.98 kB / 357.3 MB, free: 15.35 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.075e-05/0.009462, allocations: 20 kB / 357.3 MB, free: 15.33 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.115e-05/0.009483, allocations: 8 kB / 357.3 MB, free: 15.32 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000127/0.00961, allocations: 39.91 kB / 357.4 MB, free: 15.28 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.009618, allocations: 4.531 kB / 357.4 MB, free: 15.28 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.504e-05/0.009713, allocations: 39.83 kB / 357.4 MB, free: 15.24 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.83e-05/0.009731, allocations: 12 kB / 357.4 MB, free: 15.23 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 6 (m_flow_IN_con_2[3].roughness,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[1].roughness,m_flow_IN_con_1[3].roughness,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[1].roughness) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001022/0.009834, allocations: 184.4 kB / 357.6 MB, free: 15.04 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.159e-05/0.009885, allocations: 23.91 kB / 357.6 MB, free: 15.01 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002535/0.01014, allocations: 175.6 kB / 357.8 MB, free: 14.83 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.01014, allocations: 4 kB / 357.8 MB, free: 14.83 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.01015, allocations: 4 kB / 357.8 MB, free: 14.82 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.01015, allocations: 4 kB / 357.8 MB, free: 14.82 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002596/0.01041, allocations: 248.4 kB / 358.1 MB, free: 14.54 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-05/0.01043, allocations: 27.92 kB / 358.1 MB, free: 14.52 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.632e-05/0.01049, allocations: 15.98 kB / 358.1 MB, free: 14.5 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.01049, allocations: 0 / 358.1 MB, free: 14.5 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.778e-05/0.01051, allocations: 8 kB / 358.1 MB, free: 14.49 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.01051, allocations: 4 kB / 358.1 MB, free: 14.49 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.01052, allocations: 0 / 358.1 MB, free: 14.49 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002901/0.01081, allocations: 0.5098 MB / 358.6 MB, free: 13.96 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.339e-05/0.01083, allocations: 19.86 kB / 358.6 MB, free: 13.94 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.858e-05/0.01085, allocations: 4 kB / 358.6 MB, free: 13.93 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001017/0.01095, allocations: 15.98 kB / 358.7 MB, free: 13.92 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.315e-05/0.011, allocations: 15.98 kB / 358.7 MB, free: 13.9 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.248e-05/0.01101, allocations: 11.98 kB / 358.7 MB, free: 13.89 MB / 298.7 MB Notification: Performance of sorting global known variables: time 9.659e-05/0.01111, allocations: 189.1 kB / 358.9 MB, free: 13.71 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.01111, allocations: 4 kB / 358.9 MB, free: 13.7 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003263/0.01144, allocations: 103.7 kB / 359 MB, free: 13.6 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002335/0.01167, allocations: 163 kB / 359.1 MB, free: 13.43 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002976/0.01197, allocations: 286.5 kB / 359.4 MB, free: 13.11 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.01197, allocations: 4.125 kB / 359.4 MB, free: 13.11 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001252/0.0121, allocations: 209.8 kB / 359.6 MB, free: 12.86 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003293/0.01243, allocations: 42.33 kB / 359.7 MB, free: 12.82 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009407/0.01337, allocations: 0.521 MB / 360.2 MB, free: 12.27 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.641e-05/0.01344, allocations: 107.9 kB / 360.3 MB, free: 12.14 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.442e-05/0.01352, allocations: 41.58 kB / 360.3 MB, free: 12.11 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.934e-05/0.01356, allocations: 20.44 kB / 360.4 MB, free: 12.09 MB / 298.7 MB Notification: Performance of SimCode: time 9.91e-07/0.01356, allocations: 4 kB / 360.4 MB, free: 12.08 MB / 298.7 MB Notification: Performance of Templates: time 0.005906/0.01946, allocations: 4.278 MB / 364.6 MB, free: 7.871 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/StraightPipe/kc_turbulent/kc_turbulent.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.2073899707756937]