Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_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_3_2_3_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.001711/0.001712, allocations: 111.7 kB / 16.4 MB, free: 6.379 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.001969/0.001969, allocations: 191 kB / 17.33 MB, free: 5.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.468/1.468, allocations: 205.1 MB / 223.2 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2084/0.2084, allocations: 43.52 MB / 314.1 MB, free: 452 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001502/0.001502, allocations: 67.91 kB / 441.3 MB, free: 6.129 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1127/0.1142, allocations: 57.79 MB / 499.1 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC): time 0.003626/0.1178, allocations: 1.686 MB / 0.4891 GB, free: 10.57 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001445/0.1193, allocations: 0.7759 MB / 0.4898 GB, free: 9.785 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000103/0.1194, allocations: 0 / 0.4898 GB, free: 9.785 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003426/0.1198, allocations: 31.83 kB / 0.4898 GB, free: 9.754 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004396/0.1203, allocations: 67.7 kB / 0.4899 GB, free: 9.688 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003234/0.1206, allocations: 63.77 kB / 0.49 GB, free: 9.625 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00034/0.1209, allocations: 159.3 kB / 0.4901 GB, free: 9.469 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.968e-05/0.121, allocations: 21.36 kB / 0.4901 GB, free: 9.449 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001343/0.1212, allocations: 51.78 kB / 0.4902 GB, free: 9.398 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001624/0.1213, allocations: 75.67 kB / 0.4903 GB, free: 9.324 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.403e-05/0.1214, allocations: 4 kB / 0.4903 GB, free: 9.32 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002193/0.1216, allocations: 79.86 kB / 0.4903 GB, free: 9.242 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.966e-05/0.1217, allocations: 47.83 kB / 0.4904 GB, free: 9.195 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.774e-05/0.1218, allocations: 59.61 kB / 0.4905 GB, free: 9.137 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003588/0.1221, allocations: 187.1 kB / 0.4906 GB, free: 8.953 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.1222, allocations: 3.984 kB / 0.4906 GB, free: 8.949 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.1222, allocations: 0 / 0.4906 GB, free: 8.949 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.344e-06/0.1222, allocations: 0 / 0.4906 GB, free: 8.949 MB / 382.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.0007688/0.123, allocations: 462.6 kB / 0.4911 GB, free: 8.449 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.045e-05/0.123, allocations: 19.88 kB / 0.4911 GB, free: 8.43 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.254e-05/0.1231, allocations: 46.75 kB / 0.4911 GB, free: 8.375 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006697/0.1238, allocations: 84.67 kB / 0.4912 GB, free: 8.293 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003037/0.1241, allocations: 232 kB / 0.4914 GB, free: 8.027 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.791e-05/0.1241, allocations: 4.375 kB / 0.4914 GB, free: 8.023 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.15e-05/0.1241, allocations: 16.36 kB / 0.4915 GB, free: 8.008 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005786/0.1247, allocations: 299.9 kB / 0.4917 GB, free: 7.703 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.1247, allocations: 0 / 0.4917 GB, free: 7.703 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.696e-05/0.1248, allocations: 8 kB / 0.4918 GB, free: 7.695 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.98e-05/0.1248, allocations: 15.98 kB / 0.4918 GB, free: 7.68 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006045/0.1254, allocations: 295.6 kB / 0.492 GB, free: 7.391 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001368/0.1268, allocations: 0.7237 MB / 0.4928 GB, free: 6.613 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005003/0.1273, allocations: 278.1 kB / 0.493 GB, free: 6.332 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002216/0.1276, allocations: 104.8 kB / 0.4931 GB, free: 6.227 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.323e-05/0.1276, allocations: 3.984 kB / 0.4931 GB, free: 6.223 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.067e-05/0.1276, allocations: 34.56 kB / 0.4932 GB, free: 6.18 MB / 382.1 MB Notification: Performance of pre-optimization done (n=13): time 1.312e-06/0.1276, allocations: 0 / 0.4932 GB, free: 6.18 MB / 382.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008343/0.1285, allocations: 341.2 kB / 0.4935 GB, free: 5.84 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.663e-05/0.1285, allocations: 59.34 kB / 0.4935 GB, free: 5.77 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002282/0.1288, allocations: 222.4 kB / 0.4938 GB, free: 5.539 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.5e-05/0.1288, allocations: 25.7 kB / 0.4938 GB, free: 5.508 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.207e-05/0.1289, allocations: 124 kB / 0.4939 GB, free: 5.383 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.029e-05/0.129, allocations: 51.58 kB / 0.4939 GB, free: 5.332 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.262e-05/0.1291, allocations: 45.67 kB / 0.494 GB, free: 5.281 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001322/0.1292, allocations: 330.8 kB / 0.4943 GB, free: 4.949 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002165/0.1294, allocations: 91.89 kB / 0.4944 GB, free: 4.859 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002209/0.1297, allocations: 135.1 kB / 0.4945 GB, free: 4.719 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004512/0.1301, allocations: 247.1 kB / 0.4948 GB, free: 4.465 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.1301, allocations: 0 / 0.4948 GB, free: 4.465 MB / 382.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005709/0.1307, allocations: 297.3 kB / 0.495 GB, free: 4.168 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.067e-05/0.1307, allocations: 6.656 kB / 0.495 GB, free: 4.164 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.802e-06/0.1307, allocations: 0 / 0.495 GB, free: 4.164 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.976e-05/0.1308, allocations: 4 kB / 0.495 GB, free: 4.16 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01829/0.1491, allocations: 0.928 MB / 0.496 GB, free: 3.23 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02101/0.1701, allocations: 10.74 MB / 0.5064 GB, free: 7.652 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000308/0.1705, allocations: 27.97 kB / 0.5065 GB, free: 7.625 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.104e-05/0.1705, allocations: 19.97 kB / 0.5065 GB, free: 7.605 MB / 398.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.0001742/0.1707, allocations: 145.6 kB / 0.5066 GB, free: 7.453 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.455e-05/0.1708, allocations: 11.91 kB / 0.5066 GB, free: 7.441 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006007/0.1768, allocations: 0.6258 MB / 0.5072 GB, free: 6.789 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.836e-06/0.1768, allocations: 7.984 kB / 0.5073 GB, free: 6.781 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-06/0.1768, allocations: 0 / 0.5073 GB, free: 6.781 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.1768, allocations: 0 / 0.5073 GB, free: 6.781 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003523/0.1772, allocations: 269.4 kB / 0.5075 GB, free: 6.469 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.1772, allocations: 7.938 kB / 0.5075 GB, free: 6.461 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002194/0.1774, allocations: 36.08 kB / 0.5076 GB, free: 6.426 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004651/0.1821, allocations: 310 kB / 0.5078 GB, free: 6.113 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.992e-05/0.1821, allocations: 15.98 kB / 0.5079 GB, free: 6.098 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01577/0.1979, allocations: 10.31 MB / 0.5179 GB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.198, allocations: 0 / 0.5179 GB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005961/0.2039, allocations: 0.6731 MB / 0.5186 GB, free: 10.23 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.054e-05/0.204, allocations: 101 kB / 0.5187 GB, free: 10.11 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.868e-05/0.2041, allocations: 3.984 kB / 0.5187 GB, free: 10.11 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002369/0.2043, allocations: 15.98 kB / 0.5187 GB, free: 10.09 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000172/0.2045, allocations: 43.84 kB / 0.5187 GB, free: 10.05 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.494e-05/0.2046, allocations: 11.97 kB / 0.5188 GB, free: 10.04 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001599/0.2047, allocations: 175.1 kB / 0.5189 GB, free: 9.867 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2047, allocations: 0 / 0.5189 GB, free: 9.867 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005932/0.2053, allocations: 88 kB / 0.519 GB, free: 9.781 MB / 414.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.00632/0.2117, allocations: 1.226 MB / 0.5202 GB, free: 8.52 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.01838/0.2301, allocations: 1.124 MB / 0.5213 GB, free: 7.395 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.001e-06/0.2301, allocations: 0 / 0.5213 GB, free: 7.395 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001782/0.2319, allocations: 0.5303 MB / 0.5218 GB, free: 6.828 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004063/0.2323, allocations: 31.92 kB / 0.5219 GB, free: 6.797 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005995/0.2383, allocations: 2.802 MB / 0.5246 GB, free: 3.895 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003846/0.2388, allocations: 0.7557 MB / 0.5253 GB, free: 3.113 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001403/0.2389, allocations: 45.5 kB / 0.5254 GB, free: 3.066 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.66e-05/0.239, allocations: 51.42 kB / 0.5254 GB, free: 3.016 MB / 414.1 MB Notification: Performance of SimCode: time 1.042e-06/0.239, allocations: 0 / 0.5254 GB, free: 3.016 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2626/0.5016, allocations: 9.908 MB / 0.5351 GB, free: 40.05 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.5/12, allocations: 5.75 kB / 0.5351 GB, free: 40.05 MB / 414.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-07 --interface-type ModelExchange --solver CVode --output-interval 0.000404 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_turbulent_KC.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/Plate/kc_turbulent_KC/kc_turbulent_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches