Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001173/0.001173, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001874/0.003048, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001104/0.001104, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001534/0.002638, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9308/0.9308, allocations: 173.4 MB / 186 MB, free: 7.535 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1771/1.108, allocations: 52.49 MB / 238.5 MB, free: 7.625 MB / 234.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.1407/0.1407, allocations: 32.79 MB / 272 MB, free: 6.309 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.04587/0.1865, allocations: 12.54 MB / 284.5 MB, free: 9.719 MB / 282.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_4.0.0_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_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.472e-06/1.472e-06, allocations: 0 / 285.9 MB, free: 8.406 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.17e-05/2.317e-05, allocations: 2.312 kB / 285.9 MB, free: 8.402 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent): time 0.003591/0.003615, allocations: 2.116 MB / 288 MB, free: 6.277 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001706/0.005321, allocations: 1.063 MB / 289 MB, free: 5.211 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.493e-05/0.005415, allocations: 0 / 289 MB, free: 5.211 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002669/0.005682, allocations: 63.55 kB / 289.1 MB, free: 5.148 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002539/0.005936, allocations: 87.39 kB / 289.2 MB, free: 5.062 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000697/0.006633, allocations: 147.4 kB / 289.3 MB, free: 4.918 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003481/0.006981, allocations: 342.3 kB / 289.7 MB, free: 4.582 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.264e-05/0.007044, allocations: 22.91 kB / 289.7 MB, free: 4.562 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002106/0.007255, allocations: 184.1 kB / 289.9 MB, free: 4.383 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001457/0.0074, allocations: 115.6 kB / 290 MB, free: 4.27 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.333e-05/0.007424, allocations: 12 kB / 290 MB, free: 4.258 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002408/0.007664, allocations: 139.8 kB / 290.1 MB, free: 4.121 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.038e-05/0.007735, allocations: 55.8 kB / 290.2 MB, free: 4.066 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.87e-05/0.007794, allocations: 59.81 kB / 290.2 MB, free: 4.008 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004453/0.008239, allocations: 322.8 kB / 290.6 MB, free: 3.691 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.588e-06/0.008248, allocations: 0 / 290.6 MB, free: 3.691 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.00825, allocations: 0 / 290.6 MB, free: 3.691 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.197e-06/0.008259, allocations: 4 kB / 290.6 MB, free: 3.688 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.0006518/0.008911, allocations: 0.5619 MB / 291.1 MB, free: 3.102 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.268e-05/0.008944, allocations: 8.031 kB / 291.1 MB, free: 3.094 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.675e-05/0.00901, allocations: 44.91 kB / 291.2 MB, free: 3.051 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001703/0.009181, allocations: 181 kB / 291.4 MB, free: 2.848 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.65e-05/0.009197, allocations: 16.66 kB / 291.4 MB, free: 2.828 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.842e-05/0.009226, allocations: 28 kB / 291.4 MB, free: 2.801 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002974/0.009523, allocations: 274.2 kB / 291.7 MB, free: 2.512 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.009531, allocations: 4 kB / 291.7 MB, free: 2.508 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.667e-05/0.009547, allocations: 12 kB / 291.7 MB, free: 2.496 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.833e-05/0.009576, allocations: 20.58 kB / 291.7 MB, free: 2.477 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001151/0.009691, allocations: 106.2 kB / 291.8 MB, free: 2.367 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006448/0.01034, allocations: 0.7556 MB / 292.6 MB, free: 1.582 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001438/0.01048, allocations: 160.1 kB / 292.7 MB, free: 1.395 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.058e-05/0.01052, allocations: 34.52 kB / 292.7 MB, free: 1.352 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.362e-05/0.01054, allocations: 11.97 kB / 292.8 MB, free: 1.34 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.901e-05/0.01056, allocations: 38.56 kB / 292.8 MB, free: 1.293 MB / 282.7 MB Notification: Performance of pre-optimization done (n=14): time 9.51e-07/0.01056, allocations: 0 / 292.8 MB, free: 1.293 MB / 282.7 MB Notification: Performance of matching and sorting (n=14): time 0.0002086/0.01077, allocations: 109.2 kB / 292.9 MB, free: 1.184 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.717e-05/0.01081, allocations: 106.8 kB / 293 MB, free: 1.055 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001563/0.01097, allocations: 228.9 kB / 293.2 MB, free: 0.8164 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.835e-05/0.01098, allocations: 25.7 kB / 293.3 MB, free: 0.7852 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.991e-05/0.01105, allocations: 200.2 kB / 293.5 MB, free: 0.582 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.466e-05/0.01108, allocations: 47.58 kB / 293.5 MB, free: 0.5352 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.14e-05/0.01114, allocations: 57.88 kB / 293.6 MB, free: 480 kB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.029e-05/0.01121, allocations: 339 kB / 293.9 MB, free: 132 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.276e-05/0.01126, allocations: 27.05 kB / 293.9 MB, free: 104 kB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.926e-05/0.01136, allocations: 135.8 kB / 294 MB, free: 15.91 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001747/0.01154, allocations: 221.3 kB / 294.3 MB, free: 15.64 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.01154, allocations: 0 / 294.3 MB, free: 15.64 MB / 298.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002021/0.01174, allocations: 184.5 kB / 294.4 MB, free: 15.45 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/0.01175, allocations: 8 kB / 294.4 MB, free: 15.44 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.794e-05/0.01178, allocations: 12 kB / 294.5 MB, free: 15.43 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.01179, allocations: 8 kB / 294.5 MB, free: 15.42 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001258/0.01192, allocations: 43.91 kB / 294.5 MB, free: 15.38 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.01193, allocations: 12.45 kB / 294.5 MB, free: 15.36 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.093e-05/0.01202, allocations: 39.78 kB / 294.6 MB, free: 15.32 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.722e-05/0.01204, allocations: 15.98 kB / 294.6 MB, free: 15.31 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_1[1].roughness,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[3].roughness,m_flow_IN_con_2[1].roughness,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[3].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 9.33e-05/0.01213, allocations: 128.5 kB / 294.7 MB, free: 15.17 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.272e-05/0.01217, allocations: 15.98 kB / 294.7 MB, free: 15.16 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001843/0.01236, allocations: 135.4 kB / 294.9 MB, free: 15.02 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.666e-06/0.01236, allocations: 4 kB / 294.9 MB, free: 15.02 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.443e-06/0.01236, allocations: 0 / 294.9 MB, free: 15.02 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.01236, allocations: 4 kB / 294.9 MB, free: 15.02 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002021/0.01257, allocations: 141.7 kB / 295 MB, free: 14.86 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.87e-05/0.01258, allocations: 15.98 kB / 295 MB, free: 14.84 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.373e-05/0.01264, allocations: 19.92 kB / 295 MB, free: 14.82 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.386e-05/0.01266, allocations: 19.84 kB / 295.1 MB, free: 14.8 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.01266, allocations: 0 / 295.1 MB, free: 14.8 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.033e-05/0.01267, allocations: 7.984 kB / 295.1 MB, free: 14.8 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.01268, allocations: 0 / 295.1 MB, free: 14.8 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.01268, allocations: 0 / 295.1 MB, free: 14.8 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001988/0.01287, allocations: 388.6 kB / 295.4 MB, free: 14.4 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.914e-05/0.01289, allocations: 8 kB / 295.4 MB, free: 14.39 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.914e-05/0.01299, allocations: 11.98 kB / 295.5 MB, free: 14.38 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.489e-05/0.01304, allocations: 15.98 kB / 295.5 MB, free: 14.36 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.338e-06/0.01305, allocations: 4 kB / 295.5 MB, free: 14.36 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.78e-05/0.0131, allocations: 70.78 kB / 295.5 MB, free: 14.29 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0131, allocations: 0 / 295.5 MB, free: 14.29 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002737/0.01337, allocations: 107.7 kB / 295.7 MB, free: 14.18 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.0002059/0.01357, allocations: 140.2 kB / 295.8 MB, free: 14.04 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002275/0.0138, allocations: 263.7 kB / 296 MB, free: 13.74 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.027e-05/0.01381, allocations: 7.984 kB / 296.1 MB, free: 13.73 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001288/0.01394, allocations: 207.1 kB / 296.3 MB, free: 13.49 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003727/0.01431, allocations: 351.8 kB / 296.6 MB, free: 13.08 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002084/0.0164, allocations: 0.5518 MB / 297.2 MB, free: 12.49 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.451e-05/0.01646, allocations: 103.9 kB / 297.3 MB, free: 12.37 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.277e-05/0.01652, allocations: 21.62 kB / 297.3 MB, free: 12.35 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001423/0.01666, allocations: 111.3 kB / 297.4 MB, free: 12.24 MB / 298.7 MB Notification: Performance of SimCode: time 7.11e-07/0.01666, allocations: 0 / 297.4 MB, free: 12.24 MB / 298.7 MB Notification: Performance of Templates: time 0.005969/0.02263, allocations: 4.482 MB / 301.9 MB, free: 7.828 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/StraightPipe/kc_turbulent/kc_turbulent.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8336378894746304]