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.001481/0.001481, allocations: 108 kB / 16.41 MB, free: 6.484 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.001299/0.0013, allocations: 188.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.408/1.408, 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.2068/0.2068, allocations: 43.52 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.002967/0.002967, allocations: 76.45 kB / 441.3 MB, free: 6.145 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1278/0.1307, allocations: 57.78 MB / 499.1 MB, free: 12.29 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC): time 0.002873/0.1337, allocations: 1.776 MB / 0.4892 GB, free: 10.5 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001279/0.135, allocations: 0.8382 MB / 0.49 GB, free: 9.652 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.034e-05/0.135, allocations: 0 / 0.49 GB, free: 9.652 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002401/0.1353, allocations: 43.73 kB / 0.49 GB, free: 9.609 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00023/0.1355, allocations: 67.66 kB / 0.4901 GB, free: 9.543 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002325/0.1358, allocations: 87.7 kB / 0.4902 GB, free: 9.457 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001964/0.136, allocations: 147.3 kB / 0.4903 GB, free: 9.312 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.46e-05/0.136, allocations: 20.84 kB / 0.4903 GB, free: 9.293 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001198/0.1362, allocations: 67.62 kB / 0.4904 GB, free: 9.227 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000128/0.1363, allocations: 71.69 kB / 0.4905 GB, free: 9.156 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.02e-05/0.1363, allocations: 4 kB / 0.4905 GB, free: 9.152 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002869/0.1366, allocations: 159.8 kB / 0.4906 GB, free: 8.996 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.465e-05/0.1367, allocations: 39.88 kB / 0.4907 GB, free: 8.957 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.676e-05/0.1368, allocations: 55.61 kB / 0.4907 GB, free: 8.902 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003468/0.1371, allocations: 211.1 kB / 0.4909 GB, free: 8.695 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.1372, allocations: 0 / 0.4909 GB, free: 8.695 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.1372, allocations: 0 / 0.4909 GB, free: 8.695 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.102e-06/0.1372, 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.0007523/0.1379, allocations: 442.6 kB / 0.4913 GB, free: 8.215 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.881e-05/0.138, allocations: 20.02 kB / 0.4914 GB, free: 8.195 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.643e-05/0.138, allocations: 42.75 kB / 0.4914 GB, free: 8.145 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.264e-05/0.1381, allocations: 16.84 kB / 0.4914 GB, free: 8.129 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000263/0.1384, allocations: 202.8 kB / 0.4916 GB, free: 7.895 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.268e-05/0.1384, allocations: 4.375 kB / 0.4916 GB, free: 7.891 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.586e-05/0.1384, allocations: 15.94 kB / 0.4916 GB, free: 7.875 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003781/0.1388, allocations: 173.4 kB / 0.4918 GB, free: 7.699 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.1388, allocations: 0 / 0.4918 GB, free: 7.699 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.433e-05/0.1388, allocations: 0 / 0.4918 GB, free: 7.699 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.348e-05/0.1389, allocations: 23.98 kB / 0.4918 GB, free: 7.676 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003701/0.1393, allocations: 167.8 kB / 0.492 GB, free: 7.512 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008265/0.1401, allocations: 488.2 kB / 0.4924 GB, free: 6.984 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000421/0.1405, allocations: 162.4 kB / 0.4926 GB, free: 6.816 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001553/0.1407, allocations: 56.81 kB / 0.4926 GB, free: 6.758 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.022e-05/0.1407, allocations: 0 / 0.4926 GB, free: 6.758 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.08e-05/0.1408, allocations: 38.56 kB / 0.4927 GB, free: 6.711 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 9.52e-07/0.1408, allocations: 0 / 0.4927 GB, free: 6.711 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005831/0.1414, allocations: 197.4 kB / 0.4929 GB, free: 6.512 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.558e-05/0.1414, allocations: 55.41 kB / 0.4929 GB, free: 6.445 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002155/0.1416, allocations: 203.4 kB / 0.4931 GB, free: 6.234 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.93e-05/0.1417, allocations: 25.7 kB / 0.4931 GB, free: 6.203 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.478e-05/0.1418, allocations: 116 kB / 0.4933 GB, free: 6.086 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.447e-05/0.1418, allocations: 27.75 kB / 0.4933 GB, free: 6.059 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.992e-05/0.1419, allocations: 29.7 kB / 0.4933 GB, free: 6.023 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001373/0.142, allocations: 330.8 kB / 0.4936 GB, free: 5.691 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001416/0.1422, allocations: 59.94 kB / 0.4937 GB, free: 5.633 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000164/0.1423, allocations: 78.41 kB / 0.4938 GB, free: 5.547 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002877/0.1426, allocations: 122.5 kB / 0.4939 GB, free: 5.418 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.1426, allocations: 4 kB / 0.4939 GB, free: 5.414 MB / 382.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003745/0.143, allocations: 177.7 kB / 0.494 GB, free: 5.234 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.143, allocations: 4 kB / 0.494 GB, free: 5.23 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.143, allocations: 0 / 0.494 GB, free: 5.23 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.1431, allocations: 4.094 kB / 0.4941 GB, free: 5.227 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002608/0.1433, allocations: 47.91 kB / 0.4941 GB, free: 5.18 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008211/0.1442, allocations: 1.223 MB / 0.4953 GB, free: 3.91 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001189/0.1443, allocations: 19.92 kB / 0.4953 GB, free: 3.891 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.829e-05/0.1443, allocations: 7.984 kB / 0.4953 GB, free: 3.883 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.0002394/0.1446, allocations: 137.9 kB / 0.4954 GB, free: 3.738 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.477e-05/0.1446, allocations: 19.84 kB / 0.4955 GB, free: 3.719 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004596/0.1451, allocations: 186.8 kB / 0.4956 GB, free: 3.523 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.472e-06/0.1451, allocations: 4 kB / 0.4956 GB, free: 3.52 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.1451, allocations: 0 / 0.4956 GB, free: 3.52 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.347e-06/0.1451, allocations: 0 / 0.4956 GB, free: 3.52 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000287/0.1454, allocations: 221.6 kB / 0.4959 GB, free: 3.254 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.1454, allocations: 0 / 0.4959 GB, free: 3.254 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002303/0.1457, allocations: 43.97 kB / 0.4959 GB, free: 3.211 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.1457, allocations: 4 kB / 0.4959 GB, free: 3.207 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.585e-05/0.1457, allocations: 4 kB / 0.4959 GB, free: 3.203 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007039/0.1464, allocations: 1.223 MB / 0.4971 GB, free: 1.934 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.1464, allocations: 192 / 0.4971 GB, free: 1.934 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003957/0.1468, allocations: 247.3 kB / 0.4973 GB, free: 1.676 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.749e-05/0.1469, allocations: 100.9 kB / 0.4974 GB, free: 1.559 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.573e-05/0.1469, allocations: 3.938 kB / 0.4974 GB, free: 1.555 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001184/0.1471, allocations: 8 kB / 0.4974 GB, free: 1.547 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.662e-05/0.1471, allocations: 7.984 kB / 0.4975 GB, free: 1.539 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.927e-06/0.1471, allocations: 0 / 0.4975 GB, free: 1.539 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001267/0.1473, allocations: 157.2 kB / 0.4976 GB, free: 1.387 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.136e-06/0.1473, allocations: 0 / 0.4976 GB, free: 1.387 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002873/0.1476, allocations: 43.88 kB / 0.4976 GB, free: 1.344 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.0007824/0.1483, allocations: 0.8101 MB / 0.4984 GB, free: 0.5078 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004842/0.1488, allocations: 147.8 kB / 0.4986 GB, free: 372 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1489, allocations: 4.125 kB / 0.4986 GB, free: 368 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002787/0.1491, allocations: 91.86 kB / 0.4987 GB, free: 276 kB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002959/0.1494, allocations: 23.98 kB / 0.4987 GB, free: 252 kB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002654/0.1521, allocations: 2.148 MB / 0.5008 GB, free: 14.01 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003271/0.1525, allocations: 0.7278 MB / 0.5015 GB, free: 13.25 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.736e-05/0.1526, allocations: 37.05 kB / 0.5015 GB, free: 13.21 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.998e-05/0.1526, allocations: 39.42 kB / 0.5016 GB, free: 13.18 MB / 398.1 MB Notification: Performance of SimCode: time 2.465e-06/0.1526, allocations: 0 / 0.5016 GB, free: 13.18 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02705/0.1797, allocations: 4.621 MB / 0.5061 GB, free: 8.566 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.7/11.88, allocations: 24.41 kB / 0.5061 GB, free: 8.543 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