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.0009368/0.0009368, allocations: 89.8 kB / 21.43 MB, free: 3.059 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.001094/0.001094, allocations: 160 kB / 24.82 MB, free: 9.309 MB / 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.058/1.058, allocations: 177 MB / 205.1 MB, free: 5.461 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.2524/0.2524, allocations: 34.87 MB / 296.6 MB, free: 464 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 2.665e-06/2.665e-06, allocations: 0 / 379.3 MB, free: 1.75 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.636e-05/1.903e-05, allocations: 3.016 kB / 379.3 MB, free: 1.746 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent): time 0.002292/0.002311, allocations: 2.054 MB / 381.3 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001434/0.003745, allocations: 1.122 MB / 382.4 MB, free: 14.55 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001081/0.003853, allocations: 4 kB / 382.4 MB, free: 14.55 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000225/0.004078, allocations: 51.56 kB / 382.5 MB, free: 14.5 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001713/0.00425, allocations: 83.44 kB / 382.6 MB, free: 14.42 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004711/0.004721, allocations: 195.2 kB / 382.8 MB, free: 14.23 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002848/0.005006, allocations: 334.3 kB / 383.1 MB, free: 13.9 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.782e-05/0.005053, allocations: 16.94 kB / 383.1 MB, free: 13.88 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002094/0.005263, allocations: 163.4 kB / 383.3 MB, free: 13.72 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001294/0.005392, allocations: 115.6 kB / 383.4 MB, free: 13.61 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.258e-05/0.005415, allocations: 8 kB / 383.4 MB, free: 13.6 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002277/0.005643, allocations: 151.7 kB / 383.5 MB, free: 13.45 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.246e-05/0.005725, allocations: 83.67 kB / 383.6 MB, free: 13.37 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 6.935e-05/0.005794, allocations: 75.66 kB / 383.7 MB, free: 13.3 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003946/0.006189, allocations: 374.6 kB / 384.1 MB, free: 12.93 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.006191, allocations: 0 / 384.1 MB, free: 12.93 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.006192, allocations: 0 / 384.1 MB, free: 12.93 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.719e-06/0.006197, allocations: 0 / 384.1 MB, free: 12.93 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.0006472/0.006844, allocations: 0.6517 MB / 384.7 MB, free: 12.24 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.494e-05/0.006879, allocations: 8.031 kB / 384.7 MB, free: 12.23 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002111/0.00709, allocations: 84.72 kB / 384.8 MB, free: 12.15 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001993/0.007289, allocations: 192.1 kB / 385 MB, free: 11.94 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.81e-05/0.007307, allocations: 21.03 kB / 385 MB, free: 11.92 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.48e-05/0.007342, allocations: 28.12 kB / 385 MB, free: 11.89 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002982/0.00764, allocations: 286.6 kB / 385.3 MB, free: 11.58 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.393e-05/0.007654, allocations: 0 / 385.3 MB, free: 11.58 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.782e-05/0.007672, allocations: 16 kB / 385.3 MB, free: 11.57 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.005e-05/0.007702, allocations: 20.64 kB / 385.4 MB, free: 11.55 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001104/0.007813, allocations: 88.47 kB / 385.4 MB, free: 11.46 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007927/0.008605, allocations: 1.016 MB / 386.5 MB, free: 10.39 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001603/0.008766, allocations: 141.3 kB / 386.6 MB, free: 10.22 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.468e-05/0.00881, allocations: 39.05 kB / 386.6 MB, free: 10.17 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.763e-05/0.008838, allocations: 11.88 kB / 386.6 MB, free: 10.16 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.368e-05/0.008862, allocations: 45.33 kB / 386.7 MB, free: 10.1 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 1.323e-06/0.008863, allocations: 0 / 386.7 MB, free: 10.1 MB / 362.7 MB Notification: Performance of matching and sorting (n=14): time 0.0002605/0.009123, allocations: 129.7 kB / 386.8 MB, free: 9.969 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.973e-05/0.009163, allocations: 106.8 kB / 386.9 MB, free: 9.84 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001553/0.009318, allocations: 300.1 kB / 387.2 MB, free: 9.531 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.525e-05/0.009334, allocations: 29.7 kB / 387.2 MB, free: 9.496 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001062/0.00944, allocations: 258.9 kB / 387.5 MB, free: 9.238 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.956e-05/0.009469, allocations: 59.52 kB / 387.6 MB, free: 9.18 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.798e-05/0.009537, allocations: 75.5 kB / 387.6 MB, free: 9.094 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001218/0.009659, allocations: 0.5117 MB / 388.1 MB, free: 8.57 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.319e-05/0.009702, allocations: 20.22 kB / 388.2 MB, free: 8.551 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001198/0.009822, allocations: 191.3 kB / 388.3 MB, free: 8.289 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001823/0.01, allocations: 250.1 kB / 388.6 MB, free: 7.969 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.01001, allocations: 0 / 388.6 MB, free: 7.969 MB / 362.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002498/0.01026, allocations: 217.8 kB / 388.8 MB, free: 7.75 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.214e-05/0.01027, allocations: 4 kB / 388.8 MB, free: 7.746 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.922e-05/0.0103, allocations: 27.98 kB / 388.8 MB, free: 7.719 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.01031, allocations: 4 kB / 388.8 MB, free: 7.715 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001056/0.01042, allocations: 39.91 kB / 388.9 MB, free: 7.676 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.01042, allocations: 8 kB / 388.9 MB, free: 7.668 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.33e-05/0.01052, allocations: 31.78 kB / 388.9 MB, free: 7.637 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.854e-05/0.01054, allocations: 19.98 kB / 388.9 MB, free: 7.617 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_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 0.0001068/0.01064, allocations: 185.9 kB / 389.1 MB, free: 7.426 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.868e-05/0.01069, allocations: 31.84 kB / 389.1 MB, free: 7.395 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001996/0.01089, allocations: 163.3 kB / 389.3 MB, free: 7.234 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.409e-06/0.0109, allocations: 4 kB / 389.3 MB, free: 7.23 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.663e-06/0.0109, allocations: 0 / 389.3 MB, free: 7.23 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.0109, allocations: 0 / 389.3 MB, free: 7.23 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002183/0.01112, allocations: 189 kB / 389.5 MB, free: 7.02 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.041e-05/0.01114, allocations: 27.92 kB / 389.5 MB, free: 6.992 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.867e-05/0.01119, allocations: 23.98 kB / 389.5 MB, free: 6.969 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.01119, allocations: 4 kB / 389.6 MB, free: 6.965 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.157e-06/0.0112, allocations: 4 kB / 389.6 MB, free: 6.961 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.12e-07/0.0112, allocations: 0 / 389.6 MB, free: 6.961 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.0112, allocations: 7.938 kB / 389.6 MB, free: 6.953 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002354/0.01144, allocations: 0.4943 MB / 390.1 MB, free: 6.438 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.058e-05/0.01146, allocations: 19.84 kB / 390.1 MB, free: 6.418 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.783e-05/0.01148, allocations: 4 kB / 390.1 MB, free: 6.414 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001041/0.01158, allocations: 11.98 kB / 390.1 MB, free: 6.402 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.064e-05/0.01162, allocations: 15.98 kB / 390.1 MB, free: 6.387 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.117e-05/0.01163, allocations: 15.98 kB / 390.1 MB, free: 6.371 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.359e-05/0.01171, allocations: 189 kB / 390.3 MB, free: 6.188 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.01171, allocations: 0 / 390.3 MB, free: 6.188 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003083/0.01201, allocations: 111.6 kB / 390.4 MB, free: 6.078 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.0001809/0.01219, allocations: 163 kB / 390.6 MB, free: 5.906 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002276/0.01242, allocations: 278.3 kB / 390.8 MB, free: 5.598 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.242e-06/0.01242, allocations: 0 / 390.8 MB, free: 5.598 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001085/0.01253, allocations: 205.9 kB / 391 MB, free: 5.355 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003089/0.01284, allocations: 48.47 kB / 391.1 MB, free: 5.305 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007926/0.01363, allocations: 0.5217 MB / 391.6 MB, free: 4.742 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.035e-05/0.0137, allocations: 115.9 kB / 391.7 MB, free: 4.609 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.197e-05/0.01376, allocations: 13.66 kB / 391.7 MB, free: 4.594 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001409/0.0139, allocations: 142.2 kB / 391.9 MB, free: 4.453 MB / 362.7 MB Notification: Performance of SimCode: time 5.41e-07/0.0139, allocations: 0 / 391.9 MB, free: 4.453 MB / 362.7 MB Notification: Performance of Templates: time 0.005957/0.01985, allocations: 4.751 MB / 396.6 MB, free: 15.77 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.1644867761060596]