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.001303/0.001303, allocations: 112.3 kB / 16.41 MB, free: 6.027 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.001207/0.001207, allocations: 185.1 kB / 17.34 MB, free: 5.633 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.44/1.44, allocations: 205.1 MB / 223.2 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.2059/0.2059, allocations: 43.52 MB / 314.1 MB, free: 472 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: 67.89 kB / 441.8 MB, free: 5.645 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.111/0.1123, allocations: 57.79 MB / 499.6 MB, free: 11.78 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube): time 0.00363/0.116, allocations: 2.111 MB / 0.49 GB, free: 9.656 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001964/0.118, allocations: 1.418 MB / 0.4914 GB, free: 8.23 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.411e-05/0.1181, allocations: 4 kB / 0.4914 GB, free: 8.227 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003358/0.1184, allocations: 87.39 kB / 0.4914 GB, free: 8.141 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001629/0.1186, allocations: 71.36 kB / 0.4915 GB, free: 8.07 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005135/0.1192, allocations: 207.1 kB / 0.4917 GB, free: 7.867 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001881/0.1193, allocations: 147 kB / 0.4919 GB, free: 7.723 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.927e-05/0.1194, allocations: 24.27 kB / 0.4919 GB, free: 7.699 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001169/0.1195, allocations: 55.61 kB / 0.4919 GB, free: 7.645 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001002/0.1196, allocations: 63.59 kB / 0.492 GB, free: 7.582 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.848e-05/0.1197, allocations: 4 kB / 0.492 GB, free: 7.578 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005829/0.1203, allocations: 427.3 kB / 0.4924 GB, free: 7.16 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.386e-05/0.1203, allocations: 27.84 kB / 0.4924 GB, free: 7.133 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.309e-05/0.1204, allocations: 75.42 kB / 0.4925 GB, free: 7.059 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005115/0.1209, allocations: 434.5 kB / 0.4929 GB, free: 6.633 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.1209, allocations: 4 kB / 0.4929 GB, free: 6.629 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.1209, allocations: 0 / 0.4929 GB, free: 6.629 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.642e-06/0.121, allocations: 0 / 0.4929 GB, free: 6.629 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.0006327/0.1216, allocations: 498.6 kB / 0.4934 GB, free: 6.094 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.6e-05/0.1217, allocations: 15.89 kB / 0.4934 GB, free: 6.078 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.102e-05/0.1217, allocations: 20.66 kB / 0.4934 GB, free: 6.059 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001978/0.1219, allocations: 219.8 kB / 0.4936 GB, free: 5.805 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.208e-05/0.1219, allocations: 12.38 kB / 0.4936 GB, free: 5.793 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.705e-05/0.122, allocations: 24.12 kB / 0.4937 GB, free: 5.77 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003658/0.1223, allocations: 202.7 kB / 0.4939 GB, free: 5.562 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.1224, allocations: 0 / 0.4939 GB, free: 5.562 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.821e-05/0.1224, allocations: 11.94 kB / 0.4939 GB, free: 5.551 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.173e-05/0.1224, allocations: 8 kB / 0.4939 GB, free: 5.543 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002748/0.1227, allocations: 144.2 kB / 0.494 GB, free: 5.402 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008154/0.1235, allocations: 0.5753 MB / 0.4946 GB, free: 4.777 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002037/0.1237, allocations: 58.55 kB / 0.4946 GB, free: 4.711 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001131/0.1238, allocations: 32.94 kB / 0.4947 GB, free: 4.676 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.744e-05/0.1239, allocations: 4 kB / 0.4947 GB, free: 4.672 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.548e-05/0.1239, allocations: 30.56 kB / 0.4947 GB, free: 4.633 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.153e-06/0.1239, allocations: 4 kB / 0.4947 GB, free: 4.629 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004922/0.1244, allocations: 137.3 kB / 0.4948 GB, free: 4.488 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.308e-05/0.1245, allocations: 51.41 kB / 0.4949 GB, free: 4.426 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000271/0.1248, allocations: 258.7 kB / 0.4951 GB, free: 4.16 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.831e-05/0.1248, allocations: 25.7 kB / 0.4952 GB, free: 4.129 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001347/0.1249, allocations: 163.7 kB / 0.4953 GB, free: 3.965 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.235e-05/0.125, allocations: 23.64 kB / 0.4953 GB, free: 3.941 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.316e-05/0.125, allocations: 41.72 kB / 0.4954 GB, free: 3.895 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001618/0.1252, allocations: 334.8 kB / 0.4957 GB, free: 3.559 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001184/0.1253, allocations: 35.97 kB / 0.4957 GB, free: 3.523 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001902/0.1255, allocations: 132.8 kB / 0.4959 GB, free: 3.348 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003018/0.1258, allocations: 180.7 kB / 0.496 GB, free: 3.125 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.142e-06/0.1258, allocations: 4 kB / 0.496 GB, free: 3.121 MB / 382.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003688/0.1262, allocations: 201.2 kB / 0.4962 GB, free: 2.918 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.834e-05/0.1262, allocations: 10.66 kB / 0.4962 GB, free: 2.91 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.879e-05/0.1263, allocations: 12 kB / 0.4962 GB, free: 2.898 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.034e-05/0.1263, allocations: 8 kB / 0.4963 GB, free: 2.891 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001268/0.1264, allocations: 31.92 kB / 0.4963 GB, free: 2.859 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.367e-06/0.1265, allocations: 8 kB / 0.4963 GB, free: 2.852 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001225/0.1266, allocations: 32.08 kB / 0.4963 GB, free: 2.82 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.804e-05/0.1266, allocations: 16 kB / 0.4963 GB, free: 2.805 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.0001124/0.1267, allocations: 133.6 kB / 0.4965 GB, free: 2.664 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.065e-05/0.1268, allocations: 23.8 kB / 0.4965 GB, free: 2.641 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003517/0.1271, allocations: 142.9 kB / 0.4966 GB, free: 2.492 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.1272, allocations: 0 / 0.4966 GB, free: 2.492 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.1272, allocations: 0 / 0.4966 GB, free: 2.492 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.1272, allocations: 0 / 0.4966 GB, free: 2.492 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002469/0.1274, allocations: 225.5 kB / 0.4968 GB, free: 2.223 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-05/0.1275, allocations: 11.98 kB / 0.4969 GB, free: 2.211 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.787e-05/0.1275, allocations: 7.938 kB / 0.4969 GB, free: 2.203 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.1275, allocations: 0 / 0.4969 GB, free: 2.203 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.046e-05/0.1275, allocations: 4 kB / 0.4969 GB, free: 2.199 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.1275, allocations: 4 kB / 0.4969 GB, free: 2.195 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.077e-06/0.1276, allocations: 7.969 kB / 0.4969 GB, free: 2.188 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002937/0.1279, allocations: 203.2 kB / 0.4971 GB, free: 1.973 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.407e-05/0.1279, allocations: 92.83 kB / 0.4972 GB, free: 1.863 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.853e-05/0.128, allocations: 11.92 kB / 0.4972 GB, free: 1.852 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.71e-05/0.1281, allocations: 8 kB / 0.4972 GB, free: 1.844 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.211e-05/0.1281, allocations: 7.984 kB / 0.4972 GB, free: 1.836 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.955e-06/0.1281, allocations: 4 kB / 0.4972 GB, free: 1.832 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001491/0.1283, allocations: 178 kB / 0.4974 GB, free: 1.66 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.242e-06/0.1283, allocations: 4 kB / 0.4974 GB, free: 1.656 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003419/0.1286, allocations: 75.86 kB / 0.4974 GB, free: 1.582 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.0002924/0.1289, allocations: 167.1 kB / 0.4976 GB, free: 1.406 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004424/0.1294, allocations: 176 kB / 0.4978 GB, free: 1.223 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.1294, allocations: 0 / 0.4978 GB, free: 1.223 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001868/0.1296, allocations: 99.36 kB / 0.4979 GB, free: 1.113 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003302/0.1299, allocations: 24.95 kB / 0.4979 GB, free: 1.086 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006417/0.1306, allocations: 360.3 kB / 0.4982 GB, free: 0.707 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003318/0.1309, allocations: 0.7323 MB / 0.4989 GB, free: 15.95 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.288e-05/0.131, allocations: 17.48 kB / 0.499 GB, free: 15.93 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.609e-05/0.131, allocations: 15.44 kB / 0.499 GB, free: 15.92 MB / 398.1 MB Notification: Performance of SimCode: time 2.41e-07/0.131, allocations: 4 kB / 0.499 GB, free: 15.91 MB / 398.1 MB Notification: Performance of Templates: time 0.007267/0.1383, allocations: 4.172 MB / 0.503 GB, free: 11.75 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/jenkins/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/jenkins/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