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.001343/0.001343, allocations: 109.6 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001424/0.001425, allocations: 208 kB / 19.25 MB, free: 3.898 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.423/1.423, allocations: 227.4 MB / 247.5 MB, free: 10.56 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2449/0.2449, allocations: 46.13 MB / 344.8 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002251/0.002251, allocations: 76.66 kB / 418.3 MB, free: 19.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1172/0.1195, allocations: 62.46 MB / 480.8 MB, free: 5.176 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC): time 0.003261/0.1228, allocations: 1.69 MB / 482.5 MB, free: 3.473 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001318/0.1241, allocations: 0.7634 MB / 483.2 MB, free: 2.703 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.387e-05/0.1242, allocations: 3.938 kB / 483.3 MB, free: 2.699 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002409/0.1244, allocations: 43.81 kB / 483.3 MB, free: 2.656 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002654/0.1247, allocations: 59.72 kB / 483.4 MB, free: 2.598 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001977/0.1249, allocations: 55.75 kB / 483.4 MB, free: 2.543 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002313/0.1252, allocations: 159.3 kB / 483.6 MB, free: 2.387 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.291e-05/0.1252, allocations: 13.41 kB / 483.6 MB, free: 2.371 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.858e-05/0.1253, allocations: 63.7 kB / 483.6 MB, free: 2.309 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001462/0.1255, allocations: 71.73 kB / 483.7 MB, free: 2.238 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.085e-05/0.1255, allocations: 4 kB / 483.7 MB, free: 2.234 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001976/0.1257, allocations: 79.81 kB / 483.8 MB, free: 2.156 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.045e-05/0.1258, allocations: 51.81 kB / 483.8 MB, free: 2.105 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.792e-05/0.1259, allocations: 59.55 kB / 483.9 MB, free: 2.047 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002885/0.1262, allocations: 183.6 kB / 484.1 MB, free: 1.867 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.1262, allocations: 4 kB / 484.1 MB, free: 1.863 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.1262, allocations: 0 / 484.1 MB, free: 1.863 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.942e-06/0.1262, allocations: 0 / 484.1 MB, free: 1.863 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.0007436/0.127, allocations: 458.8 kB / 484.5 MB, free: 1.367 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.816e-05/0.127, allocations: 8.031 kB / 484.5 MB, free: 1.359 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006259/0.1276, allocations: 80.64 kB / 484.6 MB, free: 1.281 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002786/0.1279, allocations: 226.4 kB / 484.8 MB, free: 1.023 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.499e-05/0.1279, allocations: 12.31 kB / 484.8 MB, free: 1.012 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.866e-05/0.128, allocations: 4.375 kB / 484.9 MB, free: 1.008 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005568/0.1285, allocations: 312.9 kB / 485.2 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.1286, allocations: 0 / 485.2 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.58e-05/0.1286, allocations: 0 / 485.2 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.626e-05/0.1286, allocations: 19.98 kB / 485.2 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006049/0.1292, allocations: 299.6 kB / 485.5 MB, free: 388 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001539/0.1308, allocations: 0.7043 MB / 486.2 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006002/0.1314, allocations: 290.1 kB / 486.5 MB, free: 15.33 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002274/0.1316, allocations: 104.8 kB / 486.6 MB, free: 15.22 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.362e-05/0.1317, allocations: 0 / 486.6 MB, free: 15.22 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.998e-05/0.1317, allocations: 42.56 kB / 486.6 MB, free: 15.17 MB / 366.1 MB Notification: Performance of pre-optimization done (n=13): time 1.593e-06/0.1317, allocations: 0 / 486.6 MB, free: 15.17 MB / 366.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008864/0.1326, allocations: 348.5 kB / 486.9 MB, free: 14.83 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.754e-05/0.1327, allocations: 55.34 kB / 487 MB, free: 14.76 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00025/0.1329, allocations: 226.3 kB / 487.2 MB, free: 14.53 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.712e-05/0.133, allocations: 25.7 kB / 487.2 MB, free: 14.5 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.929e-05/0.1331, allocations: 124.1 kB / 487.4 MB, free: 14.38 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.098e-05/0.1331, allocations: 43.36 kB / 487.4 MB, free: 14.33 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.628e-05/0.1332, allocations: 45.62 kB / 487.5 MB, free: 14.28 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002462/0.1335, allocations: 330.8 kB / 487.8 MB, free: 13.95 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002318/0.1337, allocations: 103.9 kB / 487.9 MB, free: 13.85 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002518/0.134, allocations: 130.1 kB / 488 MB, free: 13.71 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005051/0.1345, allocations: 247.1 kB / 488.2 MB, free: 13.46 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.1345, allocations: 3.938 kB / 488.2 MB, free: 13.45 MB / 366.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0006181/0.1352, allocations: 285.2 kB / 488.5 MB, free: 13.17 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.1352, allocations: 4 kB / 488.5 MB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.457e-06/0.1352, allocations: 4.109 kB / 488.5 MB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.958e-05/0.1352, allocations: 7.922 kB / 488.5 MB, free: 13.15 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0198/0.155, allocations: 0.9241 MB / 489.5 MB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02314/0.1782, allocations: 10.74 MB / 0.4885 GB, free: 0.6406 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003128/0.1785, allocations: 19.86 kB / 0.4885 GB, free: 0.6211 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.809e-05/0.1786, allocations: 11.98 kB / 0.4885 GB, free: 0.6094 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.0002078/0.1788, allocations: 153.7 kB / 0.4887 GB, free: 460 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.371e-05/0.1789, allocations: 15.81 kB / 0.4887 GB, free: 444 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006386/0.1853, allocations: 0.6298 MB / 0.4893 GB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.516e-06/0.1853, allocations: 4 kB / 0.4893 GB, free: 15.78 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.1853, allocations: 0 / 0.4893 GB, free: 15.78 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-06/0.1853, allocations: 0 / 0.4893 GB, free: 15.78 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000458/0.1858, allocations: 277.4 kB / 0.4896 GB, free: 15.46 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.1858, allocations: 0 / 0.4896 GB, free: 15.46 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002427/0.1861, allocations: 31.97 kB / 0.4896 GB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004823/0.1909, allocations: 306.1 kB / 0.4899 GB, free: 15.12 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.818e-05/0.191, allocations: 11.97 kB / 0.4899 GB, free: 15.11 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01821/0.2092, allocations: 10.31 MB / 0.5 GB, free: 3.945 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/0.2092, allocations: 0 / 0.5 GB, free: 3.945 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00646/0.2157, allocations: 0.6808 MB / 0.5006 GB, free: 3.238 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002004/0.216, allocations: 104.8 kB / 0.5007 GB, free: 3.117 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.915e-05/0.2161, allocations: 8 kB / 0.5007 GB, free: 3.109 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002905/0.2164, allocations: 8 kB / 0.5007 GB, free: 3.102 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002393/0.2166, allocations: 47.83 kB / 0.5008 GB, free: 3.055 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.912e-05/0.2167, allocations: 11.98 kB / 0.5008 GB, free: 3.043 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002539/0.2169, allocations: 163.2 kB / 0.501 GB, free: 2.883 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2169, allocations: 0 / 0.501 GB, free: 2.883 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000818/0.2178, allocations: 92 kB / 0.501 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.0002697/0.218, allocations: 115.2 kB / 0.5012 GB, free: 2.672 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.01897/0.237, allocations: 1.094 MB / 0.5022 GB, free: 1.578 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.142e-05/0.2371, allocations: 0 / 0.5022 GB, free: 1.578 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002003/0.2391, allocations: 0.5309 MB / 0.5027 GB, free: 1.008 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004257/0.2395, allocations: 40.33 kB / 0.5028 GB, free: 0.9727 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002932/0.2425, allocations: 0.672 MB / 0.5034 GB, free: 272 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1854/0.4279, allocations: 0.739 MB / 0.5042 GB, free: 40.52 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.508e-05/0.428, allocations: 14.91 kB / 0.5042 GB, free: 40.51 MB / 382.1 MB Notification: Performance of SimCode: time 8.52e-07/0.428, allocations: 0 / 0.5042 GB, free: 40.51 MB / 382.1 MB Notification: Performance of Templates: time 0.01177/0.4398, allocations: 7.282 MB / 0.5113 GB, free: 40.18 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/jenkins1/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/jenkins1/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