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.0009956/0.0009956, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.001148/0.001148, allocations: 165.8 kB / 24.82 MB, free: 9.266 MB / 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.076/1.076, allocations: 177.1 MB / 205.3 MB, free: 5.477 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.2468/0.2468, allocations: 32.81 MB / 294.6 MB, free: 1.25 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.623e-06/1.623e-06, allocations: 0 / 376.5 MB, free: 4.391 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.545e-05/2.707e-05, allocations: 9.203 kB / 376.5 MB, free: 4.383 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC): time 0.002347/0.002374, allocations: 1.935 MB / 378.5 MB, free: 2.43 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001026/0.0034, allocations: 0.8061 MB / 379.3 MB, free: 1.621 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.31e-05/0.003463, allocations: 7.938 kB / 379.3 MB, free: 1.613 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002177/0.003681, allocations: 47.67 kB / 379.3 MB, free: 1.566 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002399/0.003921, allocations: 95.44 kB / 379.4 MB, free: 1.473 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002016/0.004122, allocations: 79.7 kB / 379.5 MB, free: 1.395 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002152/0.004338, allocations: 278.5 kB / 379.8 MB, free: 1.121 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.155e-05/0.004379, allocations: 12.59 kB / 379.8 MB, free: 1.109 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001928/0.004572, allocations: 131.5 kB / 379.9 MB, free: 0.9805 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001268/0.004699, allocations: 111.6 kB / 380 MB, free: 0.8711 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.96e-05/0.004718, allocations: 8 kB / 380 MB, free: 0.8633 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001315/0.00485, allocations: 75.88 kB / 380.1 MB, free: 0.7891 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.348e-05/0.004913, allocations: 63.7 kB / 380.1 MB, free: 0.7266 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.822e-05/0.004972, allocations: 71.72 kB / 380.2 MB, free: 0.6562 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002604/0.005232, allocations: 266.9 kB / 380.5 MB, free: 404 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.505e-06/0.005234, allocations: 0 / 380.5 MB, free: 404 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.005236, allocations: 0 / 380.5 MB, free: 404 kB / 346.7 MB Notification: Performance of Transformations before backend: time 3.958e-06/0.00524, allocations: 0 / 380.5 MB, free: 404 kB / 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.0005618/0.005801, allocations: 0.5933 MB / 381.1 MB, free: 15.76 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.546e-05/0.005837, allocations: 12.03 kB / 381.1 MB, free: 15.75 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.171e-05/0.005899, allocations: 48.73 kB / 381.1 MB, free: 15.7 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001442/0.006043, allocations: 168.2 kB / 381.3 MB, free: 15.51 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.716e-05/0.00606, allocations: 20.88 kB / 381.3 MB, free: 15.49 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.274e-05/0.006083, allocations: 24.36 kB / 381.3 MB, free: 15.47 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002273/0.00631, allocations: 198.2 kB / 381.5 MB, free: 15.27 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.00632, allocations: 7.875 kB / 381.5 MB, free: 15.26 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.461e-05/0.006335, allocations: 4 kB / 381.5 MB, free: 15.25 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.841e-05/0.006373, allocations: 28.64 kB / 381.6 MB, free: 15.23 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001144/0.006487, allocations: 104.5 kB / 381.7 MB, free: 15.12 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006588/0.007146, allocations: 0.629 MB / 382.3 MB, free: 14.46 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001365/0.007283, allocations: 95 kB / 382.4 MB, free: 14.36 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.096e-05/0.007324, allocations: 31.73 kB / 382.4 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.353e-05/0.007347, allocations: 11.88 kB / 382.4 MB, free: 14.31 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.955e-05/0.007367, allocations: 37.39 kB / 382.5 MB, free: 14.27 MB / 362.7 MB Notification: Performance of pre-optimization done (n=16): time 1.583e-06/0.007368, allocations: 0 / 382.5 MB, free: 14.27 MB / 362.7 MB Notification: Performance of matching and sorting (n=16): time 0.0002245/0.007593, allocations: 141.2 kB / 382.6 MB, free: 14.12 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.354e-05/0.007616, allocations: 55.34 kB / 382.7 MB, free: 14.06 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001157/0.007732, allocations: 253.7 kB / 382.9 MB, free: 13.79 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.553e-05/0.007747, allocations: 37.69 kB / 383 MB, free: 13.75 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.012e-05/0.007838, allocations: 239 kB / 383.2 MB, free: 13.51 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.997e-05/0.007868, allocations: 55.52 kB / 383.2 MB, free: 13.46 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.237e-05/0.00793, allocations: 67.53 kB / 383.3 MB, free: 13.38 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001115/0.008041, allocations: 0.5079 MB / 383.8 MB, free: 12.86 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.143e-05/0.008083, allocations: 24.45 kB / 383.8 MB, free: 12.84 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.265e-05/0.008175, allocations: 160.7 kB / 384 MB, free: 12.62 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001524/0.008328, allocations: 191.7 kB / 384.2 MB, free: 12.38 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.00833, allocations: 4 kB / 384.2 MB, free: 12.38 MB / 362.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002078/0.008538, allocations: 189.2 kB / 384.4 MB, free: 12.19 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.008552, allocations: 11.98 kB / 384.4 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.042e-06/0.008559, allocations: 4 kB / 384.4 MB, free: 12.17 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.008571, allocations: 4 kB / 384.4 MB, free: 12.17 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002901/0.008862, allocations: 119.9 kB / 384.5 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00148/0.01034, allocations: 5.418 MB / 389.9 MB, free: 6.461 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.065e-05/0.01043, allocations: 23.78 kB / 389.9 MB, free: 6.438 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.593e-05/0.01045, allocations: 15.98 kB / 390 MB, free: 6.422 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_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 (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.0001084/0.01056, allocations: 176.8 kB / 390.1 MB, free: 6.238 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.052e-05/0.01059, allocations: 31.83 kB / 390.2 MB, free: 6.207 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002378/0.01082, allocations: 181.9 kB / 390.3 MB, free: 6.027 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.01083, allocations: 4 kB / 390.4 MB, free: 6.023 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.262e-06/0.01083, allocations: 0 / 390.4 MB, free: 6.023 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.648e-06/0.01083, allocations: 3.984 kB / 390.4 MB, free: 6.02 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001709/0.011, allocations: 181.1 kB / 390.5 MB, free: 5.816 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.01101, allocations: 0 / 390.5 MB, free: 5.816 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002187/0.01123, allocations: 111.9 kB / 390.6 MB, free: 5.707 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.01123, allocations: 4 kB / 390.6 MB, free: 5.703 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.027e-05/0.01124, allocations: 8 kB / 390.7 MB, free: 5.695 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001346/0.01258, allocations: 5.407 MB / 396.1 MB, free: 120 kB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.01259, allocations: 3.984 kB / 396.1 MB, free: 116 kB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001933/0.01278, allocations: 283.6 kB / 396.3 MB, free: 15.82 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.505e-05/0.0128, allocations: 15.84 kB / 396.4 MB, free: 15.8 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.817e-05/0.01281, allocations: 8 kB / 396.4 MB, free: 15.79 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.22e-05/0.01288, allocations: 0 / 396.4 MB, free: 15.79 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.886e-05/0.01291, allocations: 19.97 kB / 396.4 MB, free: 15.77 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.152e-05/0.01293, allocations: 8 kB / 396.4 MB, free: 15.77 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.336e-05/0.01299, allocations: 164.2 kB / 396.6 MB, free: 15.61 MB / 378.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01299, allocations: 0 / 396.6 MB, free: 15.61 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002574/0.01325, allocations: 83.78 kB / 396.6 MB, free: 15.52 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.0001922/0.01344, allocations: 147 kB / 396.8 MB, free: 15.37 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003439/0.01378, allocations: 191.5 kB / 397 MB, free: 15.18 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.01378, allocations: 0 / 397 MB, free: 15.18 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002048/0.01399, allocations: 141.9 kB / 397.1 MB, free: 15.04 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002297/0.01422, allocations: 35.66 kB / 397.1 MB, free: 15.01 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000758/0.01498, allocations: 484.8 kB / 397.6 MB, free: 14.5 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.342e-05/0.01504, allocations: 111.9 kB / 397.7 MB, free: 14.37 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.538e-05/0.01511, allocations: 21.45 kB / 397.7 MB, free: 14.35 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.755e-05/0.01519, allocations: 98.19 kB / 397.8 MB, free: 14.25 MB / 378.7 MB Notification: Performance of SimCode: time 8.92e-07/0.01519, allocations: 0 / 397.8 MB, free: 14.25 MB / 378.7 MB Notification: Performance of Templates: time 0.006171/0.02137, allocations: 4.44 MB / 402.3 MB, free: 9.883 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.163300183136016]