Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.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.0007767/0.0007767, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001065/0.001842, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0007275/0.0007275, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008756/0.001603, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.9869/0.9869, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09429/1.081, allocations: 53.65 MB / 243.3 MB, free: 15.58 MB / 250.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.2815/0.2815, allocations: 34.25 MB / 278.2 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02267/0.3041, allocations: 13.1 MB / 291.3 MB, free: 7.363 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.Plate.kc_turbulent,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|cp.[0-9,]+.|eta.[0-9,]+.|lambda.[0-9,]+.|rho.[0-9,]+.|velocity.[0-9,]+.|Nu.[0-9,]+.|Pr.[0-9,]+.|Re.[0-9,]+.|input_v_0.y|input_v_1.y|input_v_2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|cp.[0-9,]+.|eta.[0-9,]+.|lambda.[0-9,]+.|rho.[0-9,]+.|velocity.[0-9,]+.|Nu.[0-9,]+.|Pr.[0-9,]+.|Re.[0-9,]+.|input_v_0.y|input_v_1.y|input_v_2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 292.6 MB, free: 6.293 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.023e-05/2.178e-05, allocations: 9.328 kB / 292.6 MB, free: 6.285 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent): time 0.002193/0.002215, allocations: 1.928 MB / 294.6 MB, free: 4.348 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001174/0.003389, allocations: 1.017 MB / 295.6 MB, free: 3.324 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.907e-05/0.003478, allocations: 4 kB / 295.6 MB, free: 3.32 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001671/0.003645, allocations: 35.72 kB / 295.6 MB, free: 3.285 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001955/0.003841, allocations: 79.52 kB / 295.7 MB, free: 3.207 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003666/0.004207, allocations: 135.4 kB / 295.8 MB, free: 3.074 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002505/0.004458, allocations: 223 kB / 296.1 MB, free: 2.855 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.658e-05/0.004504, allocations: 14.39 kB / 296.1 MB, free: 2.844 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002084/0.004713, allocations: 123.7 kB / 296.2 MB, free: 2.723 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001307/0.004843, allocations: 87.69 kB / 296.3 MB, free: 2.637 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.056e-05/0.004864, allocations: 8 kB / 296.3 MB, free: 2.629 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002334/0.005097, allocations: 119.7 kB / 296.4 MB, free: 2.512 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.479e-05/0.005162, allocations: 47.84 kB / 296.4 MB, free: 2.465 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.137e-05/0.005214, allocations: 47.88 kB / 296.5 MB, free: 2.418 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002655/0.005479, allocations: 215.2 kB / 296.7 MB, free: 2.207 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.19e-05/0.005491, allocations: 0 / 296.7 MB, free: 2.207 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.72e-07/0.005492, allocations: 0 / 296.7 MB, free: 2.207 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.406e-05/0.005506, allocations: 0 / 296.7 MB, free: 2.207 MB / 282.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.0005931/0.006099, allocations: 456.8 kB / 297.1 MB, free: 1.734 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.766e-05/0.006127, allocations: 8.031 kB / 297.2 MB, free: 1.727 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002283/0.006355, allocations: 126 kB / 297.3 MB, free: 1.586 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000179/0.006534, allocations: 162.4 kB / 297.4 MB, free: 1.402 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.19e-05/0.006546, allocations: 8.609 kB / 297.4 MB, free: 1.395 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.543e-05/0.006561, allocations: 12.38 kB / 297.5 MB, free: 1.383 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002373/0.006799, allocations: 182.6 kB / 297.6 MB, free: 1.18 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.006807, allocations: 192 / 297.6 MB, free: 1.18 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.474e-05/0.006821, allocations: 8.375 kB / 297.6 MB, free: 1.172 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.953e-05/0.006851, allocations: 16.16 kB / 297.7 MB, free: 1.156 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.256e-05/0.006943, allocations: 66.19 kB / 297.7 MB, free: 1.09 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005134/0.007457, allocations: 0.5761 MB / 298.3 MB, free: 496 kB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001121/0.007569, allocations: 130.5 kB / 298.4 MB, free: 336 kB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.621e-05/0.007605, allocations: 26.58 kB / 298.5 MB, free: 300 kB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.928e-05/0.007634, allocations: 7.984 kB / 298.5 MB, free: 292 kB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.098e-05/0.007655, allocations: 38.62 kB / 298.5 MB, free: 244 kB / 282.7 MB Notification: Performance of pre-optimization done (n=11): time 2.245e-06/0.007658, allocations: 7.984 kB / 298.5 MB, free: 236 kB / 282.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002153/0.007873, allocations: 81.59 kB / 298.6 MB, free: 148 kB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.713e-05/0.00792, allocations: 111 kB / 298.7 MB, free: 12 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001084/0.008028, allocations: 175.4 kB / 298.9 MB, free: 15.83 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.437e-05/0.008043, allocations: 25.7 kB / 298.9 MB, free: 15.8 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.573e-05/0.008099, allocations: 140.1 kB / 299 MB, free: 15.66 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.199e-05/0.008121, allocations: 39.67 kB / 299.1 MB, free: 15.62 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.7e-05/0.008168, allocations: 33.7 kB / 299.1 MB, free: 15.58 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.56e-05/0.008243, allocations: 326.8 kB / 299.4 MB, free: 15.25 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.605e-05/0.008279, allocations: 14.81 kB / 299.4 MB, free: 15.23 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.036e-05/0.00833, allocations: 57.06 kB / 299.5 MB, free: 15.16 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001026/0.008432, allocations: 99.12 kB / 299.6 MB, free: 15.04 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.008435, allocations: 0 / 299.6 MB, free: 15.04 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001349/0.00857, allocations: 112.8 kB / 299.7 MB, free: 14.92 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.008585, allocations: 4 kB / 299.7 MB, free: 14.91 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.786e-05/0.008603, allocations: 8 kB / 299.7 MB, free: 14.91 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.223e-05/0.008615, allocations: 4 kB / 299.7 MB, free: 14.9 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001366/0.008752, allocations: 44.05 kB / 299.8 MB, free: 14.86 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.419e-06/0.008756, allocations: 4 kB / 299.8 MB, free: 14.86 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.035e-05/0.008826, allocations: 19.95 kB / 299.8 MB, free: 14.84 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.503e-05/0.008841, allocations: 7.984 kB / 299.8 MB, free: 14.83 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (15): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.296e-05/0.008924, allocations: 116.7 kB / 299.9 MB, free: 14.7 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.545e-05/0.00897, allocations: 15.92 kB / 299.9 MB, free: 14.69 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001729/0.009143, allocations: 111.4 kB / 300 MB, free: 14.57 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.009146, allocations: 0 / 300 MB, free: 14.57 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.024e-06/0.009148, allocations: 0 / 300 MB, free: 14.57 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.009152, allocations: 7.938 kB / 300 MB, free: 14.57 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001984/0.009351, allocations: 109.8 kB / 300.1 MB, free: 14.44 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.25e-05/0.009363, allocations: 11.98 kB / 300.1 MB, free: 14.43 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.331e-05/0.009446, allocations: 31.91 kB / 300.2 MB, free: 14.4 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.867e-05/0.009465, allocations: 11.91 kB / 300.2 MB, free: 14.39 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.36e-06/0.00947, allocations: 7.938 kB / 300.2 MB, free: 14.38 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.116e-05/0.009482, allocations: 3.984 kB / 300.2 MB, free: 14.38 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.009484, allocations: 0 / 300.2 MB, free: 14.38 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.009487, allocations: 4 kB / 300.2 MB, free: 14.37 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002256/0.009712, allocations: 361.5 kB / 300.6 MB, free: 14 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.168e-05/0.009734, allocations: 8 kB / 300.6 MB, free: 13.99 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001035/0.009838, allocations: 15.92 kB / 300.6 MB, free: 13.98 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.315e-05/0.009881, allocations: 15.92 kB / 300.6 MB, free: 13.96 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.217e-06/0.00989, allocations: 4 kB / 300.6 MB, free: 13.96 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.134e-05/0.009931, allocations: 58.69 kB / 300.7 MB, free: 13.9 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009931, allocations: 0 / 300.7 MB, free: 13.9 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002633/0.01019, allocations: 75.77 kB / 300.7 MB, free: 13.82 MB / 298.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): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.0002209/0.01042, allocations: 140.2 kB / 300.9 MB, free: 13.68 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001941/0.01061, allocations: 137.8 kB / 301 MB, free: 13.52 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.943e-06/0.01062, allocations: 4 kB / 301 MB, free: 13.52 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 7.268e-05/0.01069, allocations: 119.3 kB / 301.1 MB, free: 13.38 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003005/0.01099, allocations: 45.84 kB / 301.2 MB, free: 13.34 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001859/0.01285, allocations: 418.5 kB / 301.6 MB, free: 12.89 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.394e-05/0.01291, allocations: 83.31 kB / 301.7 MB, free: 12.79 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.637e-05/0.01297, allocations: 8.656 kB / 301.7 MB, free: 12.79 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001243/0.01309, allocations: 95.34 kB / 301.8 MB, free: 12.69 MB / 298.7 MB Notification: Performance of SimCode: time 9.02e-07/0.01309, allocations: 0 / 301.8 MB, free: 12.69 MB / 298.7 MB Notification: Performance of Templates: time 0.004981/0.01808, allocations: 3.373 MB / 305.1 MB, free: 9.398 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/Plate/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.9254763079807162]