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/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.00168/0.00168, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001746/0.001746, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.483/1.483, allocations: 227.4 MB / 246.8 MB, free: 10.6 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2333/0.2333, allocations: 46.11 MB / 344.2 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003035/0.003036, allocations: 83.2 kB / 417.7 MB, free: 19.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1737/0.1768, allocations: 62.45 MB / 480.1 MB, free: 5.184 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC): time 0.004206/0.181, allocations: 1.708 MB / 481.9 MB, free: 3.465 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001349/0.1824, allocations: 0.7595 MB / 482.6 MB, free: 2.699 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.464e-05/0.1825, allocations: 0 / 482.6 MB, free: 2.699 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002684/0.1828, allocations: 39.77 kB / 482.7 MB, free: 2.66 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002816/0.1831, allocations: 67.7 kB / 482.7 MB, free: 2.594 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002001/0.1833, allocations: 47.81 kB / 482.8 MB, free: 2.547 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002383/0.1835, allocations: 155.3 kB / 482.9 MB, free: 2.395 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.508e-05/0.1836, allocations: 21.38 kB / 482.9 MB, free: 2.371 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.315e-05/0.1837, allocations: 59.72 kB / 483 MB, free: 2.312 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001528/0.1839, allocations: 71.73 kB / 483.1 MB, free: 2.242 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.276e-05/0.1839, allocations: 4 kB / 483.1 MB, free: 2.238 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001969/0.1841, allocations: 87.73 kB / 483.2 MB, free: 2.152 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.101e-05/0.1842, allocations: 39.89 kB / 483.2 MB, free: 2.113 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.125e-05/0.1843, allocations: 63.55 kB / 483.3 MB, free: 2.051 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000311/0.1846, allocations: 183.7 kB / 483.4 MB, free: 1.871 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.1846, allocations: 0 / 483.4 MB, free: 1.871 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.1846, allocations: 0 / 483.4 MB, free: 1.871 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.224e-06/0.1846, allocations: 3.938 kB / 483.4 MB, free: 1.867 MB / 350.1 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.0007756/0.1854, allocations: 462.8 kB / 483.9 MB, free: 1.367 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.185e-05/0.1855, allocations: 8.031 kB / 483.9 MB, free: 1.359 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006485/0.1861, allocations: 80.64 kB / 484 MB, free: 1.281 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002723/0.1864, allocations: 228 kB / 484.2 MB, free: 1.02 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.704e-05/0.1864, allocations: 12.38 kB / 484.2 MB, free: 1.008 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.114e-05/0.1865, allocations: 8.375 kB / 484.2 MB, free: 1 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005451/0.187, allocations: 304.9 kB / 484.5 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.187, allocations: 0 / 484.5 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.506e-05/0.1871, allocations: 4 kB / 484.5 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.903e-05/0.1871, allocations: 19.92 kB / 484.5 MB, free: 0.668 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005803/0.1877, allocations: 295.7 kB / 484.8 MB, free: 388 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001385/0.1891, allocations: 0.7081 MB / 485.5 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005229/0.1896, allocations: 278.2 kB / 485.8 MB, free: 15.34 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002233/0.1899, allocations: 108.3 kB / 485.9 MB, free: 15.23 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.058e-05/0.1899, allocations: 11.97 kB / 485.9 MB, free: 15.22 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.551e-05/0.19, allocations: 34.56 kB / 486 MB, free: 15.18 MB / 366.1 MB Notification: Performance of pre-optimization done (n=13): time 1.423e-06/0.19, allocations: 4 kB / 486 MB, free: 15.17 MB / 366.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008694/0.1908, allocations: 345.1 kB / 486.3 MB, free: 14.83 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.458e-05/0.1909, allocations: 51.41 kB / 486.4 MB, free: 14.77 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002416/0.1911, allocations: 230.3 kB / 486.6 MB, free: 14.53 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.985e-05/0.1912, allocations: 25.7 kB / 486.6 MB, free: 14.5 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.315e-05/0.1913, allocations: 124.1 kB / 486.7 MB, free: 14.38 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.444e-05/0.1913, allocations: 39.36 kB / 486.8 MB, free: 14.34 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.912e-05/0.1914, allocations: 53.61 kB / 486.8 MB, free: 14.28 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001586/0.1916, allocations: 330.8 kB / 487.1 MB, free: 13.95 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002214/0.1918, allocations: 95.89 kB / 487.2 MB, free: 13.85 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002458/0.1921, allocations: 127.3 kB / 487.4 MB, free: 13.71 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005087/0.1926, allocations: 251.1 kB / 487.6 MB, free: 13.46 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.1926, allocations: 3.938 kB / 487.6 MB, free: 13.45 MB / 366.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005897/0.1932, allocations: 285.3 kB / 487.9 MB, free: 13.17 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.029e-05/0.1932, allocations: 8.031 kB / 487.9 MB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.1933, allocations: 11.94 kB / 487.9 MB, free: 13.15 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.675e-05/0.1933, allocations: 0 / 487.9 MB, free: 13.15 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0187/0.212, allocations: 0.9202 MB / 488.8 MB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02267/0.2347, allocations: 10.73 MB / 499.6 MB, free: 0.6484 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003154/0.235, allocations: 24.03 kB / 499.6 MB, free: 0.625 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.55e-05/0.2351, allocations: 19.97 kB / 499.6 MB, free: 0.6055 MB / 366.1 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.0001778/0.2353, allocations: 145.6 kB / 499.7 MB, free: 464 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.494e-05/0.2353, allocations: 15.81 kB / 499.8 MB, free: 448 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006243/0.2416, allocations: 0.6258 MB / 0.4887 GB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.216e-05/0.2416, allocations: 3.984 kB / 0.4887 GB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.2416, allocations: 3.938 kB / 0.4887 GB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.2417, allocations: 0 / 0.4887 GB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004334/0.2421, allocations: 277.4 kB / 0.4889 GB, free: 15.46 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.2421, allocations: 0 / 0.4889 GB, free: 15.46 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002313/0.2423, allocations: 31.97 kB / 0.489 GB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004775/0.2471, allocations: 314 kB / 0.4893 GB, free: 15.12 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.8e-05/0.2472, allocations: 11.98 kB / 0.4893 GB, free: 15.11 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01705/0.2642, allocations: 10.31 MB / 0.4993 GB, free: 3.945 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.2643, allocations: 0 / 0.4993 GB, free: 3.945 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006221/0.2705, allocations: 0.6872 MB / 0.5 GB, free: 3.234 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001132/0.2706, allocations: 92.86 kB / 0.5001 GB, free: 3.125 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.234e-05/0.2707, allocations: 7.984 kB / 0.5001 GB, free: 3.117 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002454/0.271, allocations: 8 kB / 0.5001 GB, free: 3.109 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001739/0.2711, allocations: 43.84 kB / 0.5002 GB, free: 3.066 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.525e-05/0.2712, allocations: 19.97 kB / 0.5002 GB, free: 3.047 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001918/0.2714, allocations: 171.2 kB / 0.5003 GB, free: 2.879 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.81e-07/0.2714, allocations: 0 / 0.5003 GB, free: 2.879 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006439/0.272, allocations: 88 kB / 0.5004 GB, free: 2.793 MB / 382.1 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.0002181/0.2723, allocations: 111.2 kB / 0.5005 GB, free: 2.676 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.019/0.2913, allocations: 1.142 MB / 0.5016 GB, free: 1.535 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.612e-06/0.2913, allocations: 4 kB / 0.5016 GB, free: 1.531 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001985/0.2933, allocations: 0.5387 MB / 0.5022 GB, free: 0.9531 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004385/0.2938, allocations: 35.97 kB / 0.5022 GB, free: 0.918 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002764/0.2965, allocations: 0.6469 MB / 0.5028 GB, free: 248 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2082/0.5048, allocations: 0.7405 MB / 0.5036 GB, free: 40.52 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001802/0.505, allocations: 48.75 kB / 0.5036 GB, free: 40.52 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.13e-05/0.5051, allocations: 18.88 kB / 0.5036 GB, free: 40.52 MB / 382.1 MB Notification: Performance of SimCode: time 7.51e-07/0.5051, allocations: 0 / 0.5036 GB, free: 40.52 MB / 382.1 MB Notification: Performance of Templates: time 0.01668/0.5218, allocations: 7.56 MB / 0.511 GB, free: 40.3 MB / 382.1 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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