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.0009685/0.0009685, allocations: 83.58 kB / 21.19 MB, free: 3.383 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.001061/0.001061, allocations: 161 kB / 24.56 MB, free: 16 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 0.9699/0.9699, allocations: 177.1 MB / 205 MB, free: 5.645 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.2418/0.2418, allocations: 32.81 MB / 294.3 MB, free: 1.289 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.332e-06/1.332e-06, allocations: 0 / 376.1 MB, free: 4.652 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.585e-05/1.718e-05, allocations: 2.312 kB / 376.1 MB, free: 4.648 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC): time 0.002379/0.002396, allocations: 1.939 MB / 378 MB, free: 2.691 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001166/0.003562, allocations: 0.8178 MB / 378.8 MB, free: 1.871 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.987e-05/0.003632, allocations: 0 / 378.8 MB, free: 1.871 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002498/0.003881, allocations: 51.67 kB / 378.9 MB, free: 1.82 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002887/0.00417, allocations: 99.47 kB / 379 MB, free: 1.723 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000254/0.004424, allocations: 83.61 kB / 379 MB, free: 1.641 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002409/0.004665, allocations: 274.6 kB / 379.3 MB, free: 1.371 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.805e-05/0.004713, allocations: 12.59 kB / 379.3 MB, free: 1.359 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002171/0.00493, allocations: 135.5 kB / 379.5 MB, free: 1.227 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001482/0.005078, allocations: 111.6 kB / 379.6 MB, free: 1.117 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.011e-05/0.005098, allocations: 8 kB / 379.6 MB, free: 1.109 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001484/0.005247, allocations: 71.89 kB / 379.6 MB, free: 1.039 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.539e-05/0.005322, allocations: 67.69 kB / 379.7 MB, free: 0.9727 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 6.459e-05/0.005387, allocations: 71.72 kB / 379.8 MB, free: 0.9023 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002755/0.005662, allocations: 258.9 kB / 380 MB, free: 0.6484 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.005665, allocations: 4 kB / 380 MB, free: 0.6445 MB / 346.7 MB Notification: Performance of FrontEnd: time 5.11e-07/0.005666, allocations: 0 / 380 MB, free: 0.6445 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.449e-06/0.00567, allocations: 4 kB / 380 MB, free: 0.6406 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.0005904/0.006261, allocations: 0.5933 MB / 380.6 MB, free: 8 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.64e-05/0.006307, allocations: 12.08 kB / 380.6 MB, free: 15.99 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.987e-05/0.006377, allocations: 44.75 kB / 380.7 MB, free: 15.95 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001616/0.006538, allocations: 178.8 kB / 380.9 MB, free: 15.75 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.86e-05/0.006557, allocations: 20.86 kB / 380.9 MB, free: 15.73 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.354e-05/0.006581, allocations: 20.38 kB / 380.9 MB, free: 15.71 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002966/0.006877, allocations: 222.2 kB / 381.1 MB, free: 15.49 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.006888, allocations: 3.938 kB / 381.1 MB, free: 15.48 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.925e-05/0.006907, allocations: 16 kB / 381.1 MB, free: 15.47 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.754e-05/0.006945, allocations: 24.64 kB / 381.2 MB, free: 15.45 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001649/0.00711, allocations: 131.9 kB / 381.3 MB, free: 15.32 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007587/0.007869, allocations: 0.691 MB / 382 MB, free: 14.59 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001754/0.008044, allocations: 106.2 kB / 382.1 MB, free: 14.47 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.69e-05/0.008101, allocations: 35.66 kB / 382.1 MB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.212e-05/0.008123, allocations: 8 kB / 382.1 MB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.186e-05/0.008145, allocations: 37.39 kB / 382.2 MB, free: 14.38 MB / 362.7 MB Notification: Performance of pre-optimization done (n=16): time 1.523e-06/0.008146, allocations: 0 / 382.2 MB, free: 14.38 MB / 362.7 MB Notification: Performance of matching and sorting (n=16): time 0.0002954/0.008442, allocations: 149.6 kB / 382.3 MB, free: 14.23 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.17e-05/0.008473, allocations: 55.41 kB / 382.4 MB, free: 14.16 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001347/0.008608, allocations: 253.8 kB / 382.6 MB, free: 13.89 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.804e-05/0.008626, allocations: 29.7 kB / 382.6 MB, free: 13.86 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.805e-05/0.008724, allocations: 231.1 kB / 382.9 MB, free: 13.63 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.314e-05/0.008757, allocations: 59.53 kB / 382.9 MB, free: 13.57 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.654e-05/0.008834, allocations: 75.53 kB / 383 MB, free: 13.48 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001225/0.008956, allocations: 0.5 MB / 383.5 MB, free: 12.97 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.936e-05/0.009016, allocations: 32.44 kB / 383.5 MB, free: 12.94 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001089/0.009125, allocations: 156.8 kB / 383.7 MB, free: 12.73 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004234/0.009548, allocations: 211.7 kB / 383.9 MB, free: 12.47 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.00955, allocations: 0 / 383.9 MB, free: 12.47 MB / 362.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002286/0.009779, allocations: 203.9 kB / 384.1 MB, free: 12.27 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/0.009797, allocations: 11.94 kB / 384.1 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.009805, allocations: 4 kB / 384.1 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.009821, allocations: 7.938 kB / 384.1 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003257/0.01015, allocations: 124.2 kB / 384.2 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001633/0.01178, allocations: 5.41 MB / 389.6 MB, free: 6.543 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.176e-05/0.01187, allocations: 27.78 kB / 389.7 MB, free: 6.516 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.686e-05/0.01189, allocations: 16.36 kB / 389.7 MB, free: 6.5 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.0001095/0.012, allocations: 180.5 kB / 389.9 MB, free: 6.312 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.165e-05/0.01203, allocations: 23.84 kB / 389.9 MB, free: 6.289 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002605/0.01229, allocations: 195.1 kB / 390.1 MB, free: 6.094 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.01229, allocations: 0 / 390.1 MB, free: 6.094 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.0123, allocations: 0 / 390.1 MB, free: 6.094 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.0123, allocations: 7.984 kB / 390.1 MB, free: 6.086 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001941/0.01249, allocations: 232.5 kB / 390.3 MB, free: 5.824 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.0125, allocations: 4 kB / 390.3 MB, free: 5.82 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000224/0.01272, allocations: 104 kB / 390.4 MB, free: 5.719 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.933e-06/0.01273, allocations: 3.938 kB / 390.4 MB, free: 5.715 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.9e-05/0.01275, allocations: 11.98 kB / 390.4 MB, free: 5.703 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001768/0.01451, allocations: 5.414 MB / 395.8 MB, free: 120 kB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.01452, allocations: 3.984 kB / 395.9 MB, free: 116 kB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002213/0.01474, allocations: 282 kB / 396.1 MB, free: 15.82 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.665e-05/0.01475, allocations: 23.84 kB / 396.2 MB, free: 15.8 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.988e-05/0.01477, allocations: 0 / 396.2 MB, free: 15.8 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.119e-05/0.01484, allocations: 8 kB / 396.2 MB, free: 15.79 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.833e-05/0.01488, allocations: 15.91 kB / 396.2 MB, free: 15.77 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.251e-05/0.0149, allocations: 12 kB / 396.2 MB, free: 15.76 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.436e-05/0.01496, allocations: 168.2 kB / 396.4 MB, free: 15.6 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01496, allocations: 4.125 kB / 396.4 MB, free: 15.59 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000252/0.01521, allocations: 87.78 kB / 396.4 MB, free: 15.51 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.0001805/0.01539, allocations: 127.1 kB / 396.6 MB, free: 15.38 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004058/0.0158, allocations: 211.3 kB / 396.8 MB, free: 15.16 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.0158, allocations: 0 / 396.8 MB, free: 15.16 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002199/0.01602, allocations: 143.5 kB / 396.9 MB, free: 15.02 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002154/0.01624, allocations: 24.73 kB / 396.9 MB, free: 15 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007951/0.01703, allocations: 482.8 kB / 397.4 MB, free: 14.49 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.67e-05/0.0171, allocations: 111.9 kB / 397.5 MB, free: 14.36 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 9.509e-05/0.01719, allocations: 61.39 kB / 397.6 MB, free: 14.3 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.178e-05/0.01724, allocations: 20.5 kB / 397.6 MB, free: 14.28 MB / 378.7 MB Notification: Performance of SimCode: time 5.51e-07/0.01724, allocations: 0 / 397.6 MB, free: 14.28 MB / 378.7 MB Notification: Performance of Templates: time 0.006428/0.02366, allocations: 4.582 MB / 402.2 MB, free: 9.793 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.2440872322767973]