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.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,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_turbulent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_turbulent",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.001465/0.001465, allocations: 108.9 kB / 16.41 MB, free: 6.492 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.001518/0.001518, allocations: 192.1 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.331/1.331, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.2006/0.2006, allocations: 43.52 MB / 314.1 MB, free: 468 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.001374/0.001374, allocations: 68.38 kB / 441.3 MB, free: 6.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09904/0.1004, allocations: 57.8 MB / 499.1 MB, free: 12.29 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent): time 0.003169/0.1036, allocations: 1.806 MB / 0.4892 GB, free: 10.47 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001849/0.1055, allocations: 0.9978 MB / 0.4902 GB, free: 9.461 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001199/0.1056, allocations: 4 kB / 0.4902 GB, free: 9.457 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002845/0.106, allocations: 47.69 kB / 0.4902 GB, free: 9.41 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002946/0.1063, allocations: 67.64 kB / 0.4903 GB, free: 9.344 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000424/0.1067, allocations: 123.5 kB / 0.4904 GB, free: 9.223 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003252/0.107, allocations: 207.2 kB / 0.4906 GB, free: 9.02 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.176e-05/0.1071, allocations: 17.55 kB / 0.4906 GB, free: 9.004 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001695/0.1073, allocations: 91.56 kB / 0.4907 GB, free: 8.914 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001661/0.1074, allocations: 99.58 kB / 0.4908 GB, free: 8.816 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.911e-05/0.1075, allocations: 8 kB / 0.4908 GB, free: 8.809 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003285/0.1078, allocations: 131.8 kB / 0.4909 GB, free: 8.68 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.32e-05/0.1079, allocations: 47.81 kB / 0.491 GB, free: 8.633 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001048/0.108, allocations: 79.53 kB / 0.4911 GB, free: 8.555 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000417/0.1084, allocations: 254.8 kB / 0.4913 GB, free: 8.305 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.1085, allocations: 4 kB / 0.4913 GB, free: 8.301 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.1085, allocations: 0 / 0.4913 GB, free: 8.301 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.435e-06/0.1085, allocations: 0 / 0.4913 GB, free: 8.301 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.001217/0.1097, allocations: 0.5331 MB / 0.4918 GB, free: 7.723 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.628e-05/0.1098, allocations: 15.89 kB / 0.4918 GB, free: 7.707 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.503e-05/0.1099, allocations: 46.73 kB / 0.4919 GB, free: 7.652 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.379e-05/0.1099, allocations: 24.73 kB / 0.4919 GB, free: 7.629 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003425/0.1103, allocations: 216.1 kB / 0.4921 GB, free: 7.379 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.087e-05/0.1103, allocations: 8.609 kB / 0.4921 GB, free: 7.371 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.625e-05/0.1104, allocations: 20.36 kB / 0.4921 GB, free: 7.352 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006112/0.111, allocations: 266.7 kB / 0.4924 GB, free: 7.074 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.791e-05/0.111, allocations: 7.922 kB / 0.4924 GB, free: 7.066 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.68e-05/0.111, allocations: 4 kB / 0.4924 GB, free: 7.062 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.695e-05/0.1111, allocations: 12.23 kB / 0.4924 GB, free: 7.051 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006156/0.1117, allocations: 228.4 kB / 0.4926 GB, free: 6.828 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001204/0.1129, allocations: 0.8178 MB / 0.4934 GB, free: 5.949 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003849/0.1133, allocations: 187.8 kB / 0.4936 GB, free: 5.738 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002699/0.1136, allocations: 106.4 kB / 0.4937 GB, free: 5.625 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.041e-05/0.1137, allocations: 8 kB / 0.4937 GB, free: 5.617 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.373e-05/0.1137, allocations: 30.56 kB / 0.4937 GB, free: 5.578 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 1.553e-06/0.1137, allocations: 0 / 0.4937 GB, free: 5.578 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.0009315/0.1146, allocations: 321.2 kB / 0.4941 GB, free: 5.258 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.934e-05/0.1147, allocations: 102.8 kB / 0.4942 GB, free: 5.133 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002615/0.115, allocations: 261 kB / 0.4944 GB, free: 4.867 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.392e-05/0.115, allocations: 29.95 kB / 0.4944 GB, free: 4.832 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.628e-05/0.1151, allocations: 140 kB / 0.4946 GB, free: 4.691 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.887e-05/0.1151, allocations: 43.64 kB / 0.4946 GB, free: 4.648 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.591e-05/0.1152, allocations: 37.7 kB / 0.4946 GB, free: 4.605 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000132/0.1154, allocations: 338.8 kB / 0.495 GB, free: 4.266 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002608/0.1156, allocations: 87.84 kB / 0.495 GB, free: 4.18 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002962/0.1159, allocations: 137 kB / 0.4952 GB, free: 4.027 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005869/0.1165, allocations: 233.2 kB / 0.4954 GB, free: 3.781 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.1165, allocations: 0 / 0.4954 GB, free: 3.781 MB / 382.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006795/0.1172, allocations: 273.2 kB / 0.4957 GB, free: 3.508 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.996e-05/0.1173, allocations: 8 kB / 0.4957 GB, free: 3.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.73e-05/0.1173, allocations: 8 kB / 0.4957 GB, free: 3.492 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.763e-05/0.1173, allocations: 4 kB / 0.4957 GB, free: 3.488 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002327/0.1176, allocations: 35.95 kB / 0.4957 GB, free: 3.453 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.174e-05/0.1176, allocations: 7.984 kB / 0.4957 GB, free: 3.445 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002301/0.1178, allocations: 39.98 kB / 0.4958 GB, free: 3.406 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.382e-05/0.1179, allocations: 15.86 kB / 0.4958 GB, free: 3.391 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (15): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001353/0.118, allocations: 141.8 kB / 0.4959 GB, free: 3.242 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.491e-05/0.1181, allocations: 15.91 kB / 0.4959 GB, free: 3.227 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004706/0.1186, allocations: 223.2 kB / 0.4961 GB, free: 2.996 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.374e-06/0.1186, allocations: 4 kB / 0.4961 GB, free: 2.992 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.075e-06/0.1186, allocations: 7.984 kB / 0.4961 GB, free: 2.984 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.1186, allocations: 0 / 0.4961 GB, free: 2.984 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004007/0.119, allocations: 257.4 kB / 0.4964 GB, free: 2.684 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.101e-05/0.119, allocations: 15.98 kB / 0.4964 GB, free: 2.668 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001785/0.1192, allocations: 31.97 kB / 0.4964 GB, free: 2.637 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.327e-06/0.1192, allocations: 0 / 0.4964 GB, free: 2.637 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.871e-05/0.1193, allocations: 4 kB / 0.4964 GB, free: 2.633 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.083e-06/0.1193, allocations: 7.922 kB / 0.4965 GB, free: 2.625 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.1193, allocations: 4 kB / 0.4965 GB, free: 2.621 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006682/0.1199, allocations: 477.7 kB / 0.4969 GB, free: 2.137 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.514e-05/0.12, allocations: 97 kB / 0.497 GB, free: 2.023 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.875e-05/0.1201, allocations: 8 kB / 0.497 GB, free: 2.016 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002719/0.1204, allocations: 19.97 kB / 0.497 GB, free: 1.996 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.383e-05/0.1204, allocations: 19.92 kB / 0.497 GB, free: 1.977 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.422e-05/0.1205, allocations: 4 kB / 0.4971 GB, free: 1.973 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001683/0.1206, allocations: 192.4 kB / 0.4972 GB, free: 1.789 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.674e-06/0.1206, allocations: 3.938 kB / 0.4972 GB, free: 1.785 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004153/0.1211, allocations: 75.75 kB / 0.4973 GB, free: 1.711 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001078/0.1221, allocations: 1.058 MB / 0.4983 GB, free: 0.625 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006709/0.1228, allocations: 289 kB / 0.4986 GB, free: 332 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.1228, allocations: 0 / 0.4986 GB, free: 332 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000309/0.1232, allocations: 177 kB / 0.4988 GB, free: 136 kB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005159/0.1237, allocations: 51.19 kB / 0.4988 GB, free: 88 kB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003853/0.1275, allocations: 2.82 MB / 0.5016 GB, free: 13.14 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003165/0.1279, allocations: 0.7436 MB / 0.5023 GB, free: 12.38 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.00013/0.128, allocations: 41.52 kB / 0.5024 GB, free: 12.34 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.565e-05/0.1281, allocations: 55.42 kB / 0.5024 GB, free: 12.28 MB / 398.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1281, allocations: 0 / 0.5024 GB, free: 12.28 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02398/0.1521, allocations: 5.912 MB / 0.5082 GB, free: 6.375 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.5/7.652, allocations: 16.12 kB / 0.5082 GB, free: 6.359 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_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.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_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_turbulent.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches