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.001112/0.001112, allocations: 109.3 kB / 16.41 MB, free: 6.5 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.001187/0.001187, allocations: 185.5 kB / 17.34 MB, free: 5.762 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.384/1.384, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.2059/0.2059, allocations: 43.51 MB / 314.1 MB, free: 472 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.001566/0.001566, allocations: 79.89 kB / 441.3 MB, free: 6.148 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1077/0.1092, allocations: 57.78 MB / 499.1 MB, free: 12.29 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC): time 0.003199/0.1125, allocations: 1.686 MB / 0.4891 GB, free: 10.59 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001433/0.1139, allocations: 0.7721 MB / 0.4898 GB, free: 9.812 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.782e-05/0.1141, allocations: 0 / 0.4898 GB, free: 9.812 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000264/0.1143, allocations: 35.77 kB / 0.4899 GB, free: 9.777 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003702/0.1147, allocations: 67.66 kB / 0.4899 GB, free: 9.711 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002766/0.115, allocations: 59.81 kB / 0.49 GB, free: 9.652 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00025/0.1153, allocations: 159.3 kB / 0.4901 GB, free: 9.496 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.556e-05/0.1153, allocations: 17.39 kB / 0.4901 GB, free: 9.48 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001189/0.1155, allocations: 59.77 kB / 0.4902 GB, free: 9.422 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000144/0.1156, allocations: 75.67 kB / 0.4903 GB, free: 9.348 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.075e-05/0.1156, allocations: 4 kB / 0.4903 GB, free: 9.344 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001843/0.1158, allocations: 71.81 kB / 0.4903 GB, free: 9.273 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001371/0.116, allocations: 47.88 kB / 0.4904 GB, free: 9.227 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.714e-05/0.1161, allocations: 75.53 kB / 0.4905 GB, free: 9.152 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003327/0.1164, allocations: 175.2 kB / 0.4906 GB, free: 8.98 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.1164, allocations: 4 kB / 0.4906 GB, free: 8.977 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.1164, allocations: 0 / 0.4906 GB, free: 8.977 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.095e-06/0.1164, allocations: 0 / 0.4906 GB, free: 8.977 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.0007276/0.1172, allocations: 470 kB / 0.4911 GB, free: 8.473 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.384e-05/0.1172, allocations: 11.89 kB / 0.4911 GB, free: 8.461 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.441e-05/0.1173, allocations: 46.73 kB / 0.4911 GB, free: 8.406 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000631/0.1179, allocations: 88.73 kB / 0.4912 GB, free: 8.32 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002905/0.1182, allocations: 230.6 kB / 0.4914 GB, free: 8.059 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.212e-05/0.1182, allocations: 12.36 kB / 0.4915 GB, free: 8.047 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.675e-05/0.1183, allocations: 8.375 kB / 0.4915 GB, free: 8.039 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005368/0.1188, allocations: 303.8 kB / 0.4918 GB, free: 7.73 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.1188, allocations: 3.938 kB / 0.4918 GB, free: 7.727 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.577e-05/0.1189, allocations: 3.984 kB / 0.4918 GB, free: 7.723 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.402e-05/0.1189, allocations: 31.92 kB / 0.4918 GB, free: 7.691 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005552/0.1195, allocations: 287.7 kB / 0.4921 GB, free: 7.41 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001416/0.1209, allocations: 0.7159 MB / 0.4928 GB, free: 6.641 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005009/0.1214, allocations: 278.2 kB / 0.493 GB, free: 6.359 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002055/0.1216, allocations: 100.8 kB / 0.4931 GB, free: 6.258 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.992e-05/0.1217, allocations: 4 kB / 0.4931 GB, free: 6.254 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.334e-05/0.1217, allocations: 34.56 kB / 0.4932 GB, free: 6.211 MB / 382.1 MB Notification: Performance of pre-optimization done (n=13): time 1.583e-06/0.1217, allocations: 4 kB / 0.4932 GB, free: 6.207 MB / 382.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008288/0.1226, allocations: 349.2 kB / 0.4935 GB, free: 5.859 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.069e-05/0.1226, allocations: 51.41 kB / 0.4936 GB, free: 5.797 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002264/0.1228, allocations: 226.4 kB / 0.4938 GB, free: 5.562 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.861e-05/0.1229, allocations: 25.7 kB / 0.4938 GB, free: 5.531 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.885e-05/0.123, allocations: 124 kB / 0.4939 GB, free: 5.406 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.761e-05/0.123, allocations: 43.58 kB / 0.494 GB, free: 5.363 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.22e-05/0.1231, allocations: 49.67 kB / 0.494 GB, free: 5.309 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001299/0.1233, allocations: 330.8 kB / 0.4943 GB, free: 4.977 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002191/0.1235, allocations: 95.88 kB / 0.4944 GB, free: 4.883 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002287/0.1237, allocations: 127.3 kB / 0.4945 GB, free: 4.746 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004583/0.1242, allocations: 251.6 kB / 0.4948 GB, free: 4.488 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.1242, allocations: 0 / 0.4948 GB, free: 4.488 MB / 382.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005745/0.1248, allocations: 293.2 kB / 0.495 GB, free: 4.195 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.926e-05/0.1248, allocations: 16.03 kB / 0.4951 GB, free: 4.18 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.1248, allocations: 0 / 0.4951 GB, free: 4.18 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.1248, allocations: 0 / 0.4951 GB, free: 4.18 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01809/0.1429, allocations: 0.928 MB / 0.496 GB, free: 3.25 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02059/0.1636, allocations: 10.73 MB / 0.5064 GB, free: 7.68 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003074/0.1639, allocations: 31.8 kB / 0.5065 GB, free: 7.648 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.076e-05/0.164, allocations: 20.12 kB / 0.5065 GB, free: 7.629 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.0001682/0.1641, allocations: 149.6 kB / 0.5066 GB, free: 7.473 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.569e-05/0.1642, allocations: 15.91 kB / 0.5067 GB, free: 7.457 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006128/0.1703, allocations: 0.6297 MB / 0.5073 GB, free: 6.801 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.1704, allocations: 0 / 0.5073 GB, free: 6.801 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.474e-06/0.1704, allocations: 0 / 0.5073 GB, free: 6.801 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.1704, allocations: 4 kB / 0.5073 GB, free: 6.797 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003576/0.1707, allocations: 277.4 kB / 0.5075 GB, free: 6.477 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.1707, allocations: 0 / 0.5075 GB, free: 6.477 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002264/0.171, allocations: 35.97 kB / 0.5076 GB, free: 6.441 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004648/0.1756, allocations: 306 kB / 0.5079 GB, free: 6.133 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.149e-05/0.1757, allocations: 12.09 kB / 0.5079 GB, free: 6.121 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01683/0.1925, allocations: 10.3 MB / 0.5179 GB, free: 10.96 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.1926, allocations: 3.938 kB / 0.5179 GB, free: 10.96 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005961/0.1985, allocations: 0.6848 MB / 0.5186 GB, free: 10.25 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001024/0.1987, allocations: 96.95 kB / 0.5187 GB, free: 10.14 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.997e-05/0.1987, allocations: 0 / 0.5187 GB, free: 10.14 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002473/0.199, allocations: 15.98 kB / 0.5187 GB, free: 10.12 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000149/0.1991, allocations: 47.84 kB / 0.5188 GB, free: 10.07 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.287e-05/0.1991, allocations: 11.98 kB / 0.5188 GB, free: 10.06 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001682/0.1993, allocations: 167.1 kB / 0.5189 GB, free: 9.898 MB / 414.1 MB Notification: Performance of sort global known variables: time 3.51e-07/0.1993, allocations: 0 / 0.5189 GB, free: 9.898 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006071/0.1999, allocations: 92 kB / 0.519 GB, free: 9.809 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.006321/0.2063, allocations: 1.237 MB / 0.5202 GB, free: 8.539 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.01806/0.2243, allocations: 1.123 MB / 0.5213 GB, free: 7.414 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.633e-06/0.2244, allocations: 0 / 0.5213 GB, free: 7.414 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001825/0.2262, allocations: 0.5271 MB / 0.5218 GB, free: 6.848 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004384/0.2267, allocations: 35.92 kB / 0.5219 GB, free: 6.812 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0051/0.2318, allocations: 2.798 MB / 0.5246 GB, free: 3.914 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004215/0.2323, allocations: 0.7519 MB / 0.5253 GB, free: 3.137 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001352/0.2324, allocations: 49.5 kB / 0.5254 GB, free: 3.086 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.732e-05/0.2325, allocations: 47.42 kB / 0.5254 GB, free: 3.039 MB / 414.1 MB Notification: Performance of SimCode: time 1.383e-06/0.2325, allocations: 0 / 0.5254 GB, free: 3.039 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.25/0.4825, allocations: 9.911 MB / 0.5351 GB, free: 40.12 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.05/11.53, allocations: 9.609 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