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.001485/0.001485, 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.0012/0.0012, 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.9618/0.9618, allocations: 177.1 MB / 205 MB, free: 5.609 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.2405/0.2405, allocations: 34.27 MB / 295.7 MB, free: 0.7773 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.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.112e-06/1.112e-06, allocations: 0 / 378.1 MB, free: 2.637 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.6e-05/1.711e-05, allocations: 5.828 kB / 378.1 MB, free: 2.633 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent): time 0.002416/0.002433, allocations: 1.894 MB / 380 MB, free: 0.7266 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001183/0.003616, allocations: 1.001 MB / 381 MB, free: 15.72 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.613e-05/0.003692, allocations: 0 / 381 MB, free: 15.72 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002147/0.003907, allocations: 35.7 kB / 381 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002169/0.004124, allocations: 75.53 kB / 381.1 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003306/0.004454, allocations: 147.4 kB / 381.2 MB, free: 15.46 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002292/0.004684, allocations: 215 kB / 381.4 MB, free: 15.25 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.809e-05/0.004722, allocations: 9.812 kB / 381.4 MB, free: 15.24 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001898/0.004911, allocations: 123.6 kB / 381.6 MB, free: 15.12 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001141/0.005025, allocations: 95.69 kB / 381.6 MB, free: 15.03 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.031e-05/0.005046, allocations: 8 kB / 381.7 MB, free: 15.02 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001643/0.00521, allocations: 103.9 kB / 381.8 MB, free: 14.92 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.239e-05/0.005272, allocations: 59.75 kB / 381.8 MB, free: 14.86 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.62e-05/0.005329, allocations: 51.8 kB / 381.9 MB, free: 14.81 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002616/0.00559, allocations: 243.2 kB / 382.1 MB, free: 14.57 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.314e-06/0.005593, allocations: 0 / 382.1 MB, free: 14.57 MB / 362.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.005593, allocations: 0 / 382.1 MB, free: 14.57 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.857e-06/0.005597, allocations: 4 kB / 382.1 MB, free: 14.57 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0005784/0.006175, allocations: 0.5503 MB / 382.7 MB, free: 13.98 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.413e-05/0.006209, allocations: 8.031 kB / 382.7 MB, free: 13.97 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002247/0.006434, allocations: 52.81 kB / 382.7 MB, free: 13.92 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001747/0.006609, allocations: 168.8 kB / 382.9 MB, free: 13.73 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.25e-05/0.006621, allocations: 12.55 kB / 382.9 MB, free: 13.71 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.701e-05/0.006638, allocations: 12.38 kB / 382.9 MB, free: 13.7 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002579/0.006896, allocations: 195.4 kB / 383.1 MB, free: 13.48 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.317e-06/0.006906, allocations: 192 / 383.1 MB, free: 13.48 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.521e-05/0.006921, allocations: 8.375 kB / 383.1 MB, free: 13.48 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.896e-05/0.00695, allocations: 16.16 kB / 383.1 MB, free: 13.46 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001133/0.007063, allocations: 64.58 kB / 383.2 MB, free: 13.4 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000655/0.007718, allocations: 0.8448 MB / 384 MB, free: 12.5 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001322/0.00785, allocations: 117.2 kB / 384.1 MB, free: 12.35 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.702e-05/0.007907, allocations: 43.23 kB / 384.2 MB, free: 12.3 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.819e-05/0.007936, allocations: 19.81 kB / 384.2 MB, free: 12.28 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.12e-05/0.007957, allocations: 37.39 kB / 384.2 MB, free: 12.23 MB / 362.7 MB Notification: Performance of pre-optimization done (n=11): time 1.312e-06/0.007958, allocations: 0 / 384.2 MB, free: 12.23 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002948/0.008253, allocations: 121.4 kB / 384.4 MB, free: 12.11 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.802e-05/0.008291, allocations: 106.8 kB / 384.5 MB, free: 11.98 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001293/0.00842, allocations: 242.6 kB / 384.7 MB, free: 11.72 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.477e-05/0.008435, allocations: 29.7 kB / 384.7 MB, free: 11.69 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.133e-05/0.008506, allocations: 190.9 kB / 384.9 MB, free: 11.49 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.365e-05/0.00853, allocations: 39.66 kB / 385 MB, free: 11.45 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.991e-05/0.00858, allocations: 47.59 kB / 385 MB, free: 11.4 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003415/0.008921, allocations: 0.4962 MB / 385.5 MB, free: 10.89 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.136e-05/0.008973, allocations: 19.98 kB / 385.5 MB, free: 10.87 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.383e-05/0.009047, allocations: 74.05 kB / 385.6 MB, free: 10.77 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001268/0.009173, allocations: 102 kB / 385.7 MB, free: 10.65 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.009176, allocations: 4 kB / 385.7 MB, free: 10.64 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001879/0.009364, allocations: 137.3 kB / 385.8 MB, free: 10.5 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/0.009377, allocations: 8 kB / 385.8 MB, free: 10.5 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.542e-05/0.009392, allocations: 7.984 kB / 385.8 MB, free: 10.49 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.009405, allocations: 4 kB / 385.8 MB, free: 10.48 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001093/0.009515, allocations: 27.98 kB / 385.9 MB, free: 10.46 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.009522, allocations: 3.984 kB / 385.9 MB, free: 10.45 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.826e-05/0.0096, allocations: 27.83 kB / 385.9 MB, free: 10.43 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.605e-05/0.009616, allocations: 7.984 kB / 385.9 MB, free: 10.42 MB / 362.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 7.341e-05/0.009689, allocations: 164.7 kB / 386.1 MB, free: 10.25 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.332e-05/0.009733, allocations: 19.89 kB / 386.1 MB, free: 10.23 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001771/0.00991, allocations: 131.4 kB / 386.2 MB, free: 10.1 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.009913, allocations: 3.984 kB / 386.2 MB, free: 10.09 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.009918, allocations: 4 kB / 386.2 MB, free: 10.09 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.00992, allocations: 4 kB / 386.2 MB, free: 10.09 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001995/0.01012, allocations: 176.6 kB / 386.4 MB, free: 9.879 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.075e-05/0.01013, allocations: 12 kB / 386.4 MB, free: 9.867 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.148e-05/0.0102, allocations: 27.91 kB / 386.4 MB, free: 9.84 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.0102, allocations: 4 kB / 386.4 MB, free: 9.836 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.461e-05/0.01022, allocations: 8 kB / 386.5 MB, free: 9.828 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.01022, allocations: 7.922 kB / 386.5 MB, free: 9.82 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.01023, allocations: 7.938 kB / 386.5 MB, free: 9.812 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002288/0.01045, allocations: 478.2 kB / 386.9 MB, free: 9.324 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.087e-05/0.01048, allocations: 31.75 kB / 387 MB, free: 9.293 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.967e-05/0.0105, allocations: 4 kB / 387 MB, free: 9.289 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000101/0.0106, allocations: 8 kB / 387 MB, free: 9.281 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.973e-05/0.01065, allocations: 15.97 kB / 387 MB, free: 9.266 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.727e-06/0.01065, allocations: 8 kB / 387 MB, free: 9.258 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.94e-05/0.01072, allocations: 179.9 kB / 387.2 MB, free: 9.082 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01072, allocations: 0 / 387.2 MB, free: 9.082 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002725/0.011, allocations: 75.77 kB / 387.3 MB, free: 9.008 MB / 362.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.0001777/0.01117, allocations: 163.1 kB / 387.4 MB, free: 8.836 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002037/0.01138, allocations: 160.6 kB / 387.6 MB, free: 8.656 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.01138, allocations: 0 / 387.6 MB, free: 8.656 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.108e-05/0.01146, allocations: 124.7 kB / 387.7 MB, free: 8.512 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003066/0.01177, allocations: 34.92 kB / 387.7 MB, free: 8.48 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007969/0.01256, allocations: 412.1 kB / 388.1 MB, free: 8.043 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.435e-05/0.01262, allocations: 87.31 kB / 388.2 MB, free: 7.938 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.167e-05/0.01268, allocations: 24.61 kB / 388.2 MB, free: 7.91 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.251e-05/0.01272, allocations: 16.5 kB / 388.3 MB, free: 7.895 MB / 362.7 MB Notification: Performance of SimCode: time 7.22e-07/0.01272, allocations: 0 / 388.3 MB, free: 7.895 MB / 362.7 MB Notification: Performance of Templates: time 0.005151/0.01787, allocations: 3.548 MB / 391.8 MB, free: 4.383 MB / 362.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 -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: 3.156067139003426]