Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.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.0009407/0.0009407, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.001062/0.001062, allocations: 167.9 kB / 25.61 MB, free: 8.582 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.9015/0.9015, allocations: 177.1 MB / 206 MB, free: 4.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.1354/0.1354, allocations: 34.27 MB / 296.9 MB, free: 13.9 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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_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_4.1.0_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_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.042e-06/1.042e-06, allocations: 0 / 379.3 MB, free: 23.36 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.298e-06/1.034e-05, allocations: 2.312 kB / 379.3 MB, free: 23.36 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC): time 0.001698/0.001709, allocations: 1.923 MB / 381.3 MB, free: 21.42 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007662/0.002475, allocations: 0.8099 MB / 382.1 MB, free: 20.61 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.355e-05/0.002529, allocations: 0 / 382.1 MB, free: 20.61 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001898/0.002718, allocations: 59.61 kB / 382.1 MB, free: 20.55 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000205/0.002923, allocations: 83.5 kB / 382.2 MB, free: 20.46 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001679/0.003091, allocations: 87.59 kB / 382.3 MB, free: 20.38 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.000161/0.003252, allocations: 270.6 kB / 382.6 MB, free: 20.11 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.079e-05/0.003293, allocations: 16.58 kB / 382.6 MB, free: 20.1 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001487/0.003442, allocations: 131.5 kB / 382.7 MB, free: 19.97 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001063/0.003548, allocations: 111.6 kB / 382.8 MB, free: 19.86 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.737e-05/0.003565, allocations: 8 kB / 382.8 MB, free: 19.85 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001094/0.003675, allocations: 71.89 kB / 382.9 MB, free: 19.78 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.885e-05/0.003734, allocations: 71.69 kB / 383 MB, free: 19.71 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 4.566e-05/0.003779, allocations: 71.73 kB / 383 MB, free: 19.64 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002029/0.003982, allocations: 262.9 kB / 383.3 MB, free: 19.38 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.804e-06/0.003984, allocations: 4 kB / 383.3 MB, free: 19.38 MB / 314.7 MB Notification: Performance of FrontEnd: time 4.91e-07/0.003984, allocations: 0 / 383.3 MB, free: 19.38 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.898e-06/0.003988, allocations: 0 / 383.3 MB, free: 19.38 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.0004092/0.004397, allocations: 0.5856 MB / 383.9 MB, free: 18.76 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.612e-05/0.004424, allocations: 12.03 kB / 383.9 MB, free: 18.75 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.065e-05/0.004474, allocations: 48.75 kB / 383.9 MB, free: 18.7 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001193/0.004594, allocations: 182 kB / 384.1 MB, free: 18.5 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.333e-05/0.004607, allocations: 20.88 kB / 384.1 MB, free: 18.48 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.006e-05/0.004627, allocations: 24.38 kB / 384.1 MB, free: 18.45 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001917/0.004819, allocations: 198.2 kB / 384.3 MB, free: 18.25 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.337e-06/0.004828, allocations: 3.938 kB / 384.3 MB, free: 18.25 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.378e-05/0.004842, allocations: 8 kB / 384.4 MB, free: 18.24 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.03e-05/0.004872, allocations: 24.64 kB / 384.4 MB, free: 18.21 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.793e-05/0.00497, allocations: 108.5 kB / 384.5 MB, free: 18.11 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005633/0.005533, allocations: 0.6212 MB / 385.1 MB, free: 17.46 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001424/0.005676, allocations: 110.2 kB / 385.2 MB, free: 17.34 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.88e-05/0.005714, allocations: 31.72 kB / 385.2 MB, free: 17.3 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.783e-05/0.005732, allocations: 4 kB / 385.2 MB, free: 17.3 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.457e-05/0.005747, allocations: 41.39 kB / 385.3 MB, free: 17.25 MB / 314.7 MB Notification: Performance of pre-optimization done (n=16): time 1.132e-06/0.005748, allocations: 0 / 385.3 MB, free: 17.25 MB / 314.7 MB Notification: Performance of matching and sorting (n=16): time 0.0002126/0.00596, allocations: 133.6 kB / 385.4 MB, free: 17.11 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.668e-05/0.005977, allocations: 59.34 kB / 385.5 MB, free: 17.04 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.397e-05/0.006051, allocations: 246.2 kB / 385.7 MB, free: 16.79 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.026e-05/0.006061, allocations: 29.7 kB / 385.7 MB, free: 16.75 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.973e-05/0.006111, allocations: 235.1 kB / 386 MB, free: 16.52 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.102e-05/0.006132, allocations: 67.47 kB / 386 MB, free: 16.45 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.146e-05/0.006184, allocations: 75.52 kB / 386.1 MB, free: 16.36 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 3.812e-05/0.006222, allocations: 0.5001 MB / 386.6 MB, free: 15.85 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.641e-05/0.006258, allocations: 24.44 kB / 386.6 MB, free: 15.83 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.314e-05/0.006321, allocations: 148.8 kB / 386.8 MB, free: 15.63 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001166/0.006438, allocations: 197.4 kB / 387 MB, free: 15.38 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.00644, allocations: 3.938 kB / 387 MB, free: 15.38 MB / 314.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0001834/0.006624, allocations: 197.4 kB / 387.2 MB, free: 15.18 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/0.006637, allocations: 8 kB / 387.2 MB, free: 15.17 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.006641, allocations: 4 kB / 387.2 MB, free: 15.17 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.808e-06/0.006651, allocations: 4 kB / 387.2 MB, free: 15.16 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000268/0.006919, allocations: 123.9 kB / 387.3 MB, free: 15.04 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000657/0.007576, allocations: 5.414 MB / 392.7 MB, free: 9.457 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.736e-05/0.007663, allocations: 27.84 kB / 392.8 MB, free: 9.43 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.254e-05/0.007676, allocations: 8 kB / 392.8 MB, free: 9.422 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 7.297e-05/0.007749, allocations: 183.3 kB / 392.9 MB, free: 9.234 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.018e-05/0.007779, allocations: 19.84 kB / 393 MB, free: 9.215 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001974/0.007976, allocations: 190.1 kB / 393.1 MB, free: 9.027 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.007978, allocations: 0 / 393.1 MB, free: 9.027 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.232e-06/0.00798, allocations: 4 kB / 393.1 MB, free: 9.023 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.007982, allocations: 0 / 393.1 MB, free: 9.023 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001385/0.008121, allocations: 181.1 kB / 393.3 MB, free: 8.82 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.008122, allocations: 0 / 393.3 MB, free: 8.82 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002134/0.008336, allocations: 107.9 kB / 393.4 MB, free: 8.715 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.008339, allocations: 4 kB / 393.4 MB, free: 8.711 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.031e-05/0.008349, allocations: 7.984 kB / 393.4 MB, free: 8.703 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006491/0.008998, allocations: 5.414 MB / 398.9 MB, free: 3.117 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.008999, allocations: 0 / 398.9 MB, free: 3.117 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001415/0.00914, allocations: 280 kB / 399.1 MB, free: 2.824 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.226e-05/0.009153, allocations: 23.83 kB / 399.2 MB, free: 2.801 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.668e-05/0.009169, allocations: 3.984 kB / 399.2 MB, free: 2.797 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.155e-05/0.009231, allocations: 8 kB / 399.2 MB, free: 2.789 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.336e-05/0.009264, allocations: 11.97 kB / 399.2 MB, free: 2.777 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.017e-05/0.009275, allocations: 12 kB / 399.2 MB, free: 2.766 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.192e-05/0.009306, allocations: 160.2 kB / 399.3 MB, free: 2.609 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009306, allocations: 0 / 399.3 MB, free: 2.609 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002303/0.009537, allocations: 83.78 kB / 399.4 MB, free: 2.527 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.0001361/0.009673, allocations: 139.2 kB / 399.6 MB, free: 2.379 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003083/0.009981, allocations: 204 kB / 399.8 MB, free: 2.176 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.303e-06/0.009983, allocations: 0 / 399.8 MB, free: 2.176 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001933/0.01018, allocations: 141.6 kB / 399.9 MB, free: 2.035 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001951/0.01037, allocations: 27.92 kB / 399.9 MB, free: 2.008 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000573/0.01094, allocations: 482.5 kB / 400.4 MB, free: 1.508 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.863e-05/0.01098, allocations: 107.9 kB / 400.5 MB, free: 1.383 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.892e-05/0.01104, allocations: 17.48 kB / 400.5 MB, free: 1.367 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.83e-05/0.01111, allocations: 98.17 kB / 400.6 MB, free: 1.27 MB / 314.7 MB Notification: Performance of SimCode: time 5.81e-07/0.01111, allocations: 0 / 400.6 MB, free: 1.27 MB / 314.7 MB Notification: Performance of Templates: time 0.005649/0.01676, allocations: 4.52 MB / 405.1 MB, free: 12.84 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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.0991595699451864]