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.00149/0.00149, allocations: 111.6 kB / 17.86 MB, free: 5.504 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.001751/0.001751, allocations: 201.9 kB / 18.78 MB, free: 4.586 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.344/1.344, allocations: 222.9 MB / 242.5 MB, free: 13.77 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.2061/0.2061, allocations: 44.17 MB / 336.8 MB, free: 2.773 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001419/0.001419, allocations: 58.72 kB / 408.4 MB, free: 27.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.109/0.1104, allocations: 60.83 MB / 469.2 MB, free: 14.8 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC): time 0.003323/0.1138, allocations: 1.754 MB / 471 MB, free: 13.03 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001271/0.1151, allocations: 0.7168 MB / 471.7 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.546e-05/0.1152, allocations: 0 / 471.7 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002557/0.1155, allocations: 31.88 kB / 471.7 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003234/0.1158, allocations: 63.72 kB / 471.8 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000224/0.1161, allocations: 59.81 kB / 471.8 MB, free: 12.15 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002977/0.1164, allocations: 247.2 kB / 472.1 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.266e-05/0.1164, allocations: 9.406 kB / 472.1 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001077/0.1165, allocations: 55.72 kB / 472.1 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001643/0.1167, allocations: 79.72 kB / 472.2 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.152e-05/0.1168, allocations: 4 kB / 472.2 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001809/0.1169, allocations: 71.88 kB / 472.3 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.155e-05/0.117, allocations: 51.75 kB / 472.3 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.731e-05/0.1171, allocations: 59.61 kB / 472.4 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002146/0.1173, allocations: 127.9 kB / 472.5 MB, free: 11.45 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.1173, allocations: 0 / 472.5 MB, free: 11.45 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.31e-07/0.1174, allocations: 0 / 472.5 MB, free: 11.45 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.362e-06/0.1174, allocations: 0 / 472.5 MB, free: 11.45 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.0006834/0.1181, allocations: 458.8 kB / 473 MB, free: 10.96 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/0.1181, allocations: 16.03 kB / 473 MB, free: 10.94 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007222/0.1188, allocations: 76.64 kB / 473.1 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002813/0.1191, allocations: 232 kB / 473.3 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.405e-05/0.1192, allocations: 4.375 kB / 473.3 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.401e-05/0.1192, allocations: 12.38 kB / 473.3 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000543/0.1198, allocations: 299.8 kB / 473.6 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.1198, allocations: 3.938 kB / 473.6 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.043e-05/0.1198, allocations: 12 kB / 473.6 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.76e-05/0.1199, allocations: 15.98 kB / 473.6 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005878/0.1204, allocations: 299.6 kB / 473.9 MB, free: 9.961 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001478/0.1219, allocations: 0.7236 MB / 474.6 MB, free: 9.18 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005186/0.1225, allocations: 282.1 kB / 474.9 MB, free: 8.895 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002054/0.1227, allocations: 96.8 kB / 475 MB, free: 8.797 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.777e-05/0.1227, allocations: 4 kB / 475 MB, free: 8.793 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.5e-05/0.1228, allocations: 38.55 kB / 475.1 MB, free: 8.746 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.553e-06/0.1228, allocations: 0 / 475.1 MB, free: 8.746 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.00083/0.1236, allocations: 349.1 kB / 475.4 MB, free: 8.398 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.942e-05/0.1237, allocations: 55.41 kB / 475.4 MB, free: 8.332 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002248/0.1239, allocations: 218.4 kB / 475.7 MB, free: 8.109 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.464e-05/0.1239, allocations: 29.7 kB / 475.7 MB, free: 8.074 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.426e-05/0.124, allocations: 123.9 kB / 475.8 MB, free: 7.949 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.817e-05/0.1241, allocations: 51.34 kB / 475.9 MB, free: 7.898 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.012e-05/0.1242, allocations: 49.61 kB / 475.9 MB, free: 7.844 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001265/0.1243, allocations: 322.8 kB / 476.2 MB, free: 7.52 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002312/0.1245, allocations: 99.88 kB / 476.3 MB, free: 7.422 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002547/0.1248, allocations: 139.3 kB / 476.5 MB, free: 7.273 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004769/0.1253, allocations: 237.5 kB / 476.7 MB, free: 7.031 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.037e-06/0.1253, allocations: 3.938 kB / 476.7 MB, free: 7.027 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0006131/0.1259, allocations: 297.2 kB / 477 MB, free: 6.73 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.126, allocations: 8 kB / 477 MB, free: 6.723 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.126, allocations: 0 / 477 MB, free: 6.723 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/0.126, allocations: 4 kB / 477 MB, free: 6.719 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02377/0.1498, allocations: 0.9241 MB / 477.9 MB, free: 5.793 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02219/0.172, allocations: 9.943 MB / 487.9 MB, free: 11.05 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003311/0.1724, allocations: 23.77 kB / 487.9 MB, free: 11.02 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.423e-05/0.1724, allocations: 16.2 kB / 487.9 MB, free: 11.01 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.0001579/0.1726, allocations: 138.3 kB / 488 MB, free: 10.86 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.127e-05/0.1726, allocations: 19.75 kB / 488.1 MB, free: 10.84 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007234/0.1799, allocations: 0.6329 MB / 488.7 MB, free: 10.2 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.25e-05/0.1799, allocations: 7.984 kB / 488.7 MB, free: 10.19 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.337e-06/0.1799, allocations: 0 / 488.7 MB, free: 10.19 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.186e-06/0.1799, allocations: 4.094 kB / 488.7 MB, free: 10.19 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003838/0.1803, allocations: 277.3 kB / 489 MB, free: 9.867 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.075e-06/0.1803, allocations: 0 / 489 MB, free: 9.867 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002383/0.1806, allocations: 39.97 kB / 489 MB, free: 9.828 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007975/0.1886, allocations: 429.9 kB / 489.4 MB, free: 9.398 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.809e-05/0.1886, allocations: 11.97 kB / 489.4 MB, free: 9.387 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01628/0.2049, allocations: 9.546 MB / 499 MB, free: 15.03 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.796e-06/0.205, allocations: 3.938 kB / 499 MB, free: 15.03 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007141/0.2121, allocations: 0.677 MB / 499.7 MB, free: 14.32 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.619e-05/0.2122, allocations: 96.84 kB / 499.8 MB, free: 14.21 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.487e-05/0.2123, allocations: 4 kB / 499.8 MB, free: 14.21 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002817/0.2126, allocations: 15.94 kB / 499.8 MB, free: 14.19 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001805/0.2128, allocations: 43.83 kB / 499.8 MB, free: 14.15 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.505e-05/0.2128, allocations: 15.98 kB / 499.8 MB, free: 14.13 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001548/0.213, allocations: 168.2 kB / 0.4883 GB, free: 13.97 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.213, allocations: 0 / 0.4883 GB, free: 13.97 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006119/0.2136, allocations: 92 kB / 0.4884 GB, free: 13.88 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.0001884/0.2138, allocations: 107.2 kB / 0.4885 GB, free: 13.76 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.02056/0.2344, allocations: 1.061 MB / 0.4895 GB, free: 12.7 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 8.125e-06/0.2344, allocations: 4 kB / 0.4895 GB, free: 12.7 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001988/0.2364, allocations: 0.527 MB / 0.49 GB, free: 12.13 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004234/0.2369, allocations: 31.98 kB / 0.4901 GB, free: 12.1 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002901/0.2398, allocations: 0.7219 MB / 0.4908 GB, free: 11.34 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000302/0.2401, allocations: 0.748 MB / 0.4915 GB, free: 10.56 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.722e-05/0.2402, allocations: 15.44 kB / 0.4915 GB, free: 10.55 MB / 382.1 MB Notification: Performance of SimCode: time 3.9e-07/0.2402, allocations: 0 / 0.4915 GB, free: 10.55 MB / 382.1 MB Notification: Performance of Templates: time 0.009735/0.2499, allocations: 7.26 MB / 0.4986 GB, free: 3.309 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