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.001515/0.001515, allocations: 115.2 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.001606/0.001606, 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.422/1.422, allocations: 205.1 MB / 223.2 MB, free: 12.21 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.2117/0.2117, allocations: 43.53 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.002026/0.002026, allocations: 67.89 kB / 441.3 MB, free: 6.129 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1073/0.1093, 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.003018/0.1124, allocations: 1.69 MB / 0.4891 GB, free: 10.57 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001259/0.1137, allocations: 0.776 MB / 0.4898 GB, free: 9.781 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.874e-05/0.1138, allocations: 0 / 0.4898 GB, free: 9.781 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000237/0.114, allocations: 35.75 kB / 0.4899 GB, free: 9.746 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002585/0.1143, allocations: 63.72 kB / 0.4899 GB, free: 9.684 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002059/0.1145, allocations: 59.81 kB / 0.49 GB, free: 9.625 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002439/0.1147, allocations: 159.3 kB / 0.4901 GB, free: 9.469 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.604e-05/0.1148, allocations: 17.39 kB / 0.4901 GB, free: 9.453 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.781e-05/0.1149, allocations: 55.77 kB / 0.4902 GB, free: 9.398 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001397/0.115, allocations: 71.69 kB / 0.4903 GB, free: 9.328 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.09e-05/0.1151, allocations: 4 kB / 0.4903 GB, free: 9.324 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001845/0.1152, allocations: 79.8 kB / 0.4903 GB, free: 9.246 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.357e-05/0.1153, allocations: 47.83 kB / 0.4904 GB, free: 9.199 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.583e-05/0.1154, allocations: 63.61 kB / 0.4905 GB, free: 9.137 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000306/0.1157, allocations: 187.2 kB / 0.4906 GB, free: 8.953 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.818e-06/0.1157, allocations: 0 / 0.4906 GB, free: 8.953 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.1158, allocations: 0 / 0.4906 GB, free: 8.953 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.638e-06/0.1158, allocations: 0 / 0.4906 GB, free: 8.953 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.0007397/0.1165, allocations: 466.5 kB / 0.4911 GB, free: 8.449 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/0.1166, allocations: 11.89 kB / 0.4911 GB, free: 8.438 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.689e-05/0.1166, allocations: 54.73 kB / 0.4911 GB, free: 8.375 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005913/0.1172, allocations: 76.73 kB / 0.4912 GB, free: 8.301 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002791/0.1175, allocations: 228 kB / 0.4914 GB, free: 8.039 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.833e-05/0.1175, allocations: 16.3 kB / 0.4914 GB, free: 8.023 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.866e-05/0.1176, allocations: 16.36 kB / 0.4915 GB, free: 8.008 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005602/0.1182, allocations: 299.8 kB / 0.4917 GB, free: 7.703 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.1182, allocations: 0 / 0.4917 GB, free: 7.703 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.716e-05/0.1182, allocations: 15.98 kB / 0.4918 GB, free: 7.688 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.409e-05/0.1183, allocations: 15.98 kB / 0.4918 GB, free: 7.672 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006027/0.1189, allocations: 291.7 kB / 0.4921 GB, free: 7.387 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001385/0.1203, allocations: 0.7198 MB / 0.4928 GB, free: 6.613 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005566/0.1208, allocations: 278.2 kB / 0.493 GB, free: 6.332 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002274/0.1211, allocations: 96.8 kB / 0.4931 GB, free: 6.234 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.081e-05/0.1211, allocations: 8 kB / 0.4931 GB, free: 6.227 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.661e-05/0.1211, allocations: 34.56 kB / 0.4932 GB, free: 6.184 MB / 382.1 MB Notification: Performance of pre-optimization done (n=13): time 1.382e-06/0.1211, allocations: 0 / 0.4932 GB, free: 6.184 MB / 382.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008609/0.122, allocations: 349.2 kB / 0.4935 GB, free: 5.836 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.957e-05/0.1221, allocations: 51.41 kB / 0.4935 GB, free: 5.773 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002432/0.1223, allocations: 222.4 kB / 0.4938 GB, free: 5.543 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.569e-05/0.1223, allocations: 25.7 kB / 0.4938 GB, free: 5.512 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001/0.1225, allocations: 128 kB / 0.4939 GB, free: 5.383 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.571e-05/0.1225, allocations: 47.58 kB / 0.4939 GB, free: 5.336 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.463e-05/0.1226, allocations: 45.69 kB / 0.494 GB, free: 5.285 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001517/0.1228, allocations: 330.8 kB / 0.4943 GB, free: 4.953 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002321/0.123, allocations: 95.88 kB / 0.4944 GB, free: 4.859 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002478/0.1233, allocations: 127.3 kB / 0.4945 GB, free: 4.723 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005002/0.1238, allocations: 243.1 kB / 0.4947 GB, free: 4.473 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.1238, allocations: 0 / 0.4947 GB, free: 4.473 MB / 382.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000633/0.1244, allocations: 301.7 kB / 0.495 GB, free: 4.172 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.285e-05/0.1244, allocations: 10.66 kB / 0.495 GB, free: 4.164 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/0.1245, allocations: 3.984 kB / 0.495 GB, free: 4.16 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.1245, allocations: 0 / 0.495 GB, free: 4.16 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01848/0.143, allocations: 0.9281 MB / 0.496 GB, free: 3.23 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02222/0.1652, allocations: 10.74 MB / 0.5064 GB, free: 7.652 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003075/0.1656, allocations: 31.92 kB / 0.5065 GB, free: 7.621 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.77e-05/0.1656, allocations: 7.984 kB / 0.5065 GB, free: 7.613 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.000184/0.1658, allocations: 149.6 kB / 0.5066 GB, free: 7.457 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.144e-05/0.1659, allocations: 15.91 kB / 0.5066 GB, free: 7.441 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006219/0.1721, allocations: 0.6297 MB / 0.5072 GB, free: 6.785 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.051e-06/0.1721, allocations: 4 kB / 0.5073 GB, free: 6.781 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/0.1721, allocations: 0 / 0.5073 GB, free: 6.781 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.1721, allocations: 0 / 0.5073 GB, free: 6.781 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003908/0.1725, allocations: 273.4 kB / 0.5075 GB, free: 6.465 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.1725, allocations: 112 / 0.5075 GB, free: 6.465 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002351/0.1728, allocations: 47.84 kB / 0.5076 GB, free: 6.418 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004676/0.1775, allocations: 302 kB / 0.5078 GB, free: 6.113 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.129e-05/0.1775, allocations: 19.97 kB / 0.5079 GB, free: 6.094 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01684/0.1944, allocations: 10.31 MB / 0.5179 GB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.1944, allocations: 32 / 0.5179 GB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006275/0.2007, allocations: 0.6809 MB / 0.5186 GB, free: 10.23 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.307e-05/0.2008, allocations: 104.9 kB / 0.5187 GB, free: 10.11 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.464e-05/0.2009, allocations: 0 / 0.5187 GB, free: 10.11 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002429/0.2011, allocations: 11.98 kB / 0.5187 GB, free: 10.09 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001804/0.2013, allocations: 51.78 kB / 0.5188 GB, free: 10.04 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.274e-05/0.2013, allocations: 7.984 kB / 0.5188 GB, free: 10.04 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001763/0.2015, allocations: 175.1 kB / 0.5189 GB, free: 9.863 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2015, allocations: 0 / 0.5189 GB, free: 9.863 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005553/0.2021, allocations: 88 kB / 0.519 GB, free: 9.777 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.006687/0.2088, allocations: 1.226 MB / 0.5202 GB, free: 8.52 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.01866/0.2275, allocations: 1.127 MB / 0.5213 GB, free: 7.391 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/0.2275, allocations: 0 / 0.5213 GB, free: 7.391 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001788/0.2293, allocations: 0.5232 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.000372/0.2297, allocations: 35.92 kB / 0.5219 GB, free: 6.793 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005297/0.235, allocations: 2.802 MB / 0.5246 GB, free: 3.891 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004744/0.2355, allocations: 0.7518 MB / 0.5253 GB, free: 3.113 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001424/0.2356, allocations: 45.52 kB / 0.5254 GB, free: 3.066 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001143/0.2358, allocations: 51.41 kB / 0.5254 GB, free: 3.016 MB / 414.1 MB Notification: Performance of SimCode: time 7.61e-07/0.2358, allocations: 0 / 0.5254 GB, free: 3.016 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.229/0.4648, allocations: 9.903 MB / 0.5351 GB, free: 40.13 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.87/12.33, allocations: 9.391 kB / 0.5351 GB, free: 40.12 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