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.001456/0.001455, allocations: 106.3 kB / 17.98 MB, free: 5.402 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.001686/0.001686, allocations: 193.3 kB / 18.9 MB, free: 4.48 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.271/1.271, allocations: 222.9 MB / 242.6 MB, free: 15.39 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.1907/0.1907, allocations: 44.17 MB / 336.9 MB, free: 2.836 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00123/0.00123, allocations: 69.2 kB / 408.6 MB, free: 27.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09512/0.09637, allocations: 60.83 MB / 469.4 MB, free: 14.68 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube): time 0.003308/0.09971, allocations: 2.171 MB / 471.6 MB, free: 12.49 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001724/0.1015, allocations: 1.359 MB / 472.9 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.304e-05/0.1016, allocations: 0 / 472.9 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003129/0.1019, allocations: 75.56 kB / 473 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001889/0.1021, allocations: 67.48 kB / 473.1 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005407/0.1027, allocations: 175.4 kB / 473.2 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001784/0.1028, allocations: 151 kB / 473.4 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.765e-05/0.1029, allocations: 16.3 kB / 473.4 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001188/0.103, allocations: 59.66 kB / 473.5 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.284e-05/0.1031, allocations: 67.53 kB / 473.5 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.448e-05/0.1032, allocations: 4 kB / 473.5 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005362/0.1037, allocations: 435.3 kB / 474 MB, free: 10.09 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.315e-05/0.1038, allocations: 19.86 kB / 474 MB, free: 10.07 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.611e-05/0.1038, allocations: 71.44 kB / 474 MB, free: 10 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003187/0.1042, allocations: 283 kB / 474.3 MB, free: 9.723 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.1042, allocations: 0 / 474.3 MB, free: 9.723 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.1042, allocations: 4 kB / 474.3 MB, free: 9.719 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.145e-06/0.1042, allocations: 0 / 474.3 MB, free: 9.719 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.0005692/0.1048, allocations: 0.4908 MB / 474.8 MB, free: 9.18 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.066e-05/0.1048, allocations: 8.031 kB / 474.8 MB, free: 9.172 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.345e-05/0.1049, allocations: 24.66 kB / 474.8 MB, free: 9.148 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001876/0.1051, allocations: 213.6 kB / 475.1 MB, free: 8.902 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.298e-05/0.1051, allocations: 12.38 kB / 475.1 MB, free: 8.891 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.343e-05/0.1051, allocations: 20.12 kB / 475.1 MB, free: 8.871 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003589/0.1055, allocations: 206.5 kB / 475.3 MB, free: 8.66 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.158e-06/0.1055, allocations: 11.88 kB / 475.3 MB, free: 8.648 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.57e-05/0.1055, allocations: 4 kB / 475.3 MB, free: 8.645 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.183e-06/0.1055, allocations: 4 kB / 475.3 MB, free: 8.641 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000267/0.1058, allocations: 144.3 kB / 475.4 MB, free: 8.5 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007736/0.1066, allocations: 0.5791 MB / 476 MB, free: 7.871 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001756/0.1068, allocations: 70.55 kB / 476.1 MB, free: 7.793 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001108/0.1069, allocations: 32.94 kB / 476.1 MB, free: 7.758 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.494e-05/0.1069, allocations: 0 / 476.1 MB, free: 7.758 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.904e-05/0.1069, allocations: 30.56 kB / 476.2 MB, free: 7.719 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.042e-06/0.1069, allocations: 3.938 kB / 476.2 MB, free: 7.715 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004219/0.1074, allocations: 133.4 kB / 476.3 MB, free: 7.578 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.774e-05/0.1074, allocations: 55.39 kB / 476.3 MB, free: 7.512 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002332/0.1077, allocations: 258.6 kB / 476.6 MB, free: 7.254 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.568e-05/0.1077, allocations: 25.7 kB / 476.6 MB, free: 7.223 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.635e-05/0.1078, allocations: 163.7 kB / 476.8 MB, free: 7.059 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.116e-05/0.1078, allocations: 23.73 kB / 476.8 MB, free: 7.035 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.641e-05/0.1079, allocations: 33.72 kB / 476.8 MB, free: 6.996 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001078/0.108, allocations: 338.8 kB / 477.2 MB, free: 6.656 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000127/0.1081, allocations: 43.88 kB / 477.2 MB, free: 6.613 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001718/0.1083, allocations: 132.8 kB / 477.3 MB, free: 6.438 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000287/0.1086, allocations: 176.7 kB / 477.5 MB, free: 6.219 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.047e-06/0.1086, allocations: 4 kB / 477.5 MB, free: 6.215 MB / 350.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003789/0.109, allocations: 193.4 kB / 477.7 MB, free: 6.02 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.109, allocations: 11.98 kB / 477.7 MB, free: 6.008 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.699e-05/0.109, allocations: 16 kB / 477.7 MB, free: 5.992 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.1091, allocations: 4 kB / 477.7 MB, free: 5.988 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001193/0.1092, allocations: 31.86 kB / 477.8 MB, free: 5.957 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.031e-05/0.1092, allocations: 8 kB / 477.8 MB, free: 5.949 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001306/0.1094, allocations: 35.58 kB / 477.8 MB, free: 5.914 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.725e-05/0.1094, allocations: 12 kB / 477.8 MB, free: 5.902 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 9.965e-05/0.1095, allocations: 133.9 kB / 478 MB, free: 5.762 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.906e-05/0.1095, allocations: 15.81 kB / 478 MB, free: 5.746 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003645/0.1099, allocations: 138.8 kB / 478.1 MB, free: 5.605 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.1099, allocations: 8 kB / 478.1 MB, free: 5.598 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.1099, allocations: 0 / 478.1 MB, free: 5.598 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.628e-06/0.1099, allocations: 192 / 478.1 MB, free: 5.598 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002318/0.1102, allocations: 237.3 kB / 478.3 MB, free: 5.316 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.808e-05/0.1102, allocations: 11.98 kB / 478.4 MB, free: 5.305 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.965e-05/0.1102, allocations: 4 kB / 478.4 MB, free: 5.301 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.1103, allocations: 0 / 478.4 MB, free: 5.301 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.262e-05/0.1103, allocations: 8 kB / 478.4 MB, free: 5.293 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.1103, allocations: 0 / 478.4 MB, free: 5.293 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1103, allocations: 0 / 478.4 MB, free: 5.293 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002994/0.1106, allocations: 207.4 kB / 478.6 MB, free: 5.074 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.852e-05/0.1107, allocations: 96.86 kB / 478.7 MB, free: 4.961 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.115e-05/0.1107, allocations: 7.984 kB / 478.7 MB, free: 4.953 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001009/0.1108, allocations: 0 / 478.7 MB, free: 4.953 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.681e-05/0.1108, allocations: 7.984 kB / 478.7 MB, free: 4.945 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.012e-05/0.1109, allocations: 4 kB / 478.7 MB, free: 4.941 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001367/0.111, allocations: 185.9 kB / 478.9 MB, free: 4.758 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.111, allocations: 0 / 478.9 MB, free: 4.758 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003646/0.1114, allocations: 79.92 kB / 478.9 MB, free: 4.68 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.0002906/0.1117, allocations: 163.6 kB / 479.1 MB, free: 4.512 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004186/0.1121, allocations: 168.1 kB / 479.3 MB, free: 4.336 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1121, allocations: 0 / 479.3 MB, free: 4.336 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002037/0.1123, allocations: 107.3 kB / 479.4 MB, free: 4.219 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003421/0.1127, allocations: 16.89 kB / 479.4 MB, free: 4.203 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006324/0.1133, allocations: 445.9 kB / 479.8 MB, free: 3.734 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002638/0.1136, allocations: 0.7359 MB / 480.6 MB, free: 2.973 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.954e-05/0.1136, allocations: 15.44 kB / 480.6 MB, free: 2.961 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1136, allocations: 0 / 480.6 MB, free: 2.961 MB / 350.1 MB Notification: Performance of Templates: time 0.005855/0.1195, allocations: 4.405 MB / 485 MB, free: 14.57 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