Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001285/0.001285, allocations: 87.67 kB / 21.19 MB, free: 3.367 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.003762/0.003762, allocations: 156.5 kB / 24.55 MB, free: 12 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.037/1.037, allocations: 177 MB / 204.8 MB, free: 5.23 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2679/0.2679, allocations: 34.86 MB / 296.3 MB, free: 496 kB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.252e-06/1.252e-06, allocations: 0 / 378.8 MB, free: 2.055 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.525e-05/1.65e-05, allocations: 4.844 kB / 378.8 MB, free: 2.051 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent): time 0.002222/0.002239, allocations: 2.067 MB / 380.9 MB, free: 15.96 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001634/0.003872, allocations: 1.133 MB / 382 MB, free: 14.83 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.387e-05/0.003966, allocations: 0 / 382 MB, free: 14.83 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002488/0.004215, allocations: 51.61 kB / 382.1 MB, free: 14.78 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001863/0.004401, allocations: 95.39 kB / 382.2 MB, free: 14.69 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004942/0.004896, allocations: 183.2 kB / 382.3 MB, free: 14.51 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002953/0.005191, allocations: 338.3 kB / 382.7 MB, free: 14.18 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.451e-05/0.005235, allocations: 16.94 kB / 382.7 MB, free: 14.16 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00021/0.005445, allocations: 155.5 kB / 382.8 MB, free: 14.01 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001325/0.005578, allocations: 123.5 kB / 382.9 MB, free: 13.89 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.597e-05/0.005604, allocations: 12 kB / 383 MB, free: 13.88 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002307/0.005835, allocations: 143.8 kB / 383.1 MB, free: 13.73 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.314e-05/0.005918, allocations: 79.62 kB / 383.2 MB, free: 13.66 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 7.753e-05/0.005995, allocations: 83.7 kB / 383.3 MB, free: 13.57 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003615/0.006357, allocations: 362.6 kB / 383.6 MB, free: 13.22 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.525e-06/0.006359, allocations: 3.938 kB / 383.6 MB, free: 13.21 MB / 362.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.00636, allocations: 0 / 383.6 MB, free: 13.21 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.158e-06/0.006364, allocations: 4 kB / 383.6 MB, free: 13.21 MB / 362.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.0007006/0.007065, allocations: 0.6479 MB / 384.3 MB, free: 12.53 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.007104, allocations: 12.03 kB / 384.3 MB, free: 12.52 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002208/0.007325, allocations: 80.72 kB / 384.4 MB, free: 12.44 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002119/0.007537, allocations: 196.1 kB / 384.6 MB, free: 12.22 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.009e-05/0.007557, allocations: 25.02 kB / 384.6 MB, free: 12.2 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.871e-05/0.007585, allocations: 28.12 kB / 384.6 MB, free: 12.17 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003729/0.007958, allocations: 306.8 kB / 384.9 MB, free: 11.84 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.00797, allocations: 3.938 kB / 384.9 MB, free: 11.84 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.083e-05/0.007991, allocations: 8 kB / 384.9 MB, free: 11.83 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.265e-05/0.008024, allocations: 24.64 kB / 384.9 MB, free: 11.8 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001612/0.008185, allocations: 107.8 kB / 385 MB, free: 11.7 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008845/0.009069, allocations: 1.086 MB / 386.1 MB, free: 10.56 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001941/0.009264, allocations: 149.3 kB / 386.3 MB, free: 10.38 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.534e-05/0.009329, allocations: 46.98 kB / 386.3 MB, free: 10.32 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.372e-05/0.009363, allocations: 8 kB / 386.3 MB, free: 10.31 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.812e-05/0.009391, allocations: 45.31 kB / 386.4 MB, free: 10.25 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 1.383e-06/0.009392, allocations: 0 / 386.4 MB, free: 10.25 MB / 362.7 MB Notification: Performance of matching and sorting (n=14): time 0.0003272/0.009719, allocations: 149.4 kB / 386.5 MB, free: 10.1 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.289e-05/0.009762, allocations: 102.8 kB / 386.6 MB, free: 9.977 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001785/0.009941, allocations: 308.2 kB / 386.9 MB, free: 9.66 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.572e-05/0.009956, allocations: 25.7 kB / 386.9 MB, free: 9.629 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000104/0.01006, allocations: 255 kB / 387.2 MB, free: 9.375 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.118e-05/0.01009, allocations: 51.59 kB / 387.2 MB, free: 9.324 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.358e-05/0.01017, allocations: 75.83 kB / 387.3 MB, free: 9.238 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001205/0.01029, allocations: 0.5079 MB / 387.8 MB, free: 8.719 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.506e-05/0.01035, allocations: 32.2 kB / 387.9 MB, free: 8.688 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001349/0.01049, allocations: 199.2 kB / 388.1 MB, free: 8.418 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002139/0.0107, allocations: 254.4 kB / 388.3 MB, free: 8.094 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.0107, allocations: 0 / 388.3 MB, free: 8.094 MB / 362.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002788/0.01098, allocations: 233 kB / 388.5 MB, free: 7.859 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/0.011, allocations: 8 kB / 388.5 MB, free: 7.852 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.579e-05/0.01102, allocations: 20 kB / 388.6 MB, free: 7.832 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.01104, allocations: 8 kB / 388.6 MB, free: 7.824 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001165/0.01116, allocations: 48.44 kB / 388.6 MB, free: 7.777 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000271/0.01143, allocations: 7.984 kB / 388.6 MB, free: 7.77 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.837e-05/0.01153, allocations: 35.78 kB / 388.7 MB, free: 7.734 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.896e-05/0.01155, allocations: 19.98 kB / 388.7 MB, free: 7.715 MB / 362.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 9.264e-05/0.01164, allocations: 181.8 kB / 388.9 MB, free: 7.527 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.702e-05/0.01168, allocations: 19.86 kB / 388.9 MB, free: 7.508 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002329/0.01192, allocations: 167.3 kB / 389 MB, free: 7.344 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.01192, allocations: 8 kB / 389 MB, free: 7.336 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.01192, allocations: 0 / 389 MB, free: 7.336 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.035e-06/0.01193, allocations: 4 kB / 389 MB, free: 7.332 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002464/0.01217, allocations: 252.4 kB / 389.3 MB, free: 7.051 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.919e-05/0.01219, allocations: 20 kB / 389.3 MB, free: 7.031 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.062e-05/0.01224, allocations: 15.98 kB / 389.3 MB, free: 7.016 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.01224, allocations: 0 / 389.3 MB, free: 7.016 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.321e-05/0.01226, allocations: 11.98 kB / 389.3 MB, free: 7.004 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.21e-07/0.01226, allocations: 0 / 389.3 MB, free: 7.004 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.01226, allocations: 0 / 389.3 MB, free: 7.004 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002677/0.01253, allocations: 0.5175 MB / 389.9 MB, free: 6.465 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.97e-05/0.01255, allocations: 11.91 kB / 389.9 MB, free: 6.453 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.243e-05/0.01257, allocations: 11.98 kB / 389.9 MB, free: 6.441 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000102/0.01267, allocations: 12 kB / 389.9 MB, free: 6.43 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.06e-05/0.01273, allocations: 15.97 kB / 389.9 MB, free: 6.414 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.002e-05/0.01274, allocations: 8 kB / 389.9 MB, free: 6.406 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.17e-05/0.01283, allocations: 197.1 kB / 390.1 MB, free: 6.215 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01283, allocations: 0 / 390.1 MB, free: 6.215 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003287/0.01316, allocations: 107.7 kB / 390.2 MB, free: 6.109 MB / 362.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.0002013/0.01336, allocations: 163 kB / 390.4 MB, free: 5.938 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002774/0.01364, allocations: 294.4 kB / 390.7 MB, free: 5.609 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.232e-06/0.01364, allocations: 0 / 390.7 MB, free: 5.609 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001202/0.01376, allocations: 213.8 kB / 390.9 MB, free: 5.359 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003111/0.01407, allocations: 36.47 kB / 390.9 MB, free: 5.32 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000861/0.01494, allocations: 0.5261 MB / 391.4 MB, free: 4.754 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.858e-05/0.015, allocations: 111.9 kB / 391.5 MB, free: 4.621 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.706e-05/0.01508, allocations: 41.59 kB / 391.6 MB, free: 4.578 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.587e-05/0.01512, allocations: 16.5 kB / 391.6 MB, free: 4.562 MB / 362.7 MB Notification: Performance of SimCode: time 5.51e-07/0.01512, allocations: 0 / 391.6 MB, free: 4.562 MB / 362.7 MB Notification: Performance of Templates: time 0.006346/0.02146, allocations: 4.929 MB / 396.5 MB, free: 15.72 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/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.1990053043700755]