Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.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: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Re|m_flow.1.|m_flow.2.|Nu.1.|Nu.2.|input_Re.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Re|m_flow.1.|m_flow.2.|Nu.1.|Nu.2.|input_Re.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001427/0.001428, allocations: 110.8 kB / 17.08 MB, free: 5.824 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.001481/0.001481, allocations: 198.4 kB / 18.02 MB, free: 4.938 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.367/1.367, allocations: 205.1 MB / 223.9 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.2003/0.2003, allocations: 43.53 MB / 314.8 MB, free: 436 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.001552/0.001552, allocations: 63.91 kB / 442.5 MB, free: 5.594 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09569/0.09725, allocations: 57.79 MB / 0.4886 GB, free: 11.73 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube): time 0.003456/0.1008, allocations: 2.108 MB / 0.4906 GB, free: 9.609 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001974/0.1028, allocations: 1.418 MB / 0.492 GB, free: 8.184 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001227/0.1029, allocations: 0 / 0.492 GB, free: 8.184 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003296/0.1032, allocations: 87.44 kB / 0.4921 GB, free: 8.098 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002202/0.1035, allocations: 75.34 kB / 0.4922 GB, free: 8.023 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006615/0.1042, allocations: 215 kB / 0.4924 GB, free: 7.812 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002196/0.1044, allocations: 143 kB / 0.4925 GB, free: 7.672 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.54e-05/0.1045, allocations: 20.3 kB / 0.4925 GB, free: 7.652 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000151/0.1046, allocations: 63.59 kB / 0.4926 GB, free: 7.59 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001057/0.1048, allocations: 55.59 kB / 0.4926 GB, free: 7.535 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.024e-05/0.1048, allocations: 7.938 kB / 0.4926 GB, free: 7.527 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006305/0.1054, allocations: 431.4 kB / 0.4931 GB, free: 7.105 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.833e-05/0.1055, allocations: 23.8 kB / 0.4931 GB, free: 7.082 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.207e-05/0.1056, allocations: 71.48 kB / 0.4932 GB, free: 7.012 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000583/0.1062, allocations: 434.5 kB / 0.4936 GB, free: 6.586 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.1062, allocations: 4 kB / 0.4936 GB, free: 6.582 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1062, allocations: 0 / 0.4936 GB, free: 6.582 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.454e-06/0.1062, allocations: 0 / 0.4936 GB, free: 6.582 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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.000621/0.1068, allocations: 0.4941 MB / 0.4941 GB, free: 6.043 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.367e-05/0.1069, allocations: 11.89 kB / 0.4941 GB, free: 6.031 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.343e-05/0.1069, allocations: 24.66 kB / 0.4941 GB, free: 6.008 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001898/0.1071, allocations: 211.8 kB / 0.4943 GB, free: 5.762 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.612e-05/0.1072, allocations: 16.38 kB / 0.4943 GB, free: 5.746 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.137e-05/0.1072, allocations: 24.11 kB / 0.4943 GB, free: 5.723 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003566/0.1076, allocations: 206.7 kB / 0.4945 GB, free: 5.512 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.377e-06/0.1076, allocations: 4 kB / 0.4945 GB, free: 5.508 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.655e-05/0.1076, allocations: 4 kB / 0.4945 GB, free: 5.504 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.188e-06/0.1076, allocations: 4 kB / 0.4945 GB, free: 5.5 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003092/0.1079, allocations: 156.2 kB / 0.4947 GB, free: 5.348 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008208/0.1088, allocations: 0.5714 MB / 0.4952 GB, free: 4.727 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001895/0.109, allocations: 62.55 kB / 0.4953 GB, free: 4.656 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001115/0.1091, allocations: 28.95 kB / 0.4953 GB, free: 4.625 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.109e-05/0.1091, allocations: 4 kB / 0.4953 GB, free: 4.621 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.178e-05/0.1091, allocations: 34.55 kB / 0.4954 GB, free: 4.578 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.322e-06/0.1092, allocations: 4 kB / 0.4954 GB, free: 4.574 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004587/0.1096, allocations: 133.3 kB / 0.4955 GB, free: 4.438 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.813e-05/0.1097, allocations: 55.41 kB / 0.4955 GB, free: 4.371 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002408/0.1099, allocations: 258.6 kB / 0.4958 GB, free: 4.105 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.658e-05/0.1099, allocations: 29.64 kB / 0.4958 GB, free: 4.07 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.534e-05/0.11, allocations: 163.7 kB / 0.496 GB, free: 3.906 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.041e-05/0.1101, allocations: 19.72 kB / 0.496 GB, free: 3.887 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.809e-05/0.1101, allocations: 37.7 kB / 0.496 GB, free: 3.844 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001112/0.1103, allocations: 342.7 kB / 0.4964 GB, free: 3.5 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001301/0.1104, allocations: 35.97 kB / 0.4964 GB, free: 3.465 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000183/0.1106, allocations: 132.8 kB / 0.4965 GB, free: 3.289 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003104/0.1109, allocations: 184.8 kB / 0.4967 GB, free: 3.062 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.1109, allocations: 0 / 0.4967 GB, free: 3.062 MB / 382.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000408/0.1113, allocations: 201.1 kB / 0.4969 GB, free: 2.859 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.1114, allocations: 4 kB / 0.4969 GB, free: 2.855 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.04e-05/0.1114, allocations: 16 kB / 0.4969 GB, free: 2.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.774e-05/0.1114, allocations: 4 kB / 0.4969 GB, free: 2.836 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001325/0.1116, allocations: 35.91 kB / 0.4969 GB, free: 2.801 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.656e-06/0.1116, allocations: 4 kB / 0.497 GB, free: 2.797 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001485/0.1117, allocations: 36.05 kB / 0.497 GB, free: 2.762 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.941e-05/0.1118, allocations: 16 kB / 0.497 GB, free: 2.746 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 2 (m_flow_IN_con_2.geometry,m_flow_IN_con_1.geometry) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0001094/0.1119, allocations: 141.6 kB / 0.4971 GB, free: 2.598 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.241e-05/0.1119, allocations: 19.72 kB / 0.4972 GB, free: 2.578 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003702/0.1123, allocations: 134.9 kB / 0.4973 GB, free: 2.438 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.1123, allocations: 0 / 0.4973 GB, free: 2.438 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.1123, allocations: 4 kB / 0.4973 GB, free: 2.434 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.1123, allocations: 0 / 0.4973 GB, free: 2.434 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002266/0.1126, allocations: 225.5 kB / 0.4975 GB, free: 2.164 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-05/0.1126, allocations: 8 kB / 0.4975 GB, free: 2.156 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.283e-05/0.1127, allocations: 7.984 kB / 0.4975 GB, free: 2.148 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.1127, allocations: 0 / 0.4975 GB, free: 2.148 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.265e-05/0.1127, allocations: 8 kB / 0.4975 GB, free: 2.141 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.1127, allocations: 4 kB / 0.4975 GB, free: 2.137 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.1127, allocations: 0 / 0.4975 GB, free: 2.137 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000299/0.113, allocations: 207.2 kB / 0.4977 GB, free: 1.918 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.776e-05/0.1131, allocations: 92.83 kB / 0.4978 GB, free: 1.809 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.87e-05/0.1131, allocations: 0 / 0.4978 GB, free: 1.809 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001065/0.1132, allocations: 11.98 kB / 0.4978 GB, free: 1.797 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.504e-05/0.1133, allocations: 8 kB / 0.4978 GB, free: 1.789 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.286e-06/0.1133, allocations: 4 kB / 0.4978 GB, free: 1.785 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001455/0.1134, allocations: 182 kB / 0.498 GB, free: 1.609 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1134, allocations: 0 / 0.498 GB, free: 1.609 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003832/0.1138, allocations: 75.94 kB / 0.4981 GB, free: 1.535 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 (3): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0003057/0.1141, allocations: 179 kB / 0.4983 GB, free: 1.348 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004437/0.1146, allocations: 176.1 kB / 0.4984 GB, free: 1.164 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1146, allocations: 0 / 0.4984 GB, free: 1.164 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001993/0.1148, allocations: 99.38 kB / 0.4985 GB, free: 1.055 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000353/0.1152, allocations: 27.69 kB / 0.4985 GB, free: 1.027 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000686/0.1159, allocations: 386 kB / 0.4989 GB, free: 0.6172 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002863/0.1162, allocations: 0.732 MB / 0.4996 GB, free: 15.86 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.336e-05/0.1162, allocations: 15.44 kB / 0.4996 GB, free: 15.84 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1162, allocations: 0 / 0.4996 GB, free: 15.84 MB / 398.1 MB Notification: Performance of Templates: time 0.00676/0.123, allocations: 4.463 MB / 0.504 GB, free: 11.38 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HeatExchanger/kc_flatTube/kc_flatTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches