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_KC.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.0009773/0.0009773, allocations: 87.58 kB / 21.19 MB, free: 3.371 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.001581/0.001581, allocations: 165 kB / 24.56 MB, free: 4 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.014/1.014, allocations: 177.1 MB / 205 MB, free: 5.629 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.2623/0.2623, allocations: 32.8 MB / 294.3 MB, free: 1.211 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.HeatTransfer.StraightPipe.kc_turbulent_KC,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|cp.[0-9,]+.|eta.[0-9,]+.|lambda.[0-9,]+.|rho.[0-9,]+.|Nu.[0-9,]+.|m_flow_1.[0-9,]+.|m_flow_2.[0-9,]+.|kc.[0-9,]+.|Re_1.[0-9,]+.|Re_2.[0-9,]+.|input_Nu.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|cp.[0-9,]+.|eta.[0-9,]+.|lambda.[0-9,]+.|rho.[0-9,]+.|Nu.[0-9,]+.|m_flow_1.[0-9,]+.|m_flow_2.[0-9,]+.|kc.[0-9,]+.|Re_1.[0-9,]+.|Re_2.[0-9,]+.|input_Nu.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.964e-06/1.964e-06, allocations: 0 / 376.1 MB, free: 4.629 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.841e-05/3.038e-05, allocations: 2.312 kB / 376.1 MB, free: 4.625 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC): time 0.003037/0.003068, allocations: 1.938 MB / 378 MB, free: 2.668 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001175/0.004242, allocations: 0.8178 MB / 378.8 MB, free: 1.848 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.079e-05/0.004323, allocations: 0 / 378.8 MB, free: 1.848 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002952/0.004619, allocations: 47.73 kB / 378.9 MB, free: 1.801 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003154/0.004934, allocations: 91.44 kB / 378.9 MB, free: 1.711 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002664/0.0052, allocations: 91.64 kB / 379 MB, free: 1.621 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000261/0.005461, allocations: 270.5 kB / 379.3 MB, free: 1.355 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.095e-05/0.005512, allocations: 12.59 kB / 379.3 MB, free: 1.344 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002281/0.00574, allocations: 139.4 kB / 379.4 MB, free: 1.207 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001585/0.005899, allocations: 103.6 kB / 379.5 MB, free: 1.105 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.371e-05/0.005922, allocations: 8 kB / 379.6 MB, free: 1.098 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001572/0.00608, allocations: 75.88 kB / 379.6 MB, free: 1.023 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 8.1e-05/0.006161, allocations: 67.69 kB / 379.7 MB, free: 0.957 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 6.927e-05/0.00623, allocations: 67.8 kB / 379.8 MB, free: 0.8906 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000336/0.006566, allocations: 266.8 kB / 380 MB, free: 0.6289 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.006572, allocations: 0 / 380 MB, free: 0.6289 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.076e-06/0.006575, allocations: 4 kB / 380 MB, free: 0.625 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.643e-06/0.006581, allocations: 0 / 380 MB, free: 0.625 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.0007089/0.00729, allocations: 0.5895 MB / 380.6 MB, free: 15.99 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.402e-05/0.007334, allocations: 12.03 kB / 380.6 MB, free: 15.98 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.217e-05/0.007417, allocations: 44.75 kB / 380.7 MB, free: 15.94 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002091/0.007626, allocations: 180.1 kB / 380.8 MB, free: 15.74 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.856e-05/0.007644, allocations: 20.88 kB / 380.9 MB, free: 15.72 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.826e-05/0.007672, allocations: 20.38 kB / 380.9 MB, free: 15.7 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003559/0.008028, allocations: 226.2 kB / 381.1 MB, free: 15.47 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.566e-05/0.008044, allocations: 3.938 kB / 381.1 MB, free: 15.46 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.189e-05/0.008066, allocations: 15.94 kB / 381.1 MB, free: 15.45 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-05/0.008115, allocations: 24.64 kB / 381.2 MB, free: 15.43 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001943/0.008309, allocations: 131.8 kB / 381.3 MB, free: 15.3 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008983/0.009207, allocations: 0.6871 MB / 382 MB, free: 14.57 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001934/0.009401, allocations: 114.5 kB / 382.1 MB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.407e-05/0.009465, allocations: 27.73 kB / 382.1 MB, free: 14.42 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.197e-05/0.009497, allocations: 12 kB / 382.1 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.456e-05/0.009521, allocations: 37.39 kB / 382.2 MB, free: 14.36 MB / 362.7 MB Notification: Performance of pre-optimization done (n=16): time 1.944e-06/0.009523, allocations: 0 / 382.2 MB, free: 14.36 MB / 362.7 MB Notification: Performance of matching and sorting (n=16): time 0.0003306/0.009854, allocations: 153.5 kB / 382.3 MB, free: 14.2 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.366e-05/0.009887, allocations: 51.41 kB / 382.4 MB, free: 14.14 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001488/0.01004, allocations: 257.7 kB / 382.6 MB, free: 13.87 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.605e-05/0.01005, allocations: 29.7 kB / 382.6 MB, free: 13.84 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001024/0.01015, allocations: 231.1 kB / 382.9 MB, free: 13.61 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.708e-05/0.01019, allocations: 63.52 kB / 382.9 MB, free: 13.54 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.67e-05/0.01027, allocations: 71.55 kB / 383 MB, free: 13.46 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002571/0.01053, allocations: 0.504 MB / 383.5 MB, free: 12.95 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.796e-05/0.01059, allocations: 28.45 kB / 383.5 MB, free: 12.92 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001258/0.01072, allocations: 156.8 kB / 383.7 MB, free: 12.71 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002026/0.01092, allocations: 211.7 kB / 383.9 MB, free: 12.45 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.01092, allocations: 0 / 383.9 MB, free: 12.45 MB / 362.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002675/0.01119, allocations: 204.7 kB / 384.1 MB, free: 12.25 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/0.01121, allocations: 14.06 kB / 384.1 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/0.01122, allocations: 4 kB / 384.1 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.444e-05/0.01124, allocations: 7.938 kB / 384.1 MB, free: 12.22 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003696/0.01161, allocations: 123.9 kB / 384.2 MB, free: 12.1 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002464/0.01408, allocations: 5.41 MB / 389.6 MB, free: 6.52 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001715/0.01425, allocations: 31.77 kB / 389.7 MB, free: 6.488 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.481e-05/0.01427, allocations: 12 kB / 389.7 MB, free: 6.477 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (28): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * 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): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002047/0.01448, allocations: 172.5 kB / 389.9 MB, free: 6.297 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.411e-05/0.01452, allocations: 27.83 kB / 389.9 MB, free: 6.27 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003544/0.01488, allocations: 191.3 kB / 390.1 MB, free: 6.078 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.01488, allocations: 4 kB / 390.1 MB, free: 6.074 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.01489, allocations: 0 / 390.1 MB, free: 6.074 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.102e-06/0.01489, allocations: 0 / 390.1 MB, free: 6.074 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002369/0.01513, allocations: 232.5 kB / 390.3 MB, free: 5.812 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/0.01514, allocations: 7.922 kB / 390.3 MB, free: 5.805 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002644/0.0154, allocations: 107.9 kB / 390.4 MB, free: 5.699 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.522e-06/0.01541, allocations: 3.938 kB / 390.4 MB, free: 5.695 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.74e-05/0.01542, allocations: 12 kB / 390.4 MB, free: 5.684 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002147/0.01757, allocations: 5.41 MB / 395.8 MB, free: 104 kB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.01757, allocations: 0 / 395.8 MB, free: 104 kB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003181/0.01789, allocations: 283.7 kB / 396.1 MB, free: 15.8 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.482e-05/0.01793, allocations: 27.83 kB / 396.1 MB, free: 15.78 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.346e-05/0.01795, allocations: 320 / 396.1 MB, free: 15.78 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.518e-05/0.01803, allocations: 12 kB / 396.2 MB, free: 15.77 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.335e-05/0.01809, allocations: 15.95 kB / 396.2 MB, free: 15.75 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.359e-05/0.0181, allocations: 12 kB / 396.2 MB, free: 15.74 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.446e-05/0.01819, allocations: 160.2 kB / 396.3 MB, free: 15.58 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01819, allocations: 4 kB / 396.3 MB, free: 15.58 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003719/0.01856, allocations: 91.72 kB / 396.4 MB, free: 15.49 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 (16): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * 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): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003149/0.01887, allocations: 127.1 kB / 396.6 MB, free: 15.36 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005191/0.01939, allocations: 209.7 kB / 396.8 MB, free: 15.15 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.0194, allocations: 0.75 kB / 396.8 MB, free: 15.15 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002464/0.01964, allocations: 147.5 kB / 396.9 MB, free: 15 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003047/0.01995, allocations: 23.98 kB / 396.9 MB, free: 14.98 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001182/0.02113, allocations: 482.8 kB / 397.4 MB, free: 14.47 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.498e-05/0.0212, allocations: 107.9 kB / 397.5 MB, free: 14.34 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001122/0.02132, allocations: 57.39 kB / 397.6 MB, free: 14.29 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.362e-05/0.02137, allocations: 24.48 kB / 397.6 MB, free: 14.27 MB / 378.7 MB Notification: Performance of SimCode: time 1.262e-06/0.02137, allocations: 0 / 397.6 MB, free: 14.27 MB / 378.7 MB Notification: Performance of Templates: time 0.006389/0.02776, allocations: 4.063 MB / 401.6 MB, free: 10.3 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC_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/kc_turbulent_KC.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.474843281786889]