Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001378/0.001378, allocations: 91.17 kB / 17.35 MB, free: 6.031 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00153/0.00153, allocations: 174.5 kB / 18.26 MB, free: 5.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.44/1.44, allocations: 223.3 MB / 242.3 MB, free: 172 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1963/0.1963, allocations: 44.26 MB / 337.7 MB, free: 2.734 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002897/0.0002897, allocations: 8 kB / 410.4 MB, free: 27.29 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1127/0.113, allocations: 61.92 MB / 472.3 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC): time 0.001792/0.1148, allocations: 1.403 MB / 473.7 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001075/0.1159, allocations: 0.7052 MB / 474.4 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.112e-05/0.116, allocations: 3.938 kB / 474.4 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001875/0.1162, allocations: 39.88 kB / 474.4 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002183/0.1164, allocations: 67.66 kB / 474.5 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001667/0.1166, allocations: 47.89 kB / 474.5 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002611/0.1168, allocations: 247.2 kB / 474.8 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.169e-05/0.1169, allocations: 13.39 kB / 474.8 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.967e-05/0.117, allocations: 51.78 kB / 474.8 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001299/0.1171, allocations: 79.67 kB / 474.9 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.529e-05/0.1171, allocations: 4 kB / 474.9 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001564/0.1173, allocations: 79.8 kB / 475 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.604e-05/0.1174, allocations: 47.83 kB / 475.1 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.212e-05/0.1174, allocations: 81.31 kB / 475.1 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002359/0.1177, allocations: 179.6 kB / 475.3 MB, free: 10.28 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.434e-06/0.1177, allocations: 0 / 475.3 MB, free: 10.28 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.906e-06/0.1177, allocations: 4 kB / 475.3 MB, free: 10.27 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.747e-06/0.1177, allocations: 0 / 475.3 MB, free: 10.27 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.0005648/0.1183, allocations: 442.9 kB / 475.7 MB, free: 9.793 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.196e-05/0.1183, allocations: 8.031 kB / 475.8 MB, free: 9.785 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005684/0.1189, allocations: 84.64 kB / 475.8 MB, free: 9.703 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001994/0.1191, allocations: 220 kB / 476 MB, free: 9.449 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.316e-05/0.1191, allocations: 8.375 kB / 476.1 MB, free: 9.441 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.036e-05/0.1192, allocations: 8.375 kB / 476.1 MB, free: 9.434 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004946/0.1197, allocations: 316.2 kB / 476.4 MB, free: 9.113 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.585e-06/0.1197, allocations: 3.938 kB / 476.4 MB, free: 9.109 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.512e-05/0.1197, allocations: 0 / 476.4 MB, free: 9.109 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.089e-05/0.1198, allocations: 15.98 kB / 476.4 MB, free: 9.094 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005625/0.1203, allocations: 315.7 kB / 476.7 MB, free: 8.785 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001226/0.1216, allocations: 0.7274 MB / 477.4 MB, free: 8 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000486/0.1221, allocations: 282.2 kB / 477.7 MB, free: 7.715 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002158/0.1223, allocations: 108.8 kB / 477.8 MB, free: 7.605 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.105e-05/0.1223, allocations: 4 kB / 477.8 MB, free: 7.602 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.062e-05/0.1223, allocations: 34.56 kB / 477.8 MB, free: 7.559 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.242e-06/0.1224, allocations: 4 kB / 477.9 MB, free: 7.555 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007847/0.1231, allocations: 367.7 kB / 478.2 MB, free: 7.191 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.209e-05/0.1232, allocations: 55.41 kB / 478.3 MB, free: 7.125 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002037/0.1234, allocations: 218.4 kB / 478.5 MB, free: 6.902 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.457e-05/0.1234, allocations: 29.69 kB / 478.5 MB, free: 6.867 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.87e-05/0.1235, allocations: 119.9 kB / 478.6 MB, free: 6.746 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.994e-05/0.1236, allocations: 51.34 kB / 478.7 MB, free: 6.695 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.018e-05/0.1236, allocations: 17.72 kB / 478.7 MB, free: 6.672 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001216/0.1237, allocations: 326.8 kB / 479 MB, free: 6.344 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000222/0.124, allocations: 107.8 kB / 479.1 MB, free: 6.238 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002248/0.1242, allocations: 139.3 kB / 479.3 MB, free: 6.09 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004638/0.1247, allocations: 247.2 kB / 479.5 MB, free: 5.836 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.1247, allocations: 7.875 kB / 479.5 MB, free: 5.828 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005729/0.1253, allocations: 313.1 kB / 479.8 MB, free: 5.516 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.1253, allocations: 6.344 kB / 479.8 MB, free: 5.512 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.1253, allocations: 0 / 479.8 MB, free: 5.512 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.1253, allocations: 4 kB / 479.8 MB, free: 5.508 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02048/0.1458, allocations: 0.9008 MB / 480.7 MB, free: 4.605 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0212/0.167, allocations: 9.92 MB / 490.6 MB, free: 9.883 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003214/0.1674, allocations: 23.83 kB / 490.7 MB, free: 9.859 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.039e-05/0.1674, allocations: 11.98 kB / 490.7 MB, free: 9.848 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.0001987/0.1677, allocations: 146.4 kB / 490.8 MB, free: 9.695 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.683e-05/0.1677, allocations: 19.75 kB / 490.8 MB, free: 9.676 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007502/0.1752, allocations: 0.6219 MB / 491.5 MB, free: 9.039 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.371e-05/0.1753, allocations: 112 / 491.5 MB, free: 9.039 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.1753, allocations: 3.938 kB / 491.5 MB, free: 9.035 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.1753, allocations: 0 / 491.5 MB, free: 9.035 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005412/0.1759, allocations: 285.3 kB / 491.7 MB, free: 8.707 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.1759, allocations: 0 / 491.7 MB, free: 8.707 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002455/0.1761, allocations: 43.97 kB / 491.8 MB, free: 8.664 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007222/0.1834, allocations: 413.9 kB / 492.2 MB, free: 8.25 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.533e-05/0.1835, allocations: 15.91 kB / 492.2 MB, free: 8.234 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01614/0.1996, allocations: 9.514 MB / 0.49 GB, free: 13.91 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.1997, allocations: 4.031 kB / 0.49 GB, free: 13.91 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006712/0.2064, allocations: 0.6719 MB / 0.4906 GB, free: 13.21 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.213e-05/0.2065, allocations: 100.8 kB / 0.4907 GB, free: 13.09 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.237e-05/0.2066, allocations: 3.938 kB / 0.4907 GB, free: 13.09 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002647/0.2068, allocations: 15.94 kB / 0.4907 GB, free: 13.07 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000178/0.207, allocations: 43.89 kB / 0.4908 GB, free: 13.03 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.376e-05/0.207, allocations: 15.98 kB / 0.4908 GB, free: 13.02 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001676/0.2072, allocations: 168.2 kB / 0.491 GB, free: 12.85 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.2072, allocations: 0 / 0.491 GB, free: 12.85 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006174/0.2079, allocations: 95.91 kB / 0.491 GB, free: 12.76 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.0001777/0.208, allocations: 107.2 kB / 0.4911 GB, free: 12.64 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.02009/0.2281, allocations: 1.104 MB / 0.4922 GB, free: 11.54 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.464e-06/0.2282, allocations: 4 kB / 0.4922 GB, free: 11.53 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001859/0.2301, allocations: 0.531 MB / 0.4927 GB, free: 10.96 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000463/0.2305, allocations: 41.91 kB / 0.4928 GB, free: 10.92 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002715/0.2333, allocations: 0.7093 MB / 0.4935 GB, free: 10.18 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000395/0.2337, allocations: 0.7402 MB / 0.4942 GB, free: 9.41 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001366/0.2339, allocations: 49.5 kB / 0.4942 GB, free: 9.363 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.837e-05/0.2339, allocations: 15.44 kB / 0.4943 GB, free: 9.352 MB / 382.1 MB Notification: Performance of SimCode: time 1.473e-06/0.2339, allocations: 8 kB / 0.4943 GB, free: 9.344 MB / 382.1 MB Notification: Performance of Templates: time 0.01253/0.2465, allocations: 7.126 MB / 0.5012 GB, free: 2.273 MB / 382.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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","../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches