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: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_turbulent_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_turbulent_KC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001085/0.001085, allocations: 104 kB / 17.32 MB, free: 5.988 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.001017/0.001017, allocations: 193.3 kB / 18.25 MB, free: 5.07 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.448/1.448, allocations: 222.9 MB / 241.9 MB, free: 13.78 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.2202/0.2202, allocations: 44.18 MB / 336.2 MB, free: 2.738 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001336/0.001336, allocations: 65.31 kB / 408 MB, free: 27.45 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1087/0.11, allocations: 60.83 MB / 468.8 MB, free: 14.59 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC): time 0.003412/0.1135, allocations: 1.75 MB / 470.6 MB, free: 12.83 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001419/0.115, allocations: 0.709 MB / 471.3 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.932e-05/0.115, allocations: 3.938 kB / 471.3 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003191/0.1154, allocations: 35.88 kB / 471.3 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003119/0.1157, allocations: 63.72 kB / 471.4 MB, free: 12.01 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002209/0.1159, allocations: 43.89 kB / 471.4 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002677/0.1162, allocations: 155.3 kB / 471.6 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.745e-05/0.1163, allocations: 17.39 kB / 471.6 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.498e-05/0.1164, allocations: 55.78 kB / 471.7 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001822/0.1166, allocations: 87.64 kB / 471.8 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.278e-05/0.1166, allocations: 8 kB / 471.8 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001717/0.1168, allocations: 75.81 kB / 471.8 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.869e-05/0.1169, allocations: 55.81 kB / 471.9 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.844e-05/0.117, allocations: 59.55 kB / 472 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000329/0.1173, allocations: 183.7 kB / 472.1 MB, free: 11.28 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.1173, allocations: 0 / 472.1 MB, free: 11.28 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.384e-06/0.1173, allocations: 0 / 472.1 MB, free: 11.28 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.784e-06/0.1174, allocations: 0 / 472.1 MB, free: 11.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.0007724/0.1181, allocations: 454.8 kB / 472.6 MB, free: 10.79 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.008e-05/0.1182, allocations: 12.03 kB / 472.6 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.955e-05/0.1183, allocations: 50.72 kB / 472.6 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007021/0.119, allocations: 80.64 kB / 472.7 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002539/0.1193, allocations: 234.5 kB / 472.9 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.398e-05/0.1193, allocations: 4.375 kB / 472.9 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.469e-05/0.1193, allocations: 12.38 kB / 473 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000557/0.1199, allocations: 303.9 kB / 473.3 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.1199, allocations: 4 kB / 473.3 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.655e-05/0.1199, allocations: 7.938 kB / 473.3 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.503e-05/0.12, allocations: 15.98 kB / 473.3 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005687/0.1206, allocations: 308.2 kB / 473.6 MB, free: 9.719 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001449/0.122, allocations: 0.7158 MB / 474.3 MB, free: 8.945 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005535/0.1226, allocations: 274.3 kB / 474.6 MB, free: 8.668 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002285/0.1228, allocations: 96.8 kB / 474.7 MB, free: 8.57 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.137e-05/0.1229, allocations: 4 kB / 474.7 MB, free: 8.566 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.052e-05/0.1229, allocations: 34.55 kB / 474.7 MB, free: 8.523 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.613e-06/0.1229, allocations: 0 / 474.7 MB, free: 8.523 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.000824/0.1237, allocations: 353.1 kB / 475 MB, free: 8.172 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.36e-05/0.1238, allocations: 55.41 kB / 475.1 MB, free: 8.105 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002307/0.124, allocations: 218.4 kB / 475.3 MB, free: 7.883 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.287e-05/0.1241, allocations: 29.7 kB / 475.3 MB, free: 7.848 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.364e-05/0.1242, allocations: 123.9 kB / 475.5 MB, free: 7.723 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.863e-05/0.1242, allocations: 51.3 kB / 475.5 MB, free: 7.672 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.35e-05/0.1243, allocations: 49.67 kB / 475.6 MB, free: 7.617 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001342/0.1245, allocations: 322.8 kB / 475.9 MB, free: 7.293 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002193/0.1247, allocations: 99.88 kB / 476 MB, free: 7.195 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002144/0.1249, allocations: 131.3 kB / 476.1 MB, free: 7.055 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000451/0.1254, allocations: 245.2 kB / 476.3 MB, free: 6.805 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.1254, allocations: 0 / 476.3 MB, free: 6.805 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005753/0.126, allocations: 301.1 kB / 476.6 MB, free: 6.504 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/0.126, allocations: 8.094 kB / 476.6 MB, free: 6.496 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.126, allocations: 4 kB / 476.6 MB, free: 6.492 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.761e-05/0.126, allocations: 4 kB / 476.7 MB, free: 6.488 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02202/0.1481, allocations: 0.9202 MB / 477.6 MB, free: 5.566 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02427/0.1724, allocations: 10.73 MB / 488.3 MB, free: 9.992 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003822/0.1728, allocations: 19.98 kB / 488.3 MB, free: 9.973 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.346e-05/0.1729, allocations: 23.89 kB / 488.3 MB, free: 9.949 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.0002281/0.1731, allocations: 149.3 kB / 488.5 MB, free: 9.797 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.567e-05/0.1732, allocations: 15.81 kB / 488.5 MB, free: 9.781 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007236/0.1804, allocations: 0.622 MB / 489.1 MB, free: 9.145 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.192e-06/0.1805, allocations: 4 kB / 489.1 MB, free: 9.141 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.1805, allocations: 0 / 489.1 MB, free: 9.141 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.653e-06/0.1805, allocations: 3.984 kB / 489.1 MB, free: 9.137 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003755/0.1809, allocations: 277.4 kB / 489.4 MB, free: 8.816 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/0.1809, allocations: 4 kB / 489.4 MB, free: 8.812 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002476/0.1811, allocations: 39.91 kB / 489.5 MB, free: 8.773 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005601/0.1867, allocations: 310.1 kB / 489.8 MB, free: 8.461 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.009e-05/0.1868, allocations: 3.984 kB / 489.8 MB, free: 8.457 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01803/0.2048, allocations: 10.32 MB / 0.4884 GB, free: 13.29 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.2049, allocations: 0 / 0.4884 GB, free: 13.29 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00689/0.2118, allocations: 0.6692 MB / 0.489 GB, free: 12.59 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001079/0.2119, allocations: 96.86 kB / 0.4891 GB, free: 12.48 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.005e-05/0.2119, allocations: 7.938 kB / 0.4891 GB, free: 12.47 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002677/0.2122, allocations: 11.98 kB / 0.4891 GB, free: 12.46 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001909/0.2124, allocations: 51.78 kB / 0.4892 GB, free: 12.41 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.648e-05/0.2125, allocations: 11.97 kB / 0.4892 GB, free: 12.4 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000178/0.2126, allocations: 171.1 kB / 0.4893 GB, free: 12.23 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.2126, allocations: 0 / 0.4893 GB, free: 12.23 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006437/0.2133, allocations: 92 kB / 0.4894 GB, free: 12.14 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.007247/0.2206, allocations: 1.232 MB / 0.4906 GB, free: 10.87 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.02067/0.2412, allocations: 1.135 MB / 0.4917 GB, free: 9.734 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.2413, allocations: 4 kB / 0.4917 GB, free: 9.73 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00196/0.2432, allocations: 0.5349 MB / 0.4923 GB, free: 9.156 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000427/0.2437, allocations: 31.98 kB / 0.4923 GB, free: 9.125 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005884/0.2496, allocations: 2.831 MB / 0.4951 GB, free: 6.191 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000399/0.25, allocations: 0.7479 MB / 0.4958 GB, free: 5.414 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000143/0.2502, allocations: 41.52 kB / 0.4958 GB, free: 5.375 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000108/0.2503, allocations: 63.41 kB / 0.4959 GB, free: 5.312 MB / 382.1 MB Notification: Performance of SimCode: time 1.163e-06/0.2503, allocations: 0 / 0.4959 GB, free: 5.312 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2708/0.5211, allocations: 9.649 MB / 0.5053 GB, free: 50.63 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003465/0.5215, allocations: 272 kB / 0.5056 GB, free: 50.27 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.144/2.666, allocations: 1.188 kB / 0.5056 GB, free: 50.27 MB / 382.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_turbulent_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-07 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_turbulent_KC.fmu > 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