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.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.001092/0.001092, allocations: 80.8 kB / 21.49 MB, free: 2.996 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.001263/0.001263, allocations: 172.7 kB / 24.91 MB, free: 9.148 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 0.9631/0.9631, allocations: 177.1 MB / 205.3 MB, free: 5.465 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.2654/0.2654, allocations: 32.8 MB / 294.6 MB, free: 1.254 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,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_4.0.0_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_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.933e-06/1.933e-06, allocations: 0 / 323.3 MB, free: 9.645 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.984e-05/2.177e-05, allocations: 7.406 kB / 323.3 MB, free: 9.637 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent): time 0.003791/0.003813, allocations: 2.112 MB / 325.4 MB, free: 7.512 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001797/0.005611, allocations: 1.121 MB / 326.5 MB, free: 6.387 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.253e-05/0.005693, allocations: 0 / 326.5 MB, free: 6.387 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002154/0.005908, allocations: 59.61 kB / 326.6 MB, free: 6.328 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002/0.006108, allocations: 95.38 kB / 326.7 MB, free: 6.234 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004482/0.006557, allocations: 175.2 kB / 326.9 MB, free: 6.062 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003752/0.006932, allocations: 346.3 kB / 327.2 MB, free: 5.723 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.922e-05/0.006981, allocations: 11.53 kB / 327.2 MB, free: 5.715 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002491/0.00723, allocations: 167.4 kB / 327.4 MB, free: 5.551 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001648/0.007395, allocations: 111.6 kB / 327.5 MB, free: 5.441 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.714e-05/0.007422, allocations: 12 kB / 327.5 MB, free: 5.43 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000286/0.007708, allocations: 163.7 kB / 327.7 MB, free: 5.27 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.735e-05/0.007785, allocations: 79.62 kB / 327.7 MB, free: 5.191 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.95e-05/0.007875, allocations: 75.7 kB / 327.8 MB, free: 5.117 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000429/0.008304, allocations: 370.6 kB / 328.2 MB, free: 4.754 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.523e-06/0.008305, allocations: 0 / 328.2 MB, free: 4.754 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.22e-07/0.008306, allocations: 0 / 328.2 MB, free: 4.754 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.088e-06/0.00831, allocations: 0 / 328.2 MB, free: 4.754 MB / 298.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.0006486/0.008959, allocations: 0.5087 MB / 328.7 MB, free: 4.223 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.207e-05/0.008991, allocations: 12.03 kB / 328.7 MB, free: 4.211 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005158/0.009507, allocations: 72.86 kB / 328.8 MB, free: 4.141 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002045/0.009711, allocations: 177.3 kB / 328.9 MB, free: 3.941 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.074e-05/0.009732, allocations: 24.97 kB / 329 MB, free: 3.914 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.807e-05/0.00977, allocations: 32.12 kB / 329 MB, free: 3.883 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003961/0.01017, allocations: 290.2 kB / 329.3 MB, free: 3.578 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.839e-06/0.01018, allocations: 0 / 329.3 MB, free: 3.578 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.41e-05/0.0102, allocations: 12 kB / 329.3 MB, free: 3.566 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.793e-05/0.01023, allocations: 16.59 kB / 329.3 MB, free: 3.551 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001817/0.01041, allocations: 106.2 kB / 329.4 MB, free: 3.445 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008097/0.01122, allocations: 0.7594 MB / 330.2 MB, free: 2.656 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001499/0.01137, allocations: 156.1 kB / 330.3 MB, free: 2.473 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.411e-05/0.01141, allocations: 31.67 kB / 330.3 MB, free: 2.434 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.242e-05/0.01144, allocations: 15.92 kB / 330.4 MB, free: 2.418 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.745e-05/0.01145, allocations: 30.56 kB / 330.4 MB, free: 2.379 MB / 298.7 MB Notification: Performance of pre-optimization done (n=14): time 1.442e-06/0.01145, allocations: 4 kB / 330.4 MB, free: 2.375 MB / 298.7 MB Notification: Performance of matching and sorting (n=14): time 0.0002098/0.01166, allocations: 101.5 kB / 330.5 MB, free: 2.27 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.575e-05/0.0117, allocations: 106.8 kB / 330.6 MB, free: 2.141 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001322/0.01183, allocations: 232.9 kB / 330.8 MB, free: 1.898 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.445e-05/0.01185, allocations: 25.7 kB / 330.9 MB, free: 1.867 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.105e-05/0.01192, allocations: 196.2 kB / 331 MB, free: 1.672 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.398e-05/0.01194, allocations: 43.62 kB / 331.1 MB, free: 1.629 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.489e-05/0.01201, allocations: 62.11 kB / 331.1 MB, free: 1.559 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.336e-05/0.01209, allocations: 338.8 kB / 331.5 MB, free: 1.219 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.716e-05/0.01214, allocations: 19.81 kB / 331.5 MB, free: 1.199 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.619e-05/0.01223, allocations: 140.3 kB / 331.6 MB, free: 1.004 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000173/0.01241, allocations: 211.5 kB / 331.8 MB, free: 0.7383 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.01241, allocations: 0 / 331.8 MB, free: 0.7383 MB / 298.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002138/0.01262, allocations: 176.6 kB / 332 MB, free: 0.5547 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.01264, allocations: 11.98 kB / 332 MB, free: 0.543 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.525e-05/0.01266, allocations: 15.98 kB / 332 MB, free: 0.5273 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.024e-05/0.01267, allocations: 4 kB / 332 MB, free: 0.5234 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001472/0.01282, allocations: 44.44 kB / 332.1 MB, free: 492 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.834e-06/0.01283, allocations: 15.88 kB / 332.1 MB, free: 476 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001033/0.01293, allocations: 39.77 kB / 332.1 MB, free: 436 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.782e-05/0.01295, allocations: 12 kB / 332.2 MB, free: 424 kB / 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_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 8.985e-05/0.01304, allocations: 138.9 kB / 332.3 MB, free: 276 kB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.298e-05/0.01309, allocations: 16 kB / 332.3 MB, free: 260 kB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001928/0.01328, allocations: 131.4 kB / 332.4 MB, free: 120 kB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.01329, allocations: 8 kB / 332.4 MB, free: 112 kB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.024e-06/0.01329, allocations: 0 / 332.4 MB, free: 112 kB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.01329, allocations: 3.938 kB / 332.4 MB, free: 108 kB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002238/0.01352, allocations: 149.7 kB / 332.6 MB, free: 15.94 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-05/0.01353, allocations: 8 kB / 332.6 MB, free: 15.93 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.415e-05/0.01359, allocations: 23.91 kB / 332.6 MB, free: 15.91 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.01359, allocations: 4 kB / 332.6 MB, free: 15.91 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.836e-06/0.0136, allocations: 0 / 332.6 MB, free: 15.91 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/0.0136, allocations: 4 kB / 332.6 MB, free: 15.9 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.0136, allocations: 4 kB / 332.6 MB, free: 15.9 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002057/0.01381, allocations: 383 kB / 333 MB, free: 15.51 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.2e-05/0.01383, allocations: 19.8 kB / 333 MB, free: 15.49 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.945e-05/0.01385, allocations: 7.984 kB / 333 MB, free: 15.48 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.793e-05/0.01395, allocations: 4 kB / 333 MB, free: 15.48 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.181e-05/0.01399, allocations: 19.97 kB / 333.1 MB, free: 15.46 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.648e-06/0.014, allocations: 4 kB / 333.1 MB, free: 15.45 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.042e-05/0.01405, allocations: 74.72 kB / 333.1 MB, free: 15.38 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01405, allocations: 0 / 333.1 MB, free: 15.38 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002852/0.01434, allocations: 107.7 kB / 333.2 MB, free: 15.27 MB / 314.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.0001759/0.01451, allocations: 144.2 kB / 333.4 MB, free: 15.12 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002228/0.01473, allocations: 259.1 kB / 333.6 MB, free: 14.83 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 8.626e-06/0.01474, allocations: 8 kB / 333.6 MB, free: 14.82 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 9.963e-05/0.01484, allocations: 195 kB / 333.8 MB, free: 14.59 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000266/0.01511, allocations: 41.53 kB / 333.9 MB, free: 14.55 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007579/0.01587, allocations: 0.5167 MB / 334.4 MB, free: 14 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.445e-05/0.01593, allocations: 107.9 kB / 334.5 MB, free: 13.88 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.446e-05/0.01599, allocations: 13.66 kB / 334.5 MB, free: 13.86 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001438/0.01613, allocations: 119.3 kB / 334.6 MB, free: 13.75 MB / 314.7 MB Notification: Performance of SimCode: time 6.41e-07/0.01613, allocations: 0 / 334.6 MB, free: 13.75 MB / 314.7 MB Notification: Performance of Templates: time 0.005775/0.0219, allocations: 4.609 MB / 339.2 MB, free: 9.223 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_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_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: 2.9735006778500974]