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.001448/0.001448, allocations: 109 kB / 16.41 MB, free: 6.508 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.001767/0.001767, allocations: 189.5 kB / 17.34 MB, free: 5.738 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.688/1.688, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.2147/0.2147, allocations: 43.52 MB / 314.1 MB, free: 460 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.001345/0.001345, allocations: 67.89 kB / 441.8 MB, free: 5.621 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1256/0.127, allocations: 57.78 MB / 499.6 MB, free: 11.77 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube): time 0.003278/0.1303, allocations: 2.127 MB / 0.49 GB, free: 9.625 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00204/0.1324, allocations: 1.41 MB / 0.4914 GB, free: 8.207 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.803e-05/0.1325, allocations: 0 / 0.4914 GB, free: 8.207 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003315/0.1328, allocations: 91.38 kB / 0.4914 GB, free: 8.117 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001672/0.133, allocations: 59.44 kB / 0.4915 GB, free: 8.059 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005359/0.1335, allocations: 215 kB / 0.4917 GB, free: 7.848 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001652/0.1337, allocations: 143.1 kB / 0.4918 GB, free: 7.707 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.281e-05/0.1338, allocations: 32.27 kB / 0.4919 GB, free: 7.676 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001332/0.1339, allocations: 55.61 kB / 0.4919 GB, free: 7.621 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.356e-05/0.134, allocations: 67.52 kB / 0.492 GB, free: 7.555 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.655e-05/0.1341, allocations: 4 kB / 0.492 GB, free: 7.551 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000615/0.1347, allocations: 427.4 kB / 0.4924 GB, free: 7.133 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.432e-05/0.1347, allocations: 23.8 kB / 0.4924 GB, free: 7.109 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.173e-05/0.1348, allocations: 71.42 kB / 0.4925 GB, free: 7.039 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005801/0.1354, allocations: 434.3 kB / 0.4929 GB, free: 6.613 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.1354, allocations: 0 / 0.4929 GB, free: 6.613 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.166e-06/0.1354, allocations: 7.984 kB / 0.4929 GB, free: 6.605 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.55e-06/0.1354, allocations: 0 / 0.4929 GB, free: 6.605 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.0006547/0.1361, allocations: 0.4977 MB / 0.4934 GB, free: 6.062 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/0.1362, allocations: 15.88 kB / 0.4934 GB, free: 6.047 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.045e-05/0.1362, allocations: 28.8 kB / 0.4934 GB, free: 6.02 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002109/0.1364, allocations: 204 kB / 0.4936 GB, free: 5.781 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.541e-05/0.1365, allocations: 16.31 kB / 0.4937 GB, free: 5.766 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.559e-05/0.1365, allocations: 20.12 kB / 0.4937 GB, free: 5.746 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003967/0.1369, allocations: 214.6 kB / 0.4939 GB, free: 5.527 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.254e-05/0.1369, allocations: 4 kB / 0.4939 GB, free: 5.523 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.768e-05/0.1369, allocations: 4 kB / 0.4939 GB, free: 5.52 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.015e-05/0.137, allocations: 4 kB / 0.4939 GB, free: 5.516 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002909/0.1373, allocations: 148.2 kB / 0.494 GB, free: 5.371 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008633/0.1381, allocations: 0.5756 MB / 0.4946 GB, free: 4.746 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001818/0.1383, allocations: 62.55 kB / 0.4947 GB, free: 4.676 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001181/0.1385, allocations: 28.95 kB / 0.4947 GB, free: 4.645 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.549e-05/0.1385, allocations: 11.92 kB / 0.4947 GB, free: 4.633 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.18e-05/0.1385, allocations: 30.56 kB / 0.4947 GB, free: 4.594 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.142e-06/0.1385, allocations: 0 / 0.4947 GB, free: 4.594 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004264/0.139, allocations: 133.5 kB / 0.4948 GB, free: 4.457 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.327e-05/0.139, allocations: 51.41 kB / 0.4949 GB, free: 4.395 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00023/0.1393, allocations: 258.7 kB / 0.4951 GB, free: 4.129 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.386e-05/0.1393, allocations: 25.7 kB / 0.4952 GB, free: 4.098 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001207/0.1394, allocations: 171.9 kB / 0.4953 GB, free: 3.926 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.859e-05/0.1394, allocations: 19.89 kB / 0.4954 GB, free: 3.906 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.95e-05/0.1395, allocations: 33.67 kB / 0.4954 GB, free: 3.867 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001131/0.1396, allocations: 350.7 kB / 0.4957 GB, free: 3.516 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001188/0.1397, allocations: 31.97 kB / 0.4957 GB, free: 3.484 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001816/0.1399, allocations: 144.6 kB / 0.4959 GB, free: 3.297 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002913/0.1402, allocations: 176.7 kB / 0.4961 GB, free: 3.078 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.1402, allocations: 0 / 0.4961 GB, free: 3.078 MB / 382.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000381/0.1406, allocations: 205.4 kB / 0.4963 GB, free: 2.871 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.1406, allocations: 4 kB / 0.4963 GB, free: 2.867 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.68e-05/0.1407, allocations: 15.98 kB / 0.4963 GB, free: 2.852 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/0.1407, allocations: 4 kB / 0.4963 GB, free: 2.848 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001224/0.1408, allocations: 31.92 kB / 0.4963 GB, free: 2.816 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.804e-06/0.1408, allocations: 4 kB / 0.4963 GB, free: 2.812 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001649/0.141, allocations: 35.95 kB / 0.4963 GB, free: 2.777 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.033e-05/0.141, allocations: 16 kB / 0.4964 GB, free: 2.762 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.000103/0.1412, allocations: 141.8 kB / 0.4965 GB, free: 2.613 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.723e-05/0.1412, allocations: 19.86 kB / 0.4965 GB, free: 2.594 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003769/0.1416, allocations: 138.9 kB / 0.4966 GB, free: 2.449 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.1416, allocations: 4 kB / 0.4966 GB, free: 2.445 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.1416, allocations: 7.984 kB / 0.4967 GB, free: 2.438 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.1416, allocations: 0 / 0.4967 GB, free: 2.438 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002941/0.1419, allocations: 221.5 kB / 0.4969 GB, free: 2.172 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.805e-05/0.1419, allocations: 12 kB / 0.4969 GB, free: 2.16 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.813e-05/0.142, allocations: 7.984 kB / 0.4969 GB, free: 2.152 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.142, allocations: 0 / 0.4969 GB, free: 2.152 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.118e-05/0.142, allocations: 4 kB / 0.4969 GB, free: 2.148 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.142, allocations: 3.938 kB / 0.4969 GB, free: 2.145 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.142, allocations: 0 / 0.4969 GB, free: 2.145 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002855/0.1423, allocations: 215.2 kB / 0.4971 GB, free: 1.918 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.202e-05/0.1424, allocations: 92.95 kB / 0.4972 GB, free: 1.809 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.633e-05/0.1424, allocations: 0 / 0.4972 GB, free: 1.809 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.863e-05/0.1425, allocations: 7.984 kB / 0.4972 GB, free: 1.801 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.974e-05/0.1426, allocations: 8 kB / 0.4972 GB, free: 1.793 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.914e-06/0.1426, allocations: 4 kB / 0.4972 GB, free: 1.789 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002149/0.1428, allocations: 182 kB / 0.4974 GB, free: 1.613 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1428, allocations: 0 / 0.4974 GB, free: 1.613 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003757/0.1432, allocations: 83.75 kB / 0.4975 GB, free: 1.531 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.0003193/0.1435, allocations: 170.9 kB / 0.4976 GB, free: 1.352 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004303/0.144, allocations: 168.1 kB / 0.4978 GB, free: 1.176 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.144, allocations: 0 / 0.4978 GB, free: 1.176 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002006/0.1442, allocations: 103.3 kB / 0.4979 GB, free: 1.062 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003449/0.1445, allocations: 23.7 kB / 0.4979 GB, free: 1.039 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000646/0.1452, allocations: 360 kB / 0.4982 GB, free: 0.6602 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003349/0.1455, allocations: 0.7359 MB / 0.499 GB, free: 15.9 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.068e-05/0.1456, allocations: 13.55 kB / 0.499 GB, free: 15.89 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.382e-05/0.1456, allocations: 15.44 kB / 0.499 GB, free: 15.87 MB / 398.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1456, allocations: 3.938 kB / 0.499 GB, free: 15.87 MB / 398.1 MB Notification: Performance of Templates: time 0.008557/0.1542, allocations: 4.177 MB / 0.5031 GB, free: 11.69 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