Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_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.Channel.kc_evenGapTurbulent_KC,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent_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.001073/0.001073, allocations: 109.9 kB / 16.41 MB, free: 6.496 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.001066/0.001066, 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.266/1.266, 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.1914/0.1914, allocations: 43.53 MB / 314.1 MB, free: 464 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.001362/0.001362, allocations: 71.89 kB / 441.3 MB, free: 6.141 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09632/0.09769, allocations: 57.79 MB / 499.1 MB, free: 12.28 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC): time 0.003106/0.1008, allocations: 1.772 MB / 0.4892 GB, free: 10.5 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001309/0.1022, allocations: 0.842 MB / 0.49 GB, free: 9.648 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.207e-05/0.1023, allocations: 0 / 0.49 GB, free: 9.648 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002628/0.1025, allocations: 43.73 kB / 0.49 GB, free: 9.605 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002632/0.1028, allocations: 67.66 kB / 0.4901 GB, free: 9.539 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002505/0.1031, allocations: 95.69 kB / 0.4902 GB, free: 9.445 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001979/0.1033, allocations: 147.3 kB / 0.4903 GB, free: 9.301 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.559e-05/0.1034, allocations: 16.86 kB / 0.4903 GB, free: 9.285 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001257/0.1035, allocations: 63.7 kB / 0.4904 GB, free: 9.223 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001337/0.1036, allocations: 75.67 kB / 0.4905 GB, free: 9.148 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.985e-05/0.1037, allocations: 8 kB / 0.4905 GB, free: 9.141 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002627/0.1039, allocations: 155.7 kB / 0.4906 GB, free: 8.988 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.647e-05/0.104, allocations: 39.89 kB / 0.4907 GB, free: 8.949 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.394e-05/0.1041, allocations: 51.61 kB / 0.4907 GB, free: 8.898 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003069/0.1044, allocations: 207.2 kB / 0.4909 GB, free: 8.695 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.1044, allocations: 0 / 0.4909 GB, free: 8.695 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1044, allocations: 0 / 0.4909 GB, free: 8.695 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.919e-06/0.1044, allocations: 0 / 0.4909 GB, free: 8.695 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.000649/0.1051, allocations: 462.6 kB / 0.4913 GB, free: 8.195 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.303e-05/0.1051, allocations: 8.031 kB / 0.4914 GB, free: 8.188 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.521e-05/0.1052, allocations: 46.72 kB / 0.4914 GB, free: 8.133 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.141e-05/0.1052, allocations: 20.84 kB / 0.4914 GB, free: 8.113 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002113/0.1054, allocations: 194.9 kB / 0.4916 GB, free: 7.887 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.775e-05/0.1055, allocations: 8.375 kB / 0.4916 GB, free: 7.879 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.967e-05/0.1055, allocations: 7.938 kB / 0.4916 GB, free: 7.871 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000319/0.1058, allocations: 173.4 kB / 0.4918 GB, free: 7.695 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.1058, allocations: 3.938 kB / 0.4918 GB, free: 7.691 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.792e-05/0.1059, allocations: 12 kB / 0.4918 GB, free: 7.68 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.879e-05/0.1059, allocations: 15.98 kB / 0.4918 GB, free: 7.664 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003332/0.1062, allocations: 167.8 kB / 0.492 GB, free: 7.5 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007049/0.1069, allocations: 492.1 kB / 0.4924 GB, free: 6.969 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003809/0.1073, allocations: 154.5 kB / 0.4926 GB, free: 6.809 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001363/0.1075, allocations: 52.81 kB / 0.4926 GB, free: 6.754 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.618e-05/0.1075, allocations: 7.984 kB / 0.4927 GB, free: 6.746 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.806e-05/0.1075, allocations: 34.5 kB / 0.4927 GB, free: 6.703 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.142e-06/0.1075, allocations: 0 / 0.4927 GB, free: 6.703 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005153/0.1081, allocations: 205.4 kB / 0.4929 GB, free: 6.496 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.556e-05/0.1081, allocations: 51.41 kB / 0.4929 GB, free: 6.434 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001665/0.1083, allocations: 199.5 kB / 0.4931 GB, free: 6.227 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.751e-05/0.1083, allocations: 25.7 kB / 0.4931 GB, free: 6.195 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.959e-05/0.1084, allocations: 116 kB / 0.4933 GB, free: 6.078 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.245e-05/0.1084, allocations: 31.73 kB / 0.4933 GB, free: 6.047 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.42e-05/0.1085, allocations: 29.72 kB / 0.4933 GB, free: 6.012 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001036/0.1086, allocations: 330.8 kB / 0.4936 GB, free: 5.68 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001319/0.1087, allocations: 51.95 kB / 0.4937 GB, free: 5.629 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000141/0.1089, allocations: 78.45 kB / 0.4938 GB, free: 5.543 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002699/0.1092, allocations: 130.8 kB / 0.4939 GB, free: 5.406 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.1092, allocations: 0 / 0.4939 GB, free: 5.406 MB / 382.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000348/0.1095, allocations: 181.3 kB / 0.4941 GB, free: 5.223 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.2e-05/0.1095, allocations: 4 kB / 0.4941 GB, free: 5.219 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.1096, allocations: 0 / 0.4941 GB, free: 5.219 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.1096, allocations: 4 kB / 0.4941 GB, free: 5.215 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002607/0.1098, allocations: 43.97 kB / 0.4941 GB, free: 5.172 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000602/0.1104, allocations: 1.219 MB / 0.4953 GB, free: 3.906 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001142/0.1106, allocations: 19.91 kB / 0.4953 GB, free: 3.887 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.456e-05/0.1106, allocations: 8 kB / 0.4953 GB, free: 3.879 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 2 (m_flow_IN_con_1[2].target,m_flow_IN_con_1[1].target) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001725/0.1108, allocations: 137.9 kB / 0.4954 GB, free: 3.734 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.86e-05/0.1108, allocations: 19.84 kB / 0.4955 GB, free: 3.715 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003984/0.1112, allocations: 182.9 kB / 0.4956 GB, free: 3.523 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.1112, allocations: 4 kB / 0.4956 GB, free: 3.52 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.1112, allocations: 0 / 0.4956 GB, free: 3.52 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.1113, allocations: 0 / 0.4956 GB, free: 3.52 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002244/0.1115, allocations: 229.6 kB / 0.4959 GB, free: 3.246 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.1115, allocations: 0 / 0.4959 GB, free: 3.246 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000229/0.1117, allocations: 51.91 kB / 0.4959 GB, free: 3.195 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.1117, allocations: 0 / 0.4959 GB, free: 3.195 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.286e-05/0.1118, allocations: 4 kB / 0.4959 GB, free: 3.191 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005715/0.1123, allocations: 1.211 MB / 0.4971 GB, free: 1.934 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.1123, allocations: 8.125 kB / 0.4971 GB, free: 1.926 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003595/0.1127, allocations: 251.4 kB / 0.4973 GB, free: 1.664 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.094e-05/0.1128, allocations: 92.95 kB / 0.4974 GB, free: 1.555 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.721e-05/0.1128, allocations: 3.938 kB / 0.4974 GB, free: 1.551 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001239/0.1129, allocations: 7.984 kB / 0.4974 GB, free: 1.543 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.46e-05/0.113, allocations: 11.94 kB / 0.4975 GB, free: 1.531 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.072e-05/0.113, allocations: 11.98 kB / 0.4975 GB, free: 1.52 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001136/0.1131, allocations: 145.2 kB / 0.4976 GB, free: 1.379 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.853e-06/0.1131, allocations: 0 / 0.4976 GB, free: 1.379 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003037/0.1134, allocations: 47.86 kB / 0.4977 GB, free: 1.332 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 (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007372/0.1142, allocations: 0.8138 MB / 0.4984 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004971/0.1147, allocations: 147.9 kB / 0.4986 GB, free: 356 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.1147, allocations: 4 kB / 0.4986 GB, free: 352 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002785/0.115, allocations: 87.86 kB / 0.4987 GB, free: 264 kB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003074/0.1153, allocations: 19.98 kB / 0.4987 GB, free: 244 kB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002447/0.1178, allocations: 2.137 MB / 0.5008 GB, free: 14.01 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002476/0.118, allocations: 0.7317 MB / 0.5015 GB, free: 13.25 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.517e-05/0.1181, allocations: 41.03 kB / 0.5015 GB, free: 13.21 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.868e-05/0.1182, allocations: 39.36 kB / 0.5016 GB, free: 13.17 MB / 398.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1182, allocations: 0 / 0.5016 GB, free: 13.17 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02262/0.1408, allocations: 4.628 MB / 0.5061 GB, free: 8.551 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.72/10.86, allocations: 16.47 kB / 0.5061 GB, free: 8.535 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000404 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent_KC.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_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/Channel/kc_evenGapTurbulent_KC/kc_evenGapTurbulent_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches