Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cp.1.|cp.2.|cp.3.|eta.1.|eta.2.|eta.3.|lambda.1.|lambda.2.|lambda.3.|rho.1.|rho.2.|rho.3.|Nu.1.|Nu.2.|Nu.3.|velocity.1.|velocity.2.|velocity.3.|kc.1.|kc.2.|kc.3.|Pr.1.|Pr.2.|Pr.3.|Re.1.|Re.2.|Re.3.|input_Nu.y",fileNamePrefix="ModelicaTest_trunk_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=5000,variableFilter="time|cp.1.|cp.2.|cp.3.|eta.1.|eta.2.|eta.3.|lambda.1.|lambda.2.|lambda.3.|rho.1.|rho.2.|rho.3.|Nu.1.|Nu.2.|Nu.3.|velocity.1.|velocity.2.|velocity.3.|kc.1.|kc.2.|kc.3.|Pr.1.|Pr.2.|Pr.3.|Re.1.|Re.2.|Re.3.|input_Nu.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001579/0.001579, allocations: 195.3 kB / 8.767 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.296/1.296, allocations: 225.6 MB / 234.8 MB, free: 3.289 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008044/0.0008045, allocations: 100 kB / 286.7 MB, free: 5.297 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1815/0.1815, allocations: 45.14 MB / 383.8 MB, free: 244 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.591e-05/1.585e-05, allocations: 0 / 453.2 MB, free: 75.79 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09742/0.09745, allocations: 63.25 MB / 0.5044 GB, free: 12.59 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3599/0.4574, allocations: 90.32 MB / 0.5926 GB, free: 12.25 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002176/0.4576, allocations: 99.86 kB / 0.5927 GB, free: 12.19 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01519/0.4728, allocations: 5.939 MB / 0.5985 GB, free: 7.219 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.4729, allocations: 0 / 0.5985 GB, free: 7.219 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.045e-06/0.4729, allocations: 0 / 0.5985 GB, free: 7.219 MB / 394.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.000526/0.4734, allocations: 428.6 kB / 0.5989 GB, free: 6.766 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/0.4735, allocations: 12.03 kB / 0.5989 GB, free: 6.754 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006868/0.4742, allocations: 99.36 kB / 0.599 GB, free: 6.66 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002485/0.4744, allocations: 229.6 kB / 0.5992 GB, free: 6.402 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.275e-05/0.4745, allocations: 4 kB / 0.5992 GB, free: 6.398 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.003e-05/0.4745, allocations: 8 kB / 0.5992 GB, free: 6.391 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003765/0.4749, allocations: 247.5 kB / 0.5995 GB, free: 6.207 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003354/0.4752, allocations: 259.2 kB / 0.5997 GB, free: 5.984 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.4752, allocations: 0 / 0.5997 GB, free: 5.984 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.376e-05/0.4753, allocations: 0 / 0.5997 GB, free: 5.984 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.074e-05/0.4753, allocations: 15.98 kB / 0.5997 GB, free: 5.969 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001224/0.4765, allocations: 0.6706 MB / 0.6004 GB, free: 5.309 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003309/0.4769, allocations: 255.1 kB / 0.6006 GB, free: 5.074 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001115/0.477, allocations: 83.39 kB / 0.6007 GB, free: 5 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.174e-05/0.477, allocations: 3.984 kB / 0.6007 GB, free: 4.996 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.478e-05/0.4771, allocations: 38.5 kB / 0.6007 GB, free: 4.949 MB / 394.7 MB Notification: Performance of pre-optimization done (n=13): time 1.252e-06/0.4771, allocations: 0 / 0.6007 GB, free: 4.949 MB / 394.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003704/0.4774, allocations: 218.5 kB / 0.601 GB, free: 4.746 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.342e-05/0.4775, allocations: 54.72 kB / 0.601 GB, free: 4.684 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001072/0.4776, allocations: 139.5 kB / 0.6011 GB, free: 4.551 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.151e-05/0.4776, allocations: 25.7 kB / 0.6012 GB, free: 4.52 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.562e-05/0.4777, allocations: 130.5 kB / 0.6013 GB, free: 4.398 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.643e-05/0.4777, allocations: 50.3 kB / 0.6013 GB, free: 4.355 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.495e-05/0.4777, allocations: 0 / 0.6013 GB, free: 4.355 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.335e-05/0.4778, allocations: 330.5 kB / 0.6017 GB, free: 4.027 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001189/0.478, allocations: 81.84 kB / 0.6017 GB, free: 3.957 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001326/0.4781, allocations: 115.3 kB / 0.6018 GB, free: 3.844 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001479/0.4783, allocations: 98.25 kB / 0.6019 GB, free: 3.758 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.4783, allocations: 3.938 kB / 0.6019 GB, free: 3.754 MB / 394.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003452/0.4786, allocations: 256.4 kB / 0.6022 GB, free: 3.516 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.4786, allocations: 8 kB / 0.6022 GB, free: 3.508 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.4786, allocations: 0 / 0.6022 GB, free: 3.508 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.4787, allocations: 4 kB / 0.6022 GB, free: 3.504 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01508/0.4937, allocations: 0.9231 MB / 0.6031 GB, free: 2.582 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01725/0.511, allocations: 9.67 MB / 0.6125 GB, free: 8.441 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000329/0.5114, allocations: 19.92 kB / 0.6126 GB, free: 8.422 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.25e-05/0.5114, allocations: 15.97 kB / 0.6126 GB, free: 8.406 MB / 410.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 () * 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 (linear and non-linear blocks): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001073/0.5115, allocations: 108.9 kB / 0.6127 GB, free: 8.293 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.552e-05/0.5116, allocations: 15.84 kB / 0.6127 GB, free: 8.277 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005913/0.5175, allocations: 0.6244 MB / 0.6133 GB, free: 7.68 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.5175, allocations: 3.953 kB / 0.6133 GB, free: 7.676 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.826e-06/0.5175, allocations: 7.984 kB / 0.6133 GB, free: 7.668 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.5176, allocations: 4 kB / 0.6133 GB, free: 7.664 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000283/0.5178, allocations: 238.3 kB / 0.6135 GB, free: 7.414 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.5179, allocations: 0 / 0.6135 GB, free: 7.414 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000242/0.5181, allocations: 35.97 kB / 0.6136 GB, free: 7.379 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006599/0.5247, allocations: 480.8 kB / 0.614 GB, free: 6.91 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.904e-05/0.5248, allocations: 7.984 kB / 0.614 GB, free: 6.902 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01192/0.5367, allocations: 9.091 MB / 0.6229 GB, free: 13.34 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.5367, allocations: 4.219 kB / 0.6229 GB, free: 13.34 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005939/0.5427, allocations: 0.6808 MB / 0.6236 GB, free: 12.66 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001028/0.5428, allocations: 92.95 kB / 0.6237 GB, free: 12.55 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.199e-05/0.5429, allocations: 0 / 0.6237 GB, free: 12.55 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002556/0.5431, allocations: 15.92 kB / 0.6237 GB, free: 12.54 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001598/0.5433, allocations: 47.59 kB / 0.6237 GB, free: 12.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.482e-05/0.5434, allocations: 10.8 kB / 0.6237 GB, free: 12.49 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001001/0.5435, allocations: 120.8 kB / 0.6239 GB, free: 12.38 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5435, allocations: 0 / 0.6239 GB, free: 12.38 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005813/0.544, allocations: 95.84 kB / 0.624 GB, free: 12.29 MB / 426.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 () * 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 (linear and non-linear blocks): 3 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 1,1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.000192/0.5442, allocations: 121.6 kB / 0.6241 GB, free: 12.17 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01079/0.555, allocations: 0.7398 MB / 0.6248 GB, free: 11.45 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.671e-06/0.5551, allocations: 0 / 0.6248 GB, free: 11.45 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001741/0.5568, allocations: 0.4888 MB / 0.6253 GB, free: 10.95 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002591/0.5571, allocations: 14.11 kB / 0.6253 GB, free: 10.94 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002362/0.5595, allocations: 0.5051 MB / 0.6258 GB, free: 10.43 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003116/0.5598, allocations: 0.7464 MB / 0.6265 GB, free: 9.656 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001088/0.5599, allocations: 44.72 kB / 0.6265 GB, free: 9.613 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.557e-05/0.56, allocations: 11.44 kB / 0.6266 GB, free: 9.602 MB / 426.7 MB Notification: Performance of SimCode: time 6.81e-07/0.56, allocations: 0 / 0.6266 GB, free: 9.602 MB / 426.7 MB Notification: Performance of Templates: time 0.008637/0.5686, allocations: 6.005 MB / 0.6324 GB, free: 3.645 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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","../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches