Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.001066/0.001066, allocations: 94.55 kB / 18 MB, free: 5.602 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.001461/0.001461, allocations: 177.6 kB / 18.91 MB, free: 4.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.447/1.447, allocations: 223.3 MB / 243 MB, free: 14.29 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1877/0.1877, allocations: 44.24 MB / 338.3 MB, free: 2.395 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000314/0.0003141, allocations: 8 kB / 411 MB, free: 27.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1099/0.1103, allocations: 61.92 MB / 472.9 MB, free: 13.28 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube): time 0.00249/0.1128, allocations: 1.816 MB / 474.7 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002222/0.115, allocations: 1.375 MB / 476.1 MB, free: 10.07 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001288/0.1152, allocations: 4 kB / 476.1 MB, free: 10.06 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003263/0.1155, allocations: 87.56 kB / 476.2 MB, free: 9.977 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001824/0.1157, allocations: 51.5 kB / 476.3 MB, free: 9.926 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005266/0.1163, allocations: 171.4 kB / 476.4 MB, free: 9.758 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001927/0.1165, allocations: 159 kB / 476.6 MB, free: 9.602 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.913e-05/0.1165, allocations: 20.28 kB / 476.6 MB, free: 9.578 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001485/0.1167, allocations: 51.67 kB / 476.7 MB, free: 9.527 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001028/0.1168, allocations: 67.53 kB / 476.7 MB, free: 9.461 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.589e-05/0.1168, allocations: 4 kB / 476.7 MB, free: 9.457 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006072/0.1174, allocations: 423.4 kB / 477.1 MB, free: 9.043 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.605e-05/0.1175, allocations: 31.78 kB / 477.2 MB, free: 9.012 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.568e-05/0.1176, allocations: 93.12 kB / 477.3 MB, free: 8.914 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004502/0.1181, allocations: 275.1 kB / 477.5 MB, free: 8.645 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.286e-05/0.1181, allocations: 8 kB / 477.5 MB, free: 8.637 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.1181, allocations: 0 / 477.5 MB, free: 8.637 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.785e-06/0.1181, allocations: 0 / 477.5 MB, free: 8.637 MB / 350.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.000614/0.1187, allocations: 478.6 kB / 478 MB, free: 8.121 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.493e-05/0.1188, allocations: 8.031 kB / 478 MB, free: 8.113 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.224e-05/0.1188, allocations: 24.73 kB / 478 MB, free: 8.09 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001814/0.119, allocations: 200 kB / 478.2 MB, free: 7.855 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.866e-05/0.1191, allocations: 20.38 kB / 478.3 MB, free: 7.836 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.457e-05/0.1191, allocations: 20.12 kB / 478.3 MB, free: 7.816 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003825/0.1195, allocations: 210.5 kB / 478.5 MB, free: 7.602 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.1195, allocations: 0 / 478.5 MB, free: 7.602 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.972e-05/0.1195, allocations: 7.984 kB / 478.5 MB, free: 7.594 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.946e-06/0.1195, allocations: 7.938 kB / 478.5 MB, free: 7.586 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003243/0.1199, allocations: 156.3 kB / 478.6 MB, free: 7.434 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008843/0.1208, allocations: 0.5791 MB / 479.2 MB, free: 6.805 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002116/0.121, allocations: 74.55 kB / 479.3 MB, free: 6.723 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001201/0.1211, allocations: 40.88 kB / 479.3 MB, free: 6.68 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.452e-05/0.1212, allocations: 0 / 479.3 MB, free: 6.68 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.147e-05/0.1212, allocations: 34.56 kB / 479.4 MB, free: 6.637 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.183e-06/0.1212, allocations: 0 / 479.4 MB, free: 6.637 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005153/0.1217, allocations: 157.5 kB / 479.5 MB, free: 6.477 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.798e-05/0.1218, allocations: 51.41 kB / 479.6 MB, free: 6.414 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002709/0.122, allocations: 258.6 kB / 479.8 MB, free: 6.156 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.634e-05/0.1221, allocations: 25.7 kB / 479.9 MB, free: 6.125 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001205/0.1222, allocations: 167.6 kB / 480 MB, free: 5.957 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.546e-05/0.1222, allocations: 23.73 kB / 480 MB, free: 5.934 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.809e-05/0.1223, allocations: 17.72 kB / 480.1 MB, free: 5.91 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001317/0.1224, allocations: 334.8 kB / 480.4 MB, free: 5.574 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001375/0.1226, allocations: 43.97 kB / 480.4 MB, free: 5.531 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000205/0.1228, allocations: 138.2 kB / 480.6 MB, free: 5.355 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003359/0.1231, allocations: 200.6 kB / 480.8 MB, free: 5.113 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.549e-06/0.1231, allocations: 4 kB / 480.8 MB, free: 5.109 MB / 350.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004365/0.1236, allocations: 213 kB / 481 MB, free: 4.895 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.1236, allocations: 6.938 kB / 481 MB, free: 4.891 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.91e-05/0.1236, allocations: 16 kB / 481 MB, free: 4.875 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.65e-05/0.1237, allocations: 4 kB / 481 MB, free: 4.871 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001335/0.1238, allocations: 31.98 kB / 481 MB, free: 4.84 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.086e-05/0.1238, allocations: 15.92 kB / 481 MB, free: 4.824 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001344/0.124, allocations: 31.67 kB / 481.1 MB, free: 4.793 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.04e-05/0.124, allocations: 12 kB / 481.1 MB, free: 4.781 MB / 350.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.0001153/0.1241, allocations: 129.7 kB / 481.2 MB, free: 4.645 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.057e-05/0.1242, allocations: 23.72 kB / 481.2 MB, free: 4.621 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003961/0.1246, allocations: 150.9 kB / 481.4 MB, free: 4.469 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.1246, allocations: 0 / 481.4 MB, free: 4.469 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.1246, allocations: 0 / 481.4 MB, free: 4.469 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.1246, allocations: 0 / 481.4 MB, free: 4.469 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002575/0.1248, allocations: 225.5 kB / 481.6 MB, free: 4.199 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.009e-05/0.1249, allocations: 11.98 kB / 481.6 MB, free: 4.188 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.677e-05/0.1249, allocations: 11.94 kB / 481.6 MB, free: 4.176 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.125, allocations: 0 / 481.6 MB, free: 4.176 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.067e-05/0.125, allocations: 4 kB / 481.6 MB, free: 4.172 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.125, allocations: 4 kB / 481.6 MB, free: 4.168 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/0.125, allocations: 7.922 kB / 481.6 MB, free: 4.16 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003308/0.1253, allocations: 215.2 kB / 481.8 MB, free: 3.934 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.725e-05/0.1254, allocations: 96.83 kB / 481.9 MB, free: 3.82 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.831e-05/0.1254, allocations: 11.98 kB / 482 MB, free: 3.809 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001039/0.1255, allocations: 4 kB / 482 MB, free: 3.805 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.368e-05/0.1256, allocations: 7.984 kB / 482 MB, free: 3.797 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.926e-06/0.1256, allocations: 4 kB / 482 MB, free: 3.793 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001566/0.1258, allocations: 178 kB / 482.1 MB, free: 3.617 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1258, allocations: 3.938 kB / 482.1 MB, free: 3.613 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003804/0.1261, allocations: 75.92 kB / 482.2 MB, free: 3.539 MB / 350.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.000307/0.1265, allocations: 167.7 kB / 482.4 MB, free: 3.367 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004567/0.1269, allocations: 184 kB / 482.6 MB, free: 3.176 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.1269, allocations: 0 / 482.6 MB, free: 3.176 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002102/0.1272, allocations: 99.38 kB / 482.7 MB, free: 3.066 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000356/0.1275, allocations: 24.89 kB / 482.7 MB, free: 3.039 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007256/0.1283, allocations: 467.3 kB / 483.1 MB, free: 2.547 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003112/0.1286, allocations: 0.7284 MB / 483.9 MB, free: 1.793 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.24e-05/0.1286, allocations: 15.44 kB / 483.9 MB, free: 1.781 MB / 350.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1286, allocations: 0 / 483.9 MB, free: 1.781 MB / 350.1 MB Notification: Performance of Templates: time 0.006941/0.1356, allocations: 4.386 MB / 488.3 MB, free: 13.41 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HeatExchanger/kc_flatTube/kc_flatTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches