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.00116/0.00116, allocations: 110.1 kB / 18.3 MB, free: 4.84 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.001055/0.001055, allocations: 199.3 kB / 19.23 MB, free: 3.914 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.379/1.379, allocations: 222.9 MB / 242.9 MB, free: 15.16 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.207/0.207, allocations: 44.17 MB / 337.3 MB, free: 2.75 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001391/0.001391, allocations: 61.06 kB / 409.1 MB, free: 27.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09609/0.0975, allocations: 60.83 MB / 469.9 MB, free: 14.35 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube): time 0.003409/0.1009, allocations: 2.103 MB / 472.1 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001961/0.1029, allocations: 1.367 MB / 473.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001215/0.1031, allocations: 4 kB / 473.4 MB, free: 10.85 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003304/0.1034, allocations: 95.44 kB / 473.5 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001973/0.1037, allocations: 67.34 kB / 473.6 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000599/0.1043, allocations: 203.1 kB / 473.8 MB, free: 10.49 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001984/0.1045, allocations: 147 kB / 473.9 MB, free: 10.35 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.743e-05/0.1045, allocations: 20.3 kB / 473.9 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001393/0.1047, allocations: 63.64 kB / 474 MB, free: 10.26 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.075e-05/0.1048, allocations: 55.55 kB / 474.1 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.708e-05/0.1048, allocations: 4 kB / 474.1 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000628/0.1054, allocations: 427.4 kB / 474.5 MB, free: 9.785 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.212e-05/0.1055, allocations: 23.8 kB / 474.5 MB, free: 9.762 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.691e-05/0.1056, allocations: 71.48 kB / 474.6 MB, free: 9.691 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005701/0.1062, allocations: 446.4 kB / 475 MB, free: 9.254 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.1062, allocations: 0 / 475 MB, free: 9.254 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.1062, allocations: 0 / 475 MB, free: 9.254 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.272e-06/0.1062, allocations: 0 / 475 MB, free: 9.254 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.0006254/0.1068, allocations: 0.4907 MB / 475.5 MB, free: 8.715 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.58e-05/0.1069, allocations: 12.03 kB / 475.5 MB, free: 8.703 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.617e-05/0.1069, allocations: 16.75 kB / 475.5 MB, free: 8.688 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001998/0.1071, allocations: 211.6 kB / 475.7 MB, free: 8.445 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.747e-05/0.1072, allocations: 16.38 kB / 475.8 MB, free: 8.43 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.78e-05/0.1072, allocations: 24.12 kB / 475.8 MB, free: 8.406 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003649/0.1076, allocations: 202.5 kB / 476 MB, free: 8.199 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.919e-06/0.1076, allocations: 0 / 476 MB, free: 8.199 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.515e-05/0.1076, allocations: 4 kB / 476 MB, free: 8.195 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.039e-05/0.1076, allocations: 8 kB / 476 MB, free: 8.188 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002938/0.1079, allocations: 148.2 kB / 476.1 MB, free: 8.043 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008267/0.1088, allocations: 0.5831 MB / 476.7 MB, free: 7.41 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000196/0.109, allocations: 58.55 kB / 476.8 MB, free: 7.344 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001142/0.1091, allocations: 32.89 kB / 476.8 MB, free: 7.309 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.45e-05/0.1091, allocations: 3.984 kB / 476.8 MB, free: 7.305 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.239e-05/0.1092, allocations: 38.55 kB / 476.8 MB, free: 7.258 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.583e-06/0.1092, allocations: 0 / 476.8 MB, free: 7.258 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004653/0.1097, allocations: 137.3 kB / 477 MB, free: 7.117 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.717e-05/0.1097, allocations: 51.41 kB / 477 MB, free: 7.055 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002347/0.1099, allocations: 258.6 kB / 477.3 MB, free: 6.797 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.554e-05/0.11, allocations: 25.7 kB / 477.3 MB, free: 6.766 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001018/0.1101, allocations: 167.7 kB / 477.5 MB, free: 6.598 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.203e-05/0.1101, allocations: 19.75 kB / 477.5 MB, free: 6.578 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.028e-05/0.1102, allocations: 41.61 kB / 477.5 MB, free: 6.531 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001127/0.1103, allocations: 334.8 kB / 477.9 MB, free: 6.195 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001293/0.1104, allocations: 39.97 kB / 477.9 MB, free: 6.156 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001845/0.1106, allocations: 128.8 kB / 478 MB, free: 5.984 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003143/0.1109, allocations: 188.6 kB / 478.2 MB, free: 5.754 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.111, allocations: 0 / 478.2 MB, free: 5.754 MB / 350.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004076/0.1114, allocations: 201.3 kB / 478.4 MB, free: 5.551 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.1114, allocations: 8 kB / 478.4 MB, free: 5.543 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.676e-05/0.1114, allocations: 12 kB / 478.4 MB, free: 5.531 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.1114, allocations: 4 kB / 478.4 MB, free: 5.527 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001283/0.1116, allocations: 35.91 kB / 478.5 MB, free: 5.492 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.317e-06/0.1116, allocations: 4.438 kB / 478.5 MB, free: 5.488 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001372/0.1117, allocations: 43.58 kB / 478.5 MB, free: 5.445 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.76e-05/0.1118, allocations: 8 kB / 478.5 MB, free: 5.438 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.0001009/0.1119, allocations: 129.8 kB / 478.6 MB, free: 5.301 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.048e-05/0.1119, allocations: 23.73 kB / 478.7 MB, free: 5.277 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000382/0.1123, allocations: 138.8 kB / 478.8 MB, free: 5.137 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.1123, allocations: 3.938 kB / 478.8 MB, free: 5.133 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.1123, allocations: 0 / 478.8 MB, free: 5.133 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.1123, allocations: 0 / 478.8 MB, free: 5.133 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002352/0.1126, allocations: 229.4 kB / 479 MB, free: 4.859 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.925e-05/0.1126, allocations: 12 kB / 479 MB, free: 4.848 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.453e-05/0.1127, allocations: 7.984 kB / 479 MB, free: 4.84 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.1127, allocations: 4 kB / 479.1 MB, free: 4.836 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.317e-06/0.1127, allocations: 4 kB / 479.1 MB, free: 4.832 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.896e-06/0.1127, allocations: 0 / 479.1 MB, free: 4.832 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1127, allocations: 3.938 kB / 479.1 MB, free: 4.828 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000311/0.113, allocations: 203.2 kB / 479.3 MB, free: 4.613 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.41e-05/0.1131, allocations: 96.83 kB / 479.4 MB, free: 4.5 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.897e-05/0.1131, allocations: 0 / 479.4 MB, free: 4.5 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001079/0.1133, allocations: 11.98 kB / 479.4 MB, free: 4.488 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.635e-05/0.1133, allocations: 4 kB / 479.4 MB, free: 4.484 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.596e-06/0.1133, allocations: 4 kB / 479.4 MB, free: 4.48 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001563/0.1135, allocations: 182 kB / 479.5 MB, free: 4.301 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1135, allocations: 0 / 479.5 MB, free: 4.301 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004057/0.1139, allocations: 71.94 kB / 479.6 MB, free: 4.23 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.0003322/0.1143, allocations: 179 kB / 479.8 MB, free: 4.047 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004469/0.1147, allocations: 163.4 kB / 480 MB, free: 3.875 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.1147, allocations: 0 / 480 MB, free: 3.875 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002133/0.1149, allocations: 100.1 kB / 480.1 MB, free: 3.766 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003683/0.1153, allocations: 32.8 kB / 480.1 MB, free: 3.734 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006946/0.116, allocations: 393.9 kB / 480.5 MB, free: 3.316 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000287/0.1163, allocations: 0.732 MB / 481.2 MB, free: 2.559 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.022e-05/0.1164, allocations: 15.44 kB / 481.2 MB, free: 2.547 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1164, allocations: 0 / 481.2 MB, free: 2.547 MB / 350.1 MB Notification: Performance of Templates: time 0.00657/0.1229, allocations: 4.403 MB / 485.6 MB, free: 14.16 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