Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.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.001444/0.001444, allocations: 88.2 kB / 20.94 MB, free: 3.605 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.001988/0.001988, allocations: 173 kB / 24.25 MB, free: 312 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.038/1.038, allocations: 158.6 MB / 186 MB, free: 2.914 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1404/0.1404, allocations: 32.38 MB / 270.7 MB, free: 14.77 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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,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_3.2.3_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_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 347.7 MB, free: 9.738 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.692e-05/1.842e-05, allocations: 5.406 kB / 347.7 MB, free: 9.734 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent): time 0.002696/0.002715, allocations: 2.067 MB / 349.8 MB, free: 7.66 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001031/0.003746, allocations: 1.08 MB / 350.9 MB, free: 6.574 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.092e-05/0.003806, allocations: 4 kB / 350.9 MB, free: 6.57 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001715/0.003978, allocations: 55.56 kB / 350.9 MB, free: 6.516 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001358/0.004114, allocations: 91.38 kB / 351 MB, free: 6.426 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003113/0.004425, allocations: 163.4 kB / 351.2 MB, free: 6.266 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002097/0.004635, allocations: 334.3 kB / 351.5 MB, free: 5.938 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.564e-05/0.00467, allocations: 12.94 kB / 351.5 MB, free: 5.93 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001244/0.004795, allocations: 155.4 kB / 351.7 MB, free: 5.777 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.915e-05/0.004894, allocations: 123.6 kB / 351.8 MB, free: 5.656 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.931e-05/0.004913, allocations: 12 kB / 351.8 MB, free: 5.645 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001631/0.005076, allocations: 139.7 kB / 351.9 MB, free: 5.508 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.368e-05/0.00513, allocations: 67.69 kB / 352 MB, free: 5.441 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.25e-05/0.005193, allocations: 83.7 kB / 352.1 MB, free: 5.359 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002781/0.005471, allocations: 354.7 kB / 352.4 MB, free: 5.012 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.744e-06/0.005472, allocations: 0 / 352.4 MB, free: 5.012 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.005473, allocations: 0 / 352.4 MB, free: 5.012 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.005478, allocations: 0 / 352.4 MB, free: 5.012 MB / 282.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.0006055/0.006084, allocations: 0.6518 MB / 353.1 MB, free: 4.324 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.969e-05/0.006113, allocations: 8.031 kB / 353.1 MB, free: 4.316 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.018e-05/0.006173, allocations: 52.75 kB / 353.1 MB, free: 4.266 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001505/0.006324, allocations: 196 kB / 353.3 MB, free: 4.047 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.377e-05/0.006338, allocations: 21.03 kB / 353.3 MB, free: 4.027 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.629e-05/0.006364, allocations: 32.12 kB / 353.4 MB, free: 3.996 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003052/0.006669, allocations: 298.8 kB / 353.7 MB, free: 3.676 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.00668, allocations: 0 / 353.7 MB, free: 3.676 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.921e-05/0.006699, allocations: 8 kB / 353.7 MB, free: 3.668 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.867e-05/0.006728, allocations: 28.58 kB / 353.7 MB, free: 3.641 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001506/0.006878, allocations: 103.9 kB / 353.8 MB, free: 3.539 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000729/0.007607, allocations: 1.094 MB / 354.9 MB, free: 2.395 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001648/0.007772, allocations: 137.3 kB / 355 MB, free: 2.223 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.772e-05/0.00783, allocations: 43 kB / 355.1 MB, free: 2.168 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.505e-05/0.007855, allocations: 11.98 kB / 355.1 MB, free: 2.156 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.553e-05/0.00787, allocations: 37.39 kB / 355.1 MB, free: 2.109 MB / 282.7 MB Notification: Performance of pre-optimization done (n=14): time 1.213e-06/0.007872, allocations: 0 / 355.1 MB, free: 2.109 MB / 282.7 MB Notification: Performance of matching and sorting (n=14): time 0.0003011/0.008173, allocations: 153.3 kB / 355.3 MB, free: 1.953 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.377e-05/0.008197, allocations: 102.8 kB / 355.4 MB, free: 1.828 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001354/0.008332, allocations: 312.1 kB / 355.7 MB, free: 1.504 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.138e-05/0.008343, allocations: 25.7 kB / 355.7 MB, free: 1.473 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.547e-05/0.008409, allocations: 255 kB / 355.9 MB, free: 1.215 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.163e-05/0.00843, allocations: 55.56 kB / 356 MB, free: 1.16 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.036e-05/0.008491, allocations: 75.53 kB / 356.1 MB, free: 1.078 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.713e-05/0.008548, allocations: 0.5117 MB / 356.6 MB, free: 0.5547 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.078e-05/0.008609, allocations: 28.22 kB / 356.6 MB, free: 0.5273 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001018/0.008711, allocations: 195.5 kB / 356.8 MB, free: 268 kB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000201/0.008912, allocations: 258.4 kB / 357.1 MB, free: 15.93 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.008915, allocations: 4 kB / 357.1 MB, free: 15.93 MB / 298.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000292/0.009207, allocations: 229.3 kB / 357.3 MB, free: 15.7 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.15e-05/0.009219, allocations: 8 kB / 357.3 MB, free: 15.69 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.446e-05/0.009243, allocations: 20 kB / 357.3 MB, free: 15.67 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.009256, allocations: 4 kB / 357.3 MB, free: 15.66 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001185/0.009375, allocations: 47.91 kB / 357.4 MB, free: 15.62 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.227e-06/0.009384, allocations: 11.92 kB / 357.4 MB, free: 15.61 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.485e-05/0.009479, allocations: 27.84 kB / 357.4 MB, free: 15.58 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.018e-05/0.009499, allocations: 20.23 kB / 357.4 MB, free: 15.56 MB / 298.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.883e-05/0.009598, allocations: 188.3 kB / 357.6 MB, free: 15.37 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.036e-05/0.009648, allocations: 19.91 kB / 357.6 MB, free: 15.35 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000237/0.009885, allocations: 171.3 kB / 357.8 MB, free: 15.17 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.489e-06/0.009889, allocations: 4 kB / 357.8 MB, free: 15.17 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.009893, allocations: 4 kB / 357.8 MB, free: 15.16 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.009897, allocations: 0 / 357.8 MB, free: 15.16 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000288/0.01019, allocations: 248.4 kB / 358 MB, free: 14.89 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.287e-05/0.01021, allocations: 23.94 kB / 358.1 MB, free: 14.86 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.993e-05/0.01029, allocations: 23.98 kB / 358.1 MB, free: 14.84 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.01029, allocations: 0 / 358.1 MB, free: 14.84 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.307e-05/0.0103, allocations: 7.984 kB / 358.1 MB, free: 14.83 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.01031, allocations: 4 kB / 358.1 MB, free: 14.83 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.01031, allocations: 0 / 358.1 MB, free: 14.83 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002944/0.0106, allocations: 0.502 MB / 358.6 MB, free: 14.3 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.615e-05/0.01063, allocations: 23.86 kB / 358.6 MB, free: 14.28 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.1e-05/0.01065, allocations: 0 / 358.6 MB, free: 14.28 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001111/0.01076, allocations: 11.98 kB / 358.6 MB, free: 14.27 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.412e-05/0.01081, allocations: 23.97 kB / 358.7 MB, free: 14.25 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.343e-05/0.01083, allocations: 12 kB / 358.7 MB, free: 14.23 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001222/0.01095, allocations: 193.1 kB / 358.9 MB, free: 14.05 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01095, allocations: 0 / 358.9 MB, free: 14.05 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003099/0.01126, allocations: 107.7 kB / 359 MB, free: 13.94 MB / 298.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.0001977/0.01146, allocations: 159.1 kB / 359.1 MB, free: 13.78 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002834/0.01174, allocations: 286 kB / 359.4 MB, free: 13.46 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.073e-06/0.01174, allocations: 1.062 kB / 359.4 MB, free: 13.46 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001744/0.01192, allocations: 213.8 kB / 359.6 MB, free: 13.21 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000311/0.01223, allocations: 42.41 kB / 359.7 MB, free: 13.17 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008738/0.0131, allocations: 0.5287 MB / 360.2 MB, free: 12.61 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.863e-05/0.01317, allocations: 111.9 kB / 360.3 MB, free: 12.48 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.527e-05/0.01324, allocations: 37.59 kB / 360.3 MB, free: 12.44 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.461e-05/0.01328, allocations: 20.48 kB / 360.3 MB, free: 12.42 MB / 298.7 MB Notification: Performance of SimCode: time 6.01e-07/0.01328, allocations: 0 / 360.3 MB, free: 12.42 MB / 298.7 MB Notification: Performance of Templates: time 0.005741/0.01902, allocations: 4.284 MB / 364.6 MB, free: 8.207 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.2989213538821787]