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.001387/0.001386, allocations: 114.7 kB / 18.4 MB, free: 4.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001587/0.001588, allocations: 204.5 kB / 19.35 MB, free: 3.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.398/1.398, allocations: 227.4 MB / 247.5 MB, free: 10.36 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2105/0.2105, allocations: 46.11 MB / 344.9 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00133/0.00133, allocations: 71.89 kB / 419 MB, free: 18.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1206/0.1219, allocations: 62.45 MB / 481.5 MB, free: 4.492 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC): time 0.003562/0.1255, allocations: 1.697 MB / 483.2 MB, free: 2.785 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001268/0.1269, allocations: 0.7595 MB / 483.9 MB, free: 2.02 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.775e-05/0.1269, allocations: 4 kB / 483.9 MB, free: 2.016 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002287/0.1272, allocations: 35.77 kB / 484 MB, free: 1.98 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002395/0.1274, allocations: 63.72 kB / 484 MB, free: 1.918 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001945/0.1276, allocations: 63.73 kB / 484.1 MB, free: 1.855 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000228/0.1279, allocations: 155.3 kB / 484.3 MB, free: 1.703 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.743e-05/0.1279, allocations: 17.39 kB / 484.3 MB, free: 1.684 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.8e-05/0.128, allocations: 63.7 kB / 484.3 MB, free: 1.621 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001264/0.1282, allocations: 71.73 kB / 484.4 MB, free: 1.551 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.668e-05/0.1282, allocations: 4 kB / 484.4 MB, free: 1.547 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001696/0.1284, allocations: 71.88 kB / 484.5 MB, free: 1.477 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.236e-05/0.1284, allocations: 55.69 kB / 484.5 MB, free: 1.422 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.997e-05/0.1285, allocations: 59.61 kB / 484.6 MB, free: 1.363 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002717/0.1288, allocations: 187.4 kB / 484.8 MB, free: 1.18 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.1288, allocations: 0 / 484.8 MB, free: 1.18 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1288, allocations: 0 / 484.8 MB, free: 1.18 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.1e-06/0.1288, allocations: 0 / 484.8 MB, free: 1.18 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.0006617/0.1295, allocations: 462.8 kB / 485.2 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.595e-05/0.1295, allocations: 8.031 kB / 485.2 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005964/0.1301, allocations: 80.64 kB / 485.3 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002736/0.1304, allocations: 224 kB / 485.5 MB, free: 344 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.482e-05/0.1304, allocations: 8.375 kB / 485.5 MB, free: 336 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.193e-05/0.1305, allocations: 12.38 kB / 485.5 MB, free: 324 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000496/0.131, allocations: 312.8 kB / 485.9 MB, free: 0 / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.131, allocations: 0 / 485.9 MB, free: 0 / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.121e-05/0.131, allocations: 0 / 485.9 MB, free: 0 / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.662e-05/0.1311, allocations: 23.98 kB / 485.9 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005025/0.1316, allocations: 287.7 kB / 486.2 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0013/0.1329, allocations: 0.7081 MB / 486.9 MB, free: 14.93 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004573/0.1334, allocations: 282.2 kB / 487.1 MB, free: 14.65 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00019/0.1336, allocations: 104.8 kB / 487.2 MB, free: 14.54 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.695e-05/0.1336, allocations: 3.984 kB / 487.2 MB, free: 14.54 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.474e-05/0.1336, allocations: 46.48 kB / 487.3 MB, free: 14.48 MB / 366.1 MB Notification: Performance of pre-optimization done (n=13): time 1.523e-06/0.1336, allocations: 0 / 487.3 MB, free: 14.48 MB / 366.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007211/0.1344, allocations: 345.2 kB / 487.6 MB, free: 14.14 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.551e-05/0.1344, allocations: 51.41 kB / 487.7 MB, free: 14.08 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002133/0.1346, allocations: 231.2 kB / 487.9 MB, free: 13.84 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.353e-05/0.1347, allocations: 25.7 kB / 487.9 MB, free: 13.81 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.387e-05/0.1347, allocations: 124.1 kB / 488.1 MB, free: 13.69 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.544e-05/0.1348, allocations: 39.36 kB / 488.1 MB, free: 13.65 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.665e-05/0.1349, allocations: 49.61 kB / 488.1 MB, free: 13.59 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001052/0.135, allocations: 330.8 kB / 488.5 MB, free: 13.26 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001955/0.1352, allocations: 99.88 kB / 488.6 MB, free: 13.16 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002078/0.1354, allocations: 133.8 kB / 488.7 MB, free: 13.02 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004122/0.1358, allocations: 238.7 kB / 488.9 MB, free: 12.78 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.498e-06/0.1358, allocations: 7.938 kB / 488.9 MB, free: 12.77 MB / 366.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005235/0.1364, allocations: 297.2 kB / 489.2 MB, free: 12.48 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.048e-05/0.1364, allocations: 11.94 kB / 489.2 MB, free: 12.46 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/0.1364, allocations: 0 / 489.2 MB, free: 12.46 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.1364, allocations: 0 / 489.2 MB, free: 12.46 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01822/0.1547, allocations: 0.9242 MB / 490.2 MB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02116/0.1758, allocations: 10.74 MB / 0.4892 GB, free: 15.96 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000309/0.1762, allocations: 23.81 kB / 0.4892 GB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.839e-05/0.1762, allocations: 7.984 kB / 0.4892 GB, free: 15.93 MB / 382.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.0001713/0.1764, allocations: 149.7 kB / 0.4893 GB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.376e-05/0.1765, allocations: 19.91 kB / 0.4893 GB, free: 15.75 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006331/0.1828, allocations: 0.6219 MB / 0.49 GB, free: 15.11 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.1828, allocations: 0 / 0.49 GB, free: 15.11 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.783e-06/0.1828, allocations: 0 / 0.49 GB, free: 15.11 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.795e-06/0.1828, allocations: 7.984 kB / 0.49 GB, free: 15.1 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004588/0.1833, allocations: 273.4 kB / 0.4902 GB, free: 14.79 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.1833, allocations: 4 kB / 0.4902 GB, free: 14.78 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002155/0.1835, allocations: 39.91 kB / 0.4903 GB, free: 14.74 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004653/0.1882, allocations: 306.1 kB / 0.4906 GB, free: 14.43 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.948e-05/0.1882, allocations: 11.98 kB / 0.4906 GB, free: 14.42 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01584/0.2041, allocations: 10.31 MB / 0.5006 GB, free: 3.262 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.2041, allocations: 0 / 0.5006 GB, free: 3.262 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006005/0.2101, allocations: 0.6848 MB / 0.5013 GB, free: 2.551 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.667e-05/0.2102, allocations: 96.86 kB / 0.5014 GB, free: 2.438 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.163e-05/0.2103, allocations: 0 / 0.5014 GB, free: 2.438 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002345/0.2105, allocations: 11.98 kB / 0.5014 GB, free: 2.426 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001669/0.2107, allocations: 51.78 kB / 0.5015 GB, free: 2.375 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.163e-05/0.2107, allocations: 7.984 kB / 0.5015 GB, free: 2.367 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001482/0.2109, allocations: 167.2 kB / 0.5016 GB, free: 2.203 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2109, allocations: 0 / 0.5016 GB, free: 2.203 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005324/0.2114, allocations: 92 kB / 0.5017 GB, free: 2.113 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.0001607/0.2116, allocations: 114.8 kB / 0.5018 GB, free: 1.996 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.01805/0.2297, allocations: 1.126 MB / 0.5029 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.003e-06/0.2297, allocations: 0 / 0.5029 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001701/0.2314, allocations: 0.5387 MB / 0.5034 GB, free: 300 kB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003414/0.2318, allocations: 35.98 kB / 0.5035 GB, free: 264 kB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1931/0.4249, allocations: 0.6397 MB / 0.5041 GB, free: 41.1 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001836/0.4251, allocations: 0.7492 MB / 0.5048 GB, free: 40.4 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001453/0.4252, allocations: 45.16 kB / 0.5049 GB, free: 40.4 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.492e-05/0.4253, allocations: 18.31 kB / 0.5049 GB, free: 40.4 MB / 382.1 MB Notification: Performance of SimCode: time 8.11e-07/0.4253, allocations: 0 / 0.5049 GB, free: 40.4 MB / 382.1 MB Notification: Performance of Templates: time 0.01273/0.438, allocations: 7.577 MB / 0.5123 GB, free: 40.09 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 -s cvode -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