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.001033/0.001033, allocations: 83.58 kB / 21.19 MB, free: 3.383 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.001163/0.001163, allocations: 161 kB / 24.56 MB, free: 16 kB / 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.9838/0.9838, allocations: 177.1 MB / 205 MB, free: 5.281 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.2689/0.2689, allocations: 34.25 MB / 295.7 MB, free: 0.7188 MB / 266.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.382e-06/1.382e-06, allocations: 0 / 378.1 MB, free: 2.652 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.652e-05/2.79e-05, allocations: 10.25 kB / 378.1 MB, free: 2.641 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC): time 0.002678/0.002706, allocations: 1.939 MB / 380 MB, free: 0.6836 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00126/0.003966, allocations: 0.8217 MB / 380.8 MB, free: 15.86 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.754e-05/0.004053, allocations: 0 / 380.8 MB, free: 15.86 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003079/0.004361, allocations: 51.67 kB / 380.9 MB, free: 15.81 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003102/0.004671, allocations: 87.5 kB / 381 MB, free: 15.72 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003022/0.004973, allocations: 91.62 kB / 381.1 MB, free: 15.63 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002676/0.005241, allocations: 270.5 kB / 381.3 MB, free: 15.37 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.085e-05/0.005292, allocations: 12.58 kB / 381.3 MB, free: 15.36 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002568/0.005549, allocations: 135.4 kB / 381.5 MB, free: 15.22 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000164/0.005713, allocations: 115.6 kB / 381.6 MB, free: 15.11 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.222e-05/0.005735, allocations: 12 kB / 381.6 MB, free: 15.1 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001634/0.005898, allocations: 63.91 kB / 381.7 MB, free: 15.04 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.526e-05/0.005974, allocations: 71.69 kB / 381.7 MB, free: 14.96 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 6.726e-05/0.006041, allocations: 63.72 kB / 381.8 MB, free: 14.9 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003187/0.00636, allocations: 266.9 kB / 382.1 MB, free: 14.64 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.006362, allocations: 0 / 382.1 MB, free: 14.64 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.006364, allocations: 0 / 382.1 MB, free: 14.64 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.923e-06/0.006371, allocations: 0 / 382.1 MB, free: 14.64 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: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.0006553/0.007026, allocations: 0.5895 MB / 382.6 MB, free: 14.01 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.402e-05/0.00707, allocations: 12.03 kB / 382.7 MB, free: 14 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.998e-05/0.00716, allocations: 52.75 kB / 382.7 MB, free: 13.95 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002069/0.007367, allocations: 180.2 kB / 382.9 MB, free: 13.75 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.031e-05/0.007387, allocations: 16.88 kB / 382.9 MB, free: 13.73 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.755e-05/0.007415, allocations: 20.38 kB / 382.9 MB, free: 13.71 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003565/0.007771, allocations: 226.2 kB / 383.1 MB, free: 13.48 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.007784, allocations: 3.938 kB / 383.1 MB, free: 13.48 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.083e-05/0.007805, allocations: 8 kB / 383.1 MB, free: 13.47 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.743e-05/0.007862, allocations: 24.64 kB / 383.2 MB, free: 13.45 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002041/0.008066, allocations: 139.8 kB / 383.3 MB, free: 13.31 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009432/0.00901, allocations: 0.691 MB / 384 MB, free: 12.58 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001948/0.009204, allocations: 103 kB / 384.1 MB, free: 12.47 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.989e-05/0.009274, allocations: 31.73 kB / 384.1 MB, free: 12.43 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.632e-05/0.009311, allocations: 7.984 kB / 384.1 MB, free: 12.43 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.01e-05/0.009341, allocations: 37.39 kB / 384.2 MB, free: 12.38 MB / 362.7 MB Notification: Performance of pre-optimization done (n=16): time 2.024e-06/0.009343, allocations: 4 kB / 384.2 MB, free: 12.38 MB / 362.7 MB Notification: Performance of matching and sorting (n=16): time 0.0003513/0.009694, allocations: 156.6 kB / 384.3 MB, free: 12.22 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.442e-05/0.009729, allocations: 51.41 kB / 384.4 MB, free: 12.16 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001483/0.009877, allocations: 253.8 kB / 384.6 MB, free: 11.89 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.287e-05/0.0099, allocations: 33.7 kB / 384.7 MB, free: 11.85 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001006/0.01, allocations: 231.1 kB / 384.9 MB, free: 11.62 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.268e-05/0.01004, allocations: 59.52 kB / 384.9 MB, free: 11.56 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.779e-05/0.01012, allocations: 75.53 kB / 385 MB, free: 11.48 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000146/0.01027, allocations: 0.5001 MB / 385.5 MB, free: 10.96 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.778e-05/0.01033, allocations: 28.45 kB / 385.5 MB, free: 10.94 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001301/0.01046, allocations: 160.8 kB / 385.7 MB, free: 10.73 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000219/0.01068, allocations: 207.7 kB / 385.9 MB, free: 10.47 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.01069, allocations: 0 / 385.9 MB, free: 10.47 MB / 362.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.00027/0.01096, allocations: 208.5 kB / 386.1 MB, free: 10.26 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.229e-05/0.01098, allocations: 8 kB / 386.1 MB, free: 10.25 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.01099, allocations: 4 kB / 386.1 MB, free: 10.25 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.908e-05/0.011, allocations: 7.938 kB / 386.1 MB, free: 10.24 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000368/0.01137, allocations: 123.9 kB / 386.3 MB, free: 10.12 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002025/0.0134, allocations: 5.418 MB / 391.7 MB, free: 4.531 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001185/0.01352, allocations: 27.78 kB / 391.7 MB, free: 4.504 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.917e-05/0.01354, allocations: 12 kB / 391.7 MB, free: 4.492 MB / 362.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_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 (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 0.0001478/0.01368, allocations: 175.7 kB / 391.9 MB, free: 4.312 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.108e-05/0.01373, allocations: 32.12 kB / 391.9 MB, free: 4.281 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003638/0.0141, allocations: 191.1 kB / 392.1 MB, free: 4.09 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.0141, allocations: 3.938 kB / 392.1 MB, free: 4.086 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.01411, allocations: 0 / 392.1 MB, free: 4.086 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.01411, allocations: 0 / 392.1 MB, free: 4.086 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002684/0.01438, allocations: 240.4 kB / 392.3 MB, free: 3.816 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.01438, allocations: 0 / 392.3 MB, free: 3.816 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003348/0.01472, allocations: 111.9 kB / 392.4 MB, free: 3.707 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.143e-06/0.01472, allocations: 3.938 kB / 392.5 MB, free: 3.703 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.842e-05/0.01474, allocations: 15.98 kB / 392.5 MB, free: 3.688 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001968/0.01671, allocations: 5.403 MB / 397.9 MB, free: 14.11 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.01671, allocations: 4.062 kB / 397.9 MB, free: 14.11 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002721/0.01698, allocations: 283.7 kB / 398.2 MB, free: 13.81 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.194e-05/0.017, allocations: 23.84 kB / 398.2 MB, free: 13.79 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.671e-05/0.01703, allocations: 4 kB / 398.2 MB, free: 13.79 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.285e-05/0.01712, allocations: 4 kB / 398.2 MB, free: 13.78 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.99e-05/0.01718, allocations: 15.97 kB / 398.2 MB, free: 13.77 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.389e-05/0.0172, allocations: 4 kB / 398.2 MB, free: 13.76 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.079e-05/0.01729, allocations: 168.2 kB / 398.4 MB, free: 13.6 MB / 378.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01729, allocations: 0 / 398.4 MB, free: 13.6 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004167/0.01771, allocations: 91.77 kB / 398.5 MB, free: 13.51 MB / 378.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.0002495/0.01795, allocations: 127.1 kB / 398.6 MB, free: 13.38 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005267/0.01848, allocations: 216.1 kB / 398.8 MB, free: 13.16 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.01848, allocations: 0 / 398.8 MB, free: 13.16 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003122/0.0188, allocations: 150.9 kB / 398.9 MB, free: 13.01 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003168/0.01911, allocations: 30.83 kB / 399 MB, free: 12.98 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001001/0.02011, allocations: 481.4 kB / 399.4 MB, free: 12.48 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.713e-05/0.02019, allocations: 111.9 kB / 399.5 MB, free: 12.35 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001316/0.02032, allocations: 45.42 kB / 399.6 MB, free: 12.31 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.193e-05/0.02037, allocations: 24.48 kB / 399.6 MB, free: 12.29 MB / 378.7 MB Notification: Performance of SimCode: time 1.212e-06/0.02038, allocations: 3.938 kB / 399.6 MB, free: 12.28 MB / 378.7 MB Notification: Performance of Templates: time 0.008111/0.02849, allocations: 4.576 MB / 404.2 MB, free: 7.797 MB / 378.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.339684743899852]