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_roundTube.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_roundTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Re|m_flow.1.|m_flow.2.|m_flow.3.|m_flow.4.|Nu.1.|Nu.4.|input_Re.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Re|m_flow.1.|m_flow.2.|m_flow.3.|m_flow.4.|Nu.1.|Nu.4.|input_Re.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001189/0.001189, allocations: 114.2 kB / 17.08 MB, free: 6.004 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.001156/0.001156, allocations: 198.3 kB / 18.01 MB, free: 5.082 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.217/1.217, allocations: 205.1 MB / 223.9 MB, free: 12.25 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.187/0.187, allocations: 43.52 MB / 314.8 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.001332/0.001332, allocations: 71.89 kB / 442.5 MB, free: 5.617 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09036/0.0917, allocations: 57.79 MB / 0.4886 GB, free: 11.75 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube): time 0.003403/0.09514, allocations: 2.665 MB / 0.4912 GB, free: 9.074 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002447/0.09761, allocations: 1.768 MB / 0.4929 GB, free: 7.297 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001697/0.0978, allocations: 4 kB / 0.4929 GB, free: 7.293 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003349/0.09815, allocations: 119.2 kB / 0.493 GB, free: 7.176 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002862/0.09844, allocations: 110.9 kB / 0.4931 GB, free: 7.066 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008423/0.09931, allocations: 358.6 kB / 0.4935 GB, free: 6.715 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003189/0.09964, allocations: 254.2 kB / 0.4937 GB, free: 6.465 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.442e-05/0.09971, allocations: 36.59 kB / 0.4938 GB, free: 6.43 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001114/0.09983, allocations: 87.42 kB / 0.4938 GB, free: 6.344 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001321/0.09997, allocations: 111.2 kB / 0.4939 GB, free: 6.234 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.452e-05/0.1, allocations: 8 kB / 0.4939 GB, free: 6.227 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00107/0.1011, allocations: 0.7645 MB / 0.4947 GB, free: 5.461 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.105e-05/0.1012, allocations: 39.72 kB / 0.4947 GB, free: 5.422 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001164/0.1013, allocations: 134.9 kB / 0.4949 GB, free: 5.289 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007823/0.1021, allocations: 0.7124 MB / 0.4956 GB, free: 4.574 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.1021, allocations: 0 / 0.4956 GB, free: 4.574 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1021, allocations: 0 / 0.4956 GB, free: 4.574 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.046e-06/0.1021, allocations: 0 / 0.4956 GB, free: 4.574 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.0007525/0.1029, allocations: 0.6356 MB / 0.4962 GB, free: 3.887 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.245e-05/0.1029, allocations: 11.89 kB / 0.4962 GB, free: 3.875 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.605e-05/0.103, allocations: 44.45 kB / 0.4962 GB, free: 3.832 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002441/0.1032, allocations: 255.3 kB / 0.4965 GB, free: 3.543 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.035e-05/0.1032, allocations: 29.38 kB / 0.4965 GB, free: 3.516 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.351e-05/0.1033, allocations: 36.12 kB / 0.4965 GB, free: 3.48 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004754/0.1038, allocations: 358.5 kB / 0.4969 GB, free: 3.125 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.1038, allocations: 4 kB / 0.4969 GB, free: 3.121 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.369e-05/0.1038, allocations: 16 kB / 0.4969 GB, free: 3.105 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.009e-05/0.1038, allocations: 11.94 kB / 0.4969 GB, free: 3.094 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003814/0.1042, allocations: 259.9 kB / 0.4972 GB, free: 2.84 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001186/0.1054, allocations: 0.8883 MB / 0.498 GB, free: 1.895 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002175/0.1057, allocations: 102.4 kB / 0.4981 GB, free: 1.785 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001144/0.1058, allocations: 44.89 kB / 0.4982 GB, free: 1.738 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.98e-05/0.1058, allocations: 0 / 0.4982 GB, free: 1.738 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.914e-05/0.1058, allocations: 30.56 kB / 0.4982 GB, free: 1.699 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.282e-06/0.1059, allocations: 0 / 0.4982 GB, free: 1.699 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005032/0.1064, allocations: 197.2 kB / 0.4984 GB, free: 1.5 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.809e-05/0.1064, allocations: 51.41 kB / 0.4984 GB, free: 1.438 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003554/0.1068, allocations: 401.8 kB / 0.4988 GB, free: 1.039 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.605e-05/0.1068, allocations: 25.7 kB / 0.4988 GB, free: 1.008 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001443/0.1069, allocations: 251.1 kB / 0.4991 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.784e-05/0.107, allocations: 31.55 kB / 0.4991 GB, free: 0.7266 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.48e-05/0.1071, allocations: 73.88 kB / 0.4992 GB, free: 0.6484 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001269/0.1072, allocations: 350.7 kB / 0.4995 GB, free: 304 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001606/0.1074, allocations: 60.25 kB / 0.4996 GB, free: 244 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002572/0.1076, allocations: 242.2 kB / 0.4998 GB, free: 15.91 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004307/0.1081, allocations: 341.3 kB / 0.5001 GB, free: 15.48 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.971e-06/0.1081, allocations: 0 / 0.5001 GB, free: 15.48 MB / 398.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0005587/0.1087, allocations: 357.3 kB / 0.5005 GB, free: 15.13 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.376e-05/0.1087, allocations: 8 kB / 0.5005 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.202e-05/0.1087, allocations: 28 kB / 0.5005 GB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.007e-05/0.1088, allocations: 8 kB / 0.5005 GB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000169/0.1089, allocations: 51.91 kB / 0.5006 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.64e-05/0.109, allocations: 19.92 kB / 0.5006 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002007/0.1092, allocations: 55.38 kB / 0.5006 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.612e-05/0.1092, allocations: 20 kB / 0.5006 GB, free: 14.94 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 5 (m_flow_IN_con_4.N,m_flow_IN_con_4.geometry,m_flow_IN_con_3.geometry,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 (34): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.0001362/0.1093, allocations: 161.7 kB / 0.5008 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.236e-05/0.1094, allocations: 35.53 kB / 0.5008 GB, free: 14.74 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004624/0.1099, allocations: 204.8 kB / 0.501 GB, free: 14.53 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.1099, allocations: 3.938 kB / 0.501 GB, free: 14.53 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.1099, allocations: 4 kB / 0.501 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.1099, allocations: 3.984 kB / 0.501 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003028/0.1102, allocations: 281.3 kB / 0.5013 GB, free: 14.2 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.13e-05/0.1102, allocations: 23.98 kB / 0.5013 GB, free: 14.17 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.893e-05/0.1103, allocations: 8 kB / 0.5013 GB, free: 14.16 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.1103, allocations: 0 / 0.5013 GB, free: 14.16 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.364e-05/0.1103, allocations: 8.188 kB / 0.5014 GB, free: 14.16 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.1103, allocations: 4 kB / 0.5014 GB, free: 14.15 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.1104, allocations: 3.984 kB / 0.5014 GB, free: 14.15 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003577/0.1107, allocations: 258.9 kB / 0.5016 GB, free: 13.88 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.735e-05/0.1108, allocations: 104.7 kB / 0.5017 GB, free: 13.76 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.955e-05/0.1108, allocations: 0 / 0.5017 GB, free: 13.76 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000119/0.111, allocations: 7.984 kB / 0.5017 GB, free: 13.75 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.126e-05/0.111, allocations: 7.984 kB / 0.5017 GB, free: 13.74 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.07e-05/0.111, allocations: 12 kB / 0.5017 GB, free: 13.73 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002438/0.1113, allocations: 263.2 kB / 0.502 GB, free: 13.47 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1113, allocations: 0 / 0.502 GB, free: 13.47 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005214/0.1118, allocations: 131.8 kB / 0.5021 GB, free: 13.34 MB / 398.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 (5): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.0004145/0.1122, allocations: 206.9 kB / 0.5023 GB, free: 13.13 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006002/0.1129, allocations: 320.1 kB / 0.5026 GB, free: 12.8 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1129, allocations: 0 / 0.5026 GB, free: 12.8 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002638/0.1131, allocations: 174.8 kB / 0.5028 GB, free: 12.6 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003867/0.1135, allocations: 41.55 kB / 0.5028 GB, free: 12.56 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008567/0.1144, allocations: 0.5649 MB / 0.5034 GB, free: 11.96 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002878/0.1147, allocations: 0.7756 MB / 0.5041 GB, free: 11.16 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.807e-05/0.1148, allocations: 23.44 kB / 0.5041 GB, free: 11.13 MB / 398.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1148, allocations: 0 / 0.5041 GB, free: 11.13 MB / 398.1 MB Notification: Performance of Templates: time 0.01098/0.1257, allocations: 9.833 MB / 0.5138 GB, free: 1.297 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_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_roundTube/kc_roundTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches