Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.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.001055/0.001055, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.001063/0.001063, allocations: 165.9 kB / 24.99 MB, free: 8.336 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 1/1, allocations: 177.1 MB / 205.3 MB, free: 5.645 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.2356/0.2356, allocations: 32.8 MB / 294.6 MB, free: 1.293 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.Plate.kc_turbulent_KC,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|cp.[0-9,]+.|eta.[0-9,]+.|lambda.[0-9,]+.|rho.[0-9,]+.|Nu.[0-9,]+.|velocity.[0-9,]+.|kc.[0-9,]+.|Pr.[0-9,]+.|Re.[0-9,]+.|input_Nu.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|cp.[0-9,]+.|eta.[0-9,]+.|lambda.[0-9,]+.|rho.[0-9,]+.|Nu.[0-9,]+.|velocity.[0-9,]+.|kc.[0-9,]+.|Pr.[0-9,]+.|Re.[0-9,]+.|input_Nu.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.222e-06/1.222e-06, allocations: 0 / 376 MB, free: 5 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.35e-05/1.472e-05, allocations: 4.141 kB / 376 MB, free: 4.996 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC): time 0.001878/0.001893, allocations: 1.763 MB / 377.8 MB, free: 3.219 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008046/0.002698, allocations: 0.7361 MB / 378.5 MB, free: 2.477 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.983e-05/0.002747, allocations: 0 / 378.5 MB, free: 2.477 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001972/0.002945, allocations: 39.72 kB / 378.6 MB, free: 2.438 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002192/0.003164, allocations: 67.64 kB / 378.6 MB, free: 2.371 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001483/0.003312, allocations: 59.75 kB / 378.7 MB, free: 2.312 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001681/0.00348, allocations: 163.3 kB / 378.8 MB, free: 2.152 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.629e-05/0.003517, allocations: 5.594 kB / 378.9 MB, free: 2.145 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.976e-05/0.003596, allocations: 71.73 kB / 378.9 MB, free: 2.074 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001036/0.0037, allocations: 75.77 kB / 379 MB, free: 2 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.553e-05/0.003716, allocations: 8 kB / 379 MB, free: 1.992 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.956e-05/0.003815, allocations: 51.8 kB / 379.1 MB, free: 1.941 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.087e-05/0.003876, allocations: 55.81 kB / 379.1 MB, free: 1.887 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.398e-05/0.00392, allocations: 39.86 kB / 379.1 MB, free: 1.848 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002/0.00412, allocations: 167.4 kB / 379.3 MB, free: 1.684 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.763e-06/0.004122, allocations: 0 / 379.3 MB, free: 1.684 MB / 346.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.004122, allocations: 0 / 379.3 MB, free: 1.684 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.607e-06/0.004126, allocations: 3.938 kB / 379.3 MB, free: 1.68 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0004373/0.004563, allocations: 491.7 kB / 379.8 MB, free: 1.164 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.204e-05/0.004595, allocations: 8.031 kB / 379.8 MB, free: 1.156 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003642/0.00496, allocations: 96.72 kB / 379.9 MB, free: 1.062 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001605/0.00512, allocations: 170.6 kB / 380.1 MB, free: 0.8711 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.031e-05/0.00513, allocations: 8.375 kB / 380.1 MB, free: 0.8633 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.962e-05/0.00515, allocations: 8.375 kB / 380.1 MB, free: 0.8555 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002638/0.005414, allocations: 214.8 kB / 380.3 MB, free: 0.6289 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.624e-06/0.005421, allocations: 4.188 kB / 380.3 MB, free: 0.625 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.763e-05/0.005439, allocations: 4.375 kB / 380.3 MB, free: 0.6211 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.893e-05/0.005468, allocations: 23.91 kB / 380.3 MB, free: 0.5977 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000181/0.005649, allocations: 115.8 kB / 380.4 MB, free: 496 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007084/0.006357, allocations: 0.6011 MB / 381 MB, free: 15.84 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001954/0.006553, allocations: 126.8 kB / 381.2 MB, free: 15.7 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.244e-05/0.006615, allocations: 31.7 kB / 381.2 MB, free: 15.67 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.852e-05/0.006634, allocations: 4 kB / 381.2 MB, free: 15.66 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.831e-05/0.006652, allocations: 33.39 kB / 381.2 MB, free: 15.62 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 1.303e-06/0.006653, allocations: 0 / 381.2 MB, free: 15.62 MB / 362.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003203/0.006973, allocations: 149.5 kB / 381.4 MB, free: 15.47 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.798e-05/0.007001, allocations: 55.34 kB / 381.4 MB, free: 15.4 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001082/0.00711, allocations: 216.8 kB / 381.6 MB, free: 15.18 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.494e-05/0.007125, allocations: 25.7 kB / 381.7 MB, free: 15.14 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.462e-05/0.007189, allocations: 171.1 kB / 381.8 MB, free: 14.97 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.944e-05/0.007219, allocations: 47.59 kB / 381.9 MB, free: 14.93 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.833e-05/0.007277, allocations: 63.27 kB / 381.9 MB, free: 14.86 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001071/0.007384, allocations: 0.4962 MB / 382.4 MB, free: 14.35 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.779e-05/0.007442, allocations: 23.97 kB / 382.5 MB, free: 14.32 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.7e-05/0.007519, allocations: 70.23 kB / 382.5 MB, free: 14.24 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001539/0.007673, allocations: 114.1 kB / 382.6 MB, free: 14.12 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.007674, allocations: 0 / 382.6 MB, free: 14.12 MB / 362.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002215/0.007896, allocations: 141.5 kB / 382.8 MB, free: 13.97 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.858e-06/0.007906, allocations: 8 kB / 382.8 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.00791, allocations: 0 / 382.8 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.007924, allocations: 4 kB / 382.8 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009831/0.01775, allocations: 0.8811 MB / 383.7 MB, free: 13.08 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01269/0.03045, allocations: 11.79 MB / 395.5 MB, free: 0.5547 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000171/0.03062, allocations: 19.88 kB / 395.5 MB, free: 0.5352 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.511e-05/0.03064, allocations: 16.17 kB / 395.5 MB, free: 0.5195 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 initialization (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 prepare postOptimizeDAE: time 0.0001141/0.03076, allocations: 160.6 kB / 395.7 MB, free: 360 kB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.625e-05/0.03081, allocations: 15.95 kB / 395.7 MB, free: 344 kB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003511/0.03432, allocations: 448.7 kB / 396.1 MB, free: 15.88 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.534e-06/0.03433, allocations: 0 / 396.1 MB, free: 15.88 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.022e-06/0.03433, allocations: 0 / 396.1 MB, free: 15.88 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.03433, allocations: 4 kB / 396.1 MB, free: 15.88 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002452/0.03458, allocations: 188.5 kB / 396.3 MB, free: 15.66 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.03458, allocations: 3.938 kB / 396.3 MB, free: 15.65 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001634/0.03474, allocations: 31.92 kB / 396.3 MB, free: 15.62 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003847/0.03859, allocations: 458.5 kB / 396.8 MB, free: 15.16 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.191e-05/0.03861, allocations: 15.91 kB / 396.8 MB, free: 15.14 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01302/0.05163, allocations: 11.39 MB / 408.2 MB, free: 3.008 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.91e-06/0.05163, allocations: 16.22 kB / 408.2 MB, free: 2.992 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01/0.06164, allocations: 0.5412 MB / 408.7 MB, free: 2.418 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.066e-05/0.06166, allocations: 15.89 kB / 408.8 MB, free: 2.402 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.057e-05/0.06168, allocations: 4 kB / 408.8 MB, free: 2.398 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001089/0.06179, allocations: 4 kB / 408.8 MB, free: 2.395 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001192/0.06191, allocations: 47.89 kB / 408.8 MB, free: 2.348 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.323e-05/0.06192, allocations: 7.984 kB / 408.8 MB, free: 2.34 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.457e-05/0.06198, allocations: 155.2 kB / 409 MB, free: 2.188 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.06198, allocations: 0 / 409 MB, free: 2.188 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000377/0.06236, allocations: 99.89 kB / 409.1 MB, free: 2.09 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 (13): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 3 * 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): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,1), (1,1), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001362/0.0625, allocations: 111.2 kB / 409.2 MB, free: 1.973 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.008701/0.0712, allocations: 0.9443 MB / 410.1 MB, free: 1.023 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.0712, allocations: 7.938 kB / 410.1 MB, free: 1.016 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008305/0.07203, allocations: 0.6503 MB / 410.8 MB, free: 320 kB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002/0.07223, allocations: 31.97 kB / 410.8 MB, free: 288 kB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001436/0.07367, allocations: 0.5645 MB / 411.4 MB, free: 15.68 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.841e-05/0.07371, allocations: 91.97 kB / 411.5 MB, free: 15.57 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.823e-05/0.07377, allocations: 28.61 kB / 411.5 MB, free: 15.55 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.827e-05/0.07381, allocations: 24.48 kB / 411.5 MB, free: 15.52 MB / 394.7 MB Notification: Performance of SimCode: time 1.021e-06/0.07381, allocations: 0 / 411.5 MB, free: 15.52 MB / 394.7 MB Notification: Performance of Templates: time 0.007984/0.0818, allocations: 8.029 MB / 419.5 MB, free: 7.547 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/Plate/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.4774067660328]