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.0008229/0.000823, allocations: 93.38 kB / 18.01 MB, free: 5.738 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.001002/0.001002, allocations: 176.8 kB / 18.91 MB, free: 4.871 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.374/1.374, allocations: 223.3 MB / 243 MB, free: 14.36 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1944/0.1944, allocations: 44.24 MB / 338.3 MB, free: 2.414 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003341/0.0003342, allocations: 8 kB / 411 MB, free: 27.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1168/0.1171, allocations: 61.92 MB / 472.9 MB, free: 13.29 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC): time 0.00207/0.1193, allocations: 1.395 MB / 474.3 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001281/0.1206, allocations: 0.7168 MB / 475.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.805e-05/0.1207, allocations: 4 kB / 475.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002352/0.1209, allocations: 31.89 kB / 475.1 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003021/0.1212, allocations: 63.72 kB / 475.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002282/0.1215, allocations: 51.83 kB / 475.2 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003286/0.1218, allocations: 247.2 kB / 475.4 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.311e-05/0.1219, allocations: 9.406 kB / 475.5 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.517e-05/0.122, allocations: 51.78 kB / 475.5 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001781/0.1222, allocations: 87.59 kB / 475.6 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.925e-05/0.1222, allocations: 4 kB / 475.6 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001894/0.1224, allocations: 75.86 kB / 475.7 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.322e-05/0.1225, allocations: 43.83 kB / 475.7 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001028/0.1226, allocations: 85.31 kB / 475.8 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002236/0.1228, allocations: 131.9 kB / 475.9 MB, free: 10.28 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.1229, allocations: 0 / 475.9 MB, free: 10.28 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.1229, allocations: 0 / 475.9 MB, free: 10.28 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.222e-06/0.1229, allocations: 0 / 475.9 MB, free: 10.28 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.0006746/0.1236, allocations: 442.9 kB / 476.4 MB, free: 9.801 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/0.1236, allocations: 12.03 kB / 476.4 MB, free: 9.789 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006522/0.1243, allocations: 84.58 kB / 476.4 MB, free: 9.707 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002527/0.1245, allocations: 224 kB / 476.7 MB, free: 9.449 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.572e-05/0.1246, allocations: 8.375 kB / 476.7 MB, free: 9.441 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.448e-05/0.1246, allocations: 8.375 kB / 476.7 MB, free: 9.434 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005456/0.1251, allocations: 304.2 kB / 477 MB, free: 9.125 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.1252, allocations: 0 / 477 MB, free: 9.125 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.926e-05/0.1252, allocations: 4 kB / 477 MB, free: 9.121 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.113e-05/0.1252, allocations: 23.98 kB / 477 MB, free: 9.098 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005927/0.1258, allocations: 311.6 kB / 477.3 MB, free: 8.793 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001362/0.1272, allocations: 0.7158 MB / 478 MB, free: 8.02 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005277/0.1278, allocations: 290.1 kB / 478.3 MB, free: 7.727 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002239/0.128, allocations: 104.8 kB / 478.4 MB, free: 7.621 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.796e-05/0.128, allocations: 7.984 kB / 478.4 MB, free: 7.613 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.542e-05/0.1281, allocations: 34.56 kB / 478.5 MB, free: 7.57 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 3.527e-06/0.1281, allocations: 112 / 478.5 MB, free: 7.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008306/0.1289, allocations: 375.8 kB / 478.8 MB, free: 7.199 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.722e-05/0.129, allocations: 51.41 kB / 478.9 MB, free: 7.137 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002187/0.1292, allocations: 226.4 kB / 479.1 MB, free: 6.906 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.477e-05/0.1292, allocations: 29.7 kB / 479.1 MB, free: 6.871 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.653e-05/0.1293, allocations: 123.9 kB / 479.2 MB, free: 6.746 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.454e-05/0.1294, allocations: 43.36 kB / 479.3 MB, free: 6.703 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.203e-05/0.1294, allocations: 17.72 kB / 479.3 MB, free: 6.68 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001297/0.1295, allocations: 330.8 kB / 479.6 MB, free: 6.348 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002178/0.1298, allocations: 103.8 kB / 479.7 MB, free: 6.246 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002413/0.13, allocations: 143.3 kB / 479.9 MB, free: 6.094 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004794/0.1305, allocations: 243.2 kB / 480.1 MB, free: 5.844 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.841e-06/0.1305, allocations: 7.938 kB / 480.1 MB, free: 5.836 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005975/0.1311, allocations: 305.2 kB / 480.4 MB, free: 5.531 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.034e-05/0.1312, allocations: 8 kB / 480.4 MB, free: 5.523 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.1312, allocations: 4 kB / 480.4 MB, free: 5.52 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.1312, allocations: 0 / 480.4 MB, free: 5.52 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01995/0.1511, allocations: 0.9046 MB / 481.3 MB, free: 4.613 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02117/0.1723, allocations: 9.92 MB / 491.2 MB, free: 9.891 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003324/0.1727, allocations: 27.86 kB / 491.3 MB, free: 9.863 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.284e-05/0.1728, allocations: 7.984 kB / 491.3 MB, free: 9.855 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.0001543/0.1729, allocations: 138.3 kB / 491.4 MB, free: 9.711 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.573e-05/0.173, allocations: 19.75 kB / 491.4 MB, free: 9.691 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006514/0.1795, allocations: 0.6259 MB / 492.1 MB, free: 9.051 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.213e-05/0.1795, allocations: 4 kB / 492.1 MB, free: 9.047 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/0.1796, allocations: 3.938 kB / 492.1 MB, free: 9.043 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.1796, allocations: 0 / 492.1 MB, free: 9.043 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003653/0.1799, allocations: 281.3 kB / 492.3 MB, free: 8.719 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.838e-06/0.18, allocations: 3.938 kB / 492.3 MB, free: 8.715 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002473/0.1802, allocations: 35.97 kB / 492.4 MB, free: 8.68 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007248/0.1875, allocations: 417.9 kB / 492.8 MB, free: 8.262 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.422e-05/0.1875, allocations: 7.969 kB / 492.8 MB, free: 8.254 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01544/0.203, allocations: 9.526 MB / 0.4906 GB, free: 13.92 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.203, allocations: 256 / 0.4906 GB, free: 13.92 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006454/0.2095, allocations: 0.673 MB / 0.4912 GB, free: 13.22 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001016/0.2096, allocations: 96.84 kB / 0.4913 GB, free: 13.11 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.996e-05/0.2097, allocations: 8 kB / 0.4913 GB, free: 13.1 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002644/0.21, allocations: 15.88 kB / 0.4913 GB, free: 13.08 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001749/0.2102, allocations: 51.83 kB / 0.4914 GB, free: 13.03 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.361e-05/0.2102, allocations: 7.984 kB / 0.4914 GB, free: 13.02 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001709/0.2104, allocations: 176.2 kB / 0.4916 GB, free: 12.85 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.2104, allocations: 0 / 0.4916 GB, free: 12.85 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005857/0.211, allocations: 91.91 kB / 0.4916 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.0001675/0.2111, allocations: 103.2 kB / 0.4917 GB, free: 12.65 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0194/0.2306, allocations: 1.063 MB / 0.4928 GB, free: 11.59 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/0.2306, allocations: 0 / 0.4928 GB, free: 11.59 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001845/0.2324, allocations: 0.531 MB / 0.4933 GB, free: 11.02 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003871/0.2329, allocations: 31.98 kB / 0.4933 GB, free: 10.99 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002467/0.2353, allocations: 0.7418 MB / 0.494 GB, free: 10.21 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003078/0.2357, allocations: 0.744 MB / 0.4948 GB, free: 9.434 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.194e-05/0.2357, allocations: 15.44 kB / 0.4948 GB, free: 9.422 MB / 382.1 MB Notification: Performance of SimCode: time 5.81e-07/0.2357, allocations: 0 / 0.4948 GB, free: 9.422 MB / 382.1 MB Notification: Performance of Templates: time 0.009978/0.2457, allocations: 7.248 MB / 0.5019 GB, free: 2.188 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/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_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