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.001824/0.001824, allocations: 109.4 kB / 17.98 MB, free: 5.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002151/0.002151, allocations: 201.8 kB / 18.92 MB, free: 4.469 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.377/1.377, allocations: 227.4 MB / 247.1 MB, free: 10.75 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.207/0.207, allocations: 46.12 MB / 344.5 MB, free: 11.72 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002057/0.002057, allocations: 81.95 kB / 417.8 MB, free: 20.04 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1008/0.1029, allocations: 62.44 MB / 480.2 MB, free: 5.57 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC): time 0.002946/0.1059, allocations: 1.758 MB / 482 MB, free: 3.797 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001156/0.1071, allocations: 0.7517 MB / 482.8 MB, free: 3.039 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.542e-05/0.1071, allocations: 4 kB / 482.8 MB, free: 3.035 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002211/0.1074, allocations: 39.88 kB / 482.8 MB, free: 2.996 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002431/0.1076, allocations: 59.72 kB / 482.9 MB, free: 2.938 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001886/0.1078, allocations: 51.81 kB / 482.9 MB, free: 2.887 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002094/0.108, allocations: 155.4 kB / 483.1 MB, free: 2.734 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.685e-05/0.1081, allocations: 13.41 kB / 483.1 MB, free: 2.719 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.215e-05/0.1082, allocations: 67.7 kB / 483.1 MB, free: 2.652 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001371/0.1083, allocations: 79.72 kB / 483.2 MB, free: 2.574 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.058e-05/0.1084, allocations: 4 kB / 483.2 MB, free: 2.57 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001587/0.1085, allocations: 87.73 kB / 483.3 MB, free: 2.484 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.955e-05/0.1086, allocations: 43.89 kB / 483.3 MB, free: 2.441 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.205e-05/0.1087, allocations: 63.55 kB / 483.4 MB, free: 2.379 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000199/0.1089, allocations: 123.9 kB / 483.5 MB, free: 2.258 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.189e-06/0.1089, allocations: 8 kB / 483.5 MB, free: 2.25 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.1089, allocations: 4 kB / 483.5 MB, free: 2.246 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.979e-06/0.1089, allocations: 0 / 483.5 MB, free: 2.246 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.0006596/0.1096, allocations: 458.8 kB / 484 MB, free: 1.75 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.134e-05/0.1096, allocations: 8.031 kB / 484 MB, free: 1.742 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006284/0.1103, allocations: 84.64 kB / 484.1 MB, free: 1.66 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000228/0.1105, allocations: 216 kB / 484.3 MB, free: 1.41 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.374e-05/0.1105, allocations: 8.375 kB / 484.3 MB, free: 1.402 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.476e-05/0.1106, allocations: 12.36 kB / 484.3 MB, free: 1.391 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005216/0.1111, allocations: 308.9 kB / 484.6 MB, free: 1.078 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.1111, allocations: 0 / 484.6 MB, free: 1.078 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.256e-05/0.1111, allocations: 0 / 484.6 MB, free: 1.078 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.119e-05/0.1112, allocations: 15.98 kB / 484.6 MB, free: 1.062 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005544/0.1117, allocations: 303.6 kB / 484.9 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001289/0.113, allocations: 0.712 MB / 485.6 MB, free: 0 / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005298/0.1136, allocations: 293.5 kB / 485.9 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002087/0.1138, allocations: 104.8 kB / 486 MB, free: 15.6 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.43e-05/0.1138, allocations: 0 / 486 MB, free: 15.6 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.856e-05/0.1138, allocations: 34.56 kB / 486.1 MB, free: 15.56 MB / 366.1 MB Notification: Performance of pre-optimization done (n=13): time 8.42e-07/0.1139, allocations: 0 / 486.1 MB, free: 15.56 MB / 366.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007978/0.1147, allocations: 349.1 kB / 486.4 MB, free: 15.21 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.09e-05/0.1147, allocations: 59.34 kB / 486.5 MB, free: 15.14 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000222/0.1149, allocations: 226.3 kB / 486.7 MB, free: 14.91 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.081e-05/0.115, allocations: 29.7 kB / 486.7 MB, free: 14.88 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.348e-05/0.1151, allocations: 116.1 kB / 486.8 MB, free: 14.76 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.759e-05/0.1151, allocations: 47.36 kB / 486.9 MB, free: 14.71 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.215e-05/0.1152, allocations: 49.61 kB / 486.9 MB, free: 14.66 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001432/0.1154, allocations: 330.8 kB / 487.2 MB, free: 14.32 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002146/0.1156, allocations: 103.9 kB / 487.3 MB, free: 14.22 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002276/0.1158, allocations: 126.1 kB / 487.5 MB, free: 14.09 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004599/0.1163, allocations: 239.1 kB / 487.7 MB, free: 13.84 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.651e-06/0.1163, allocations: 7.938 kB / 487.7 MB, free: 13.84 MB / 366.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005687/0.1169, allocations: 296.3 kB / 488 MB, free: 13.54 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.1169, allocations: 4 kB / 488 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-06/0.1169, allocations: 0 / 488 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.1169, allocations: 4 kB / 488 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02039/0.1373, allocations: 0.928 MB / 488.9 MB, free: 12.61 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0228/0.1601, allocations: 10.73 MB / 499.7 MB, free: 1.027 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003101/0.1605, allocations: 23.86 kB / 499.7 MB, free: 1.004 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.553e-05/0.1605, allocations: 11.98 kB / 499.7 MB, free: 0.9922 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.0001608/0.1607, allocations: 153.7 kB / 499.9 MB, free: 0.832 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.844e-05/0.1607, allocations: 11.81 kB / 499.9 MB, free: 0.8203 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006852/0.1676, allocations: 0.6297 MB / 0.4888 GB, free: 176 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.1676, allocations: 8 kB / 0.4888 GB, free: 168 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.1676, allocations: 112 / 0.4888 GB, free: 168 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.1676, allocations: 3.938 kB / 0.4888 GB, free: 164 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003413/0.168, allocations: 273.4 kB / 0.489 GB, free: 15.84 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.168, allocations: 0 / 0.489 GB, free: 15.84 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002199/0.1682, allocations: 31.97 kB / 0.4891 GB, free: 15.81 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005377/0.1736, allocations: 314 kB / 0.4894 GB, free: 15.5 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.379e-05/0.1736, allocations: 7.984 kB / 0.4894 GB, free: 15.49 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01692/0.1906, allocations: 10.32 MB / 0.4994 GB, free: 4.316 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.1906, allocations: 0 / 0.4994 GB, free: 4.316 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00685/0.1974, allocations: 0.673 MB / 0.5001 GB, free: 3.617 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.039e-05/0.1975, allocations: 104.8 kB / 0.5002 GB, free: 3.496 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.729e-05/0.1976, allocations: 8 kB / 0.5002 GB, free: 3.488 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002568/0.1978, allocations: 7.984 kB / 0.5002 GB, free: 3.48 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001498/0.198, allocations: 43.84 kB / 0.5003 GB, free: 3.438 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.246e-05/0.198, allocations: 11.98 kB / 0.5003 GB, free: 3.426 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001661/0.1982, allocations: 167.2 kB / 0.5004 GB, free: 3.262 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1982, allocations: 0 / 0.5004 GB, free: 3.262 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005334/0.1987, allocations: 92 kB / 0.5005 GB, free: 3.172 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.0001662/0.1989, allocations: 111.7 kB / 0.5006 GB, free: 3.055 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.01967/0.2186, allocations: 1.086 MB / 0.5017 GB, free: 1.969 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.353e-06/0.2186, allocations: 4 kB / 0.5017 GB, free: 1.965 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001955/0.2206, allocations: 0.5271 MB / 0.5022 GB, free: 1.398 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000386/0.221, allocations: 39.91 kB / 0.5022 GB, free: 1.359 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002805/0.2238, allocations: 0.7131 MB / 0.5029 GB, free: 0.6133 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1496/0.3734, allocations: 0.741 MB / 0.5037 GB, free: 40.75 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.526e-05/0.3735, allocations: 15.34 kB / 0.5037 GB, free: 40.75 MB / 382.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3735, allocations: 0 / 0.5037 GB, free: 40.75 MB / 382.1 MB Notification: Performance of Templates: time 0.009421/0.383, allocations: 7.274 MB / 0.5108 GB, free: 40.43 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