Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.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.001821/0.001821, allocations: 85.91 kB / 22.21 MB, free: 2.285 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.00138/0.00138, allocations: 159 kB / 25.61 MB, free: 8.582 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.073/1.073, allocations: 177 MB / 205.9 MB, free: 4.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.1705/0.1705, allocations: 34.87 MB / 297.4 MB, free: 13.34 MB / 282.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_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_trunk_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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.184e-06/2.184e-06, allocations: 0 / 380 MB, free: 22.71 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.653e-05/2.871e-05, allocations: 3.297 kB / 380 MB, free: 22.71 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC): time 0.00312/0.003149, allocations: 1.935 MB / 382 MB, free: 20.77 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001178/0.004327, allocations: 0.8099 MB / 382.8 MB, free: 19.95 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.304e-05/0.0044, allocations: 0 / 382.8 MB, free: 19.95 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002454/0.004646, allocations: 55.62 kB / 382.8 MB, free: 19.9 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000258/0.004904, allocations: 87.48 kB / 382.9 MB, free: 19.81 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000221/0.005125, allocations: 83.61 kB / 383 MB, free: 19.73 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002183/0.005343, allocations: 274.6 kB / 383.3 MB, free: 19.46 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.577e-05/0.005399, allocations: 12.59 kB / 383.3 MB, free: 19.45 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002013/0.0056, allocations: 135.4 kB / 383.4 MB, free: 19.32 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001347/0.005735, allocations: 107.6 kB / 383.5 MB, free: 19.21 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.13e-05/0.005756, allocations: 8 kB / 383.5 MB, free: 19.2 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001331/0.005889, allocations: 79.88 kB / 383.6 MB, free: 19.12 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 6.56e-05/0.005955, allocations: 63.7 kB / 383.7 MB, free: 19.06 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 5.486e-05/0.00601, allocations: 67.73 kB / 383.7 MB, free: 19 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002609/0.00627, allocations: 266.9 kB / 384 MB, free: 18.73 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.485e-06/0.006273, allocations: 0 / 384 MB, free: 18.73 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.006274, allocations: 4 kB / 384 MB, free: 18.73 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.491e-06/0.00628, allocations: 0 / 384 MB, free: 18.73 MB / 314.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.0005273/0.006807, allocations: 0.5856 MB / 384.6 MB, free: 18.11 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.515e-05/0.006842, allocations: 12.03 kB / 384.6 MB, free: 18.1 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.791e-05/0.0069, allocations: 52.75 kB / 384.7 MB, free: 18.05 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001473/0.007047, allocations: 176.1 kB / 384.8 MB, free: 17.85 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.734e-05/0.007065, allocations: 20.88 kB / 384.8 MB, free: 17.83 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.768e-05/0.007092, allocations: 24.38 kB / 384.9 MB, free: 17.8 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002132/0.007306, allocations: 194.2 kB / 385.1 MB, free: 17.61 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.007317, allocations: 7.938 kB / 385.1 MB, free: 17.6 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.575e-05/0.007333, allocations: 8 kB / 385.1 MB, free: 17.59 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.824e-05/0.007371, allocations: 24.64 kB / 385.1 MB, free: 17.57 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001078/0.007479, allocations: 108.5 kB / 385.2 MB, free: 17.46 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006341/0.008113, allocations: 0.6251 MB / 385.8 MB, free: 16.8 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001406/0.008254, allocations: 106.9 kB / 385.9 MB, free: 16.69 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.198e-05/0.008296, allocations: 27.73 kB / 386 MB, free: 16.66 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.05e-05/0.008316, allocations: 4 kB / 386 MB, free: 16.65 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.793e-05/0.008334, allocations: 41.39 kB / 386 MB, free: 16.6 MB / 314.7 MB Notification: Performance of pre-optimization done (n=16): time 1.403e-06/0.008336, allocations: 0 / 386 MB, free: 16.6 MB / 314.7 MB Notification: Performance of matching and sorting (n=16): time 0.0002341/0.00857, allocations: 131.3 kB / 386.1 MB, free: 16.47 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.367e-05/0.008593, allocations: 63.28 kB / 386.2 MB, free: 16.39 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.246e-05/0.008686, allocations: 245.7 kB / 386.4 MB, free: 16.14 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.19e-05/0.008698, allocations: 33.69 kB / 386.5 MB, free: 16.1 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.165e-05/0.008769, allocations: 235.1 kB / 386.7 MB, free: 15.86 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.589e-05/0.008795, allocations: 67.47 kB / 386.8 MB, free: 15.8 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.861e-05/0.008854, allocations: 67.53 kB / 386.8 MB, free: 15.72 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.256e-05/0.008916, allocations: 0.5079 MB / 387.3 MB, free: 15.2 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.649e-05/0.008953, allocations: 20.45 kB / 387.4 MB, free: 15.18 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.263e-05/0.009036, allocations: 150.2 kB / 387.5 MB, free: 14.98 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001392/0.009175, allocations: 201.5 kB / 387.7 MB, free: 14.73 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.009177, allocations: 0 / 387.7 MB, free: 14.73 MB / 314.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000196/0.009373, allocations: 197.4 kB / 387.9 MB, free: 14.53 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/0.009386, allocations: 11.98 kB / 387.9 MB, free: 14.52 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.573e-06/0.009392, allocations: 0 / 387.9 MB, free: 14.52 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/0.009404, allocations: 8 kB / 387.9 MB, free: 14.51 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002828/0.009687, allocations: 119.9 kB / 388 MB, free: 14.39 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000865/0.01055, allocations: 5.414 MB / 393.4 MB, free: 8.809 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.499e-05/0.01065, allocations: 27.84 kB / 393.5 MB, free: 8.781 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.583e-05/0.01066, allocations: 11.98 kB / 393.5 MB, free: 8.77 MB / 314.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_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 (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 9.028e-05/0.01075, allocations: 176.5 kB / 393.7 MB, free: 8.586 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.103e-05/0.01078, allocations: 23.84 kB / 393.7 MB, free: 8.562 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002156/0.011, allocations: 185.9 kB / 393.9 MB, free: 8.379 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.011, allocations: 0 / 393.9 MB, free: 8.379 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.473e-06/0.011, allocations: 0 / 393.9 MB, free: 8.379 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.409e-06/0.01101, allocations: 7.984 kB / 393.9 MB, free: 8.371 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001407/0.01115, allocations: 177.1 kB / 394 MB, free: 8.172 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.01115, allocations: 4 kB / 394 MB, free: 8.168 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002089/0.01136, allocations: 107.9 kB / 394.1 MB, free: 8.062 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.01136, allocations: 4 kB / 394.2 MB, free: 8.059 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.348e-06/0.01137, allocations: 4 kB / 394.2 MB, free: 8.055 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008989/0.01227, allocations: 5.418 MB / 399.6 MB, free: 2.465 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.01227, allocations: 3.984 kB / 399.6 MB, free: 2.461 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001662/0.01244, allocations: 280 kB / 399.9 MB, free: 2.168 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.428e-05/0.01245, allocations: 19.84 kB / 399.9 MB, free: 2.148 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.79e-05/0.01247, allocations: 0 / 399.9 MB, free: 2.148 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.323e-05/0.01253, allocations: 8 kB / 399.9 MB, free: 2.141 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.995e-05/0.01257, allocations: 11.97 kB / 399.9 MB, free: 2.129 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.327e-06/0.01258, allocations: 8 kB / 399.9 MB, free: 2.121 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.71e-05/0.01262, allocations: 168.2 kB / 400.1 MB, free: 1.957 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01262, allocations: 0 / 400.1 MB, free: 1.957 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002412/0.01286, allocations: 83.78 kB / 400.1 MB, free: 1.875 MB / 314.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.0002583/0.01312, allocations: 135.2 kB / 400.3 MB, free: 1.73 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000341/0.01346, allocations: 206.5 kB / 400.5 MB, free: 1.527 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.022e-06/0.01346, allocations: 0 / 400.5 MB, free: 1.527 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000198/0.01366, allocations: 139.5 kB / 400.6 MB, free: 1.387 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002058/0.01387, allocations: 34.92 kB / 400.6 MB, free: 1.355 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006676/0.01453, allocations: 482.3 kB / 401.1 MB, free: 0.8555 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.756e-05/0.01458, allocations: 111.9 kB / 401.2 MB, free: 0.7266 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.917e-05/0.01464, allocations: 17.48 kB / 401.2 MB, free: 0.7109 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.528e-05/0.01472, allocations: 94.19 kB / 401.3 MB, free: 0.6172 MB / 314.7 MB Notification: Performance of SimCode: time 3.71e-07/0.01472, allocations: 0 / 401.3 MB, free: 0.6172 MB / 314.7 MB Notification: Performance of Templates: time 0.006362/0.02108, allocations: 4.528 MB / 405.9 MB, free: 12.21 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC_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/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.6721226349473]