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.0008233/0.0008233, allocations: 93.48 kB / 18 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001031/0.00103, allocations: 202.5 kB / 18.93 MB, free: 4.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.296/1.296, allocations: 227.7 MB / 247.5 MB, free: 11.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1916/0.1916, allocations: 46.19 MB / 345.9 MB, free: 11.35 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002485/0.0002485, allocations: 8 kB / 420.2 MB, free: 19.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09937/0.09963, allocations: 63.57 MB / 483.8 MB, free: 4.129 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC): time 0.001835/0.1015, allocations: 1.423 MB / 485.2 MB, free: 2.695 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0012/0.1027, allocations: 0.7402 MB / 485.9 MB, free: 1.949 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.743e-05/0.1028, allocations: 0 / 485.9 MB, free: 1.949 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002227/0.103, allocations: 39.81 kB / 486 MB, free: 1.91 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002481/0.1033, allocations: 59.78 kB / 486 MB, free: 1.852 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000201/0.1035, allocations: 55.81 kB / 486.1 MB, free: 1.797 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002798/0.1038, allocations: 247.2 kB / 486.3 MB, free: 1.555 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.6e-05/0.1038, allocations: 13.39 kB / 486.3 MB, free: 1.539 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.98e-05/0.1039, allocations: 55.72 kB / 486.4 MB, free: 1.484 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001432/0.1041, allocations: 83.7 kB / 486.5 MB, free: 1.402 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2e-05/0.1041, allocations: 4 kB / 486.5 MB, free: 1.398 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001547/0.1043, allocations: 75.83 kB / 486.5 MB, free: 1.324 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.738e-05/0.1044, allocations: 55.81 kB / 486.6 MB, free: 1.27 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.409e-05/0.1045, allocations: 85.3 kB / 486.7 MB, free: 1.18 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001796/0.1046, allocations: 119.9 kB / 486.8 MB, free: 1.062 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.1047, allocations: 0 / 486.8 MB, free: 1.062 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.705e-06/0.1047, allocations: 4 kB / 486.8 MB, free: 1.059 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.1047, allocations: 0 / 486.8 MB, free: 1.059 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.0005752/0.1052, allocations: 443 kB / 487.2 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.699e-05/0.1053, allocations: 8.875 kB / 487.2 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005803/0.1059, allocations: 80.64 kB / 487.3 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002693/0.1062, allocations: 220 kB / 487.5 MB, free: 244 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.548e-05/0.1062, allocations: 8.375 kB / 487.5 MB, free: 236 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.17e-05/0.1063, allocations: 12.38 kB / 487.6 MB, free: 224 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005273/0.1068, allocations: 320 kB / 487.9 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.1068, allocations: 0 / 487.9 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.385e-05/0.1069, allocations: 0 / 487.9 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.056e-05/0.1069, allocations: 19.98 kB / 487.9 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005659/0.1075, allocations: 299.7 kB / 488.2 MB, free: 15.58 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001367/0.1088, allocations: 0.7237 MB / 488.9 MB, free: 14.8 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004867/0.1093, allocations: 282.2 kB / 489.2 MB, free: 14.52 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002147/0.1096, allocations: 108.8 kB / 489.3 MB, free: 14.41 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.117e-05/0.1096, allocations: 0 / 489.3 MB, free: 14.41 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.229e-05/0.1096, allocations: 42.55 kB / 489.3 MB, free: 14.36 MB / 366.1 MB Notification: Performance of pre-optimization done (n=13): time 1.132e-06/0.1096, allocations: 4 kB / 489.3 MB, free: 14.36 MB / 366.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008141/0.1105, allocations: 361.1 kB / 489.7 MB, free: 14 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.216e-05/0.1105, allocations: 55.41 kB / 489.7 MB, free: 13.93 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000211/0.1107, allocations: 231.1 kB / 490 MB, free: 13.7 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.42e-05/0.1108, allocations: 25.7 kB / 490 MB, free: 13.66 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.026e-05/0.1108, allocations: 124.1 kB / 490.1 MB, free: 13.54 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.303e-05/0.1109, allocations: 47.34 kB / 490.2 MB, free: 13.49 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.279e-05/0.1109, allocations: 21.7 kB / 490.2 MB, free: 13.46 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001113/0.1111, allocations: 326.8 kB / 490.5 MB, free: 13.14 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002286/0.1113, allocations: 107.8 kB / 490.6 MB, free: 13.03 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002343/0.1115, allocations: 131.3 kB / 490.7 MB, free: 12.89 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000484/0.112, allocations: 254.6 kB / 491 MB, free: 12.63 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.112, allocations: 3.938 kB / 491 MB, free: 12.63 MB / 366.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005759/0.1126, allocations: 309.1 kB / 491.3 MB, free: 12.32 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.1127, allocations: 7.984 kB / 491.3 MB, free: 12.31 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.1127, allocations: 0 / 491.3 MB, free: 12.31 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.1127, allocations: 4 kB / 491.3 MB, free: 12.31 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01983/0.1325, allocations: 0.8969 MB / 492.2 MB, free: 11.41 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02081/0.1534, allocations: 9.925 MB / 0.4904 GB, free: 0.6836 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003149/0.1537, allocations: 27.73 kB / 0.4904 GB, free: 0.6562 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.519e-05/0.1538, allocations: 19.97 kB / 0.4904 GB, free: 0.6367 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.0001642/0.1539, allocations: 141.8 kB / 0.4905 GB, free: 500 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.795e-05/0.154, allocations: 23.84 kB / 0.4906 GB, free: 476 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006421/0.1604, allocations: 0.6219 MB / 0.4912 GB, free: 15.82 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.1604, allocations: 4 kB / 0.4912 GB, free: 15.82 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.1605, allocations: 112 / 0.4912 GB, free: 15.82 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.1605, allocations: 7.922 kB / 0.4912 GB, free: 15.81 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000357/0.1608, allocations: 277.3 kB / 0.4914 GB, free: 15.49 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.686e-06/0.1608, allocations: 0 / 0.4914 GB, free: 15.49 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002423/0.1611, allocations: 39.97 kB / 0.4915 GB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007154/0.1683, allocations: 417.9 kB / 0.4919 GB, free: 15.04 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.253e-05/0.1683, allocations: 7.984 kB / 0.4919 GB, free: 15.03 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01473/0.1831, allocations: 9.511 MB / 0.5012 GB, free: 4.703 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.919e-06/0.1831, allocations: 7.969 kB / 0.5012 GB, free: 4.695 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006319/0.1894, allocations: 0.6681 MB / 0.5018 GB, free: 4.004 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.232e-05/0.1895, allocations: 100.9 kB / 0.5019 GB, free: 3.887 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.92e-05/0.1896, allocations: 0 / 0.5019 GB, free: 3.887 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002552/0.1898, allocations: 19.92 kB / 0.5019 GB, free: 3.867 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001684/0.19, allocations: 39.91 kB / 0.502 GB, free: 3.828 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.246e-05/0.1901, allocations: 11.98 kB / 0.502 GB, free: 3.816 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001757/0.1902, allocations: 168.4 kB / 0.5022 GB, free: 3.652 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1902, allocations: 0 / 0.5022 GB, free: 3.652 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005649/0.1908, allocations: 92 kB / 0.5022 GB, free: 3.562 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.0001678/0.191, allocations: 119.7 kB / 0.5024 GB, free: 3.438 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.01897/0.21, allocations: 1.053 MB / 0.5034 GB, free: 2.383 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.661e-06/0.21, allocations: 3.938 kB / 0.5034 GB, free: 2.379 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001871/0.2119, allocations: 0.5232 MB / 0.5039 GB, free: 1.816 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004048/0.2123, allocations: 43.91 kB / 0.5039 GB, free: 1.773 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002496/0.2148, allocations: 0.7247 MB / 0.5047 GB, free: 1.016 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002975/0.2151, allocations: 0.748 MB / 0.5054 GB, free: 244 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.812e-05/0.2152, allocations: 15.44 kB / 0.5054 GB, free: 228 kB / 382.1 MB Notification: Performance of SimCode: time 5.41e-07/0.2152, allocations: 0 / 0.5054 GB, free: 228 kB / 382.1 MB Notification: Performance of Templates: time 0.1946/0.4099, allocations: 7.246 MB / 0.5125 GB, free: 39 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