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.001465/0.001465, allocations: 100.6 kB / 16.94 MB, free: 6.184 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.00167/0.00167, allocations: 191.4 kB / 17.86 MB, free: 5.289 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.318/1.318, allocations: 205.1 MB / 223.7 MB, free: 12.31 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.2063/0.2063, allocations: 43.52 MB / 314.6 MB, free: 0.5156 MB / 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.001693/0.001693, allocations: 74.22 kB / 383.4 MB, free: 56.76 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08864/0.09035, allocations: 57.79 MB / 441.2 MB, free: 6.863 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube): time 0.002705/0.0931, allocations: 2.101 MB / 443.3 MB, free: 4.738 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001487/0.09461, allocations: 1.41 MB / 444.7 MB, free: 3.32 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.993e-05/0.09471, allocations: 4 kB / 444.7 MB, free: 3.316 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002606/0.09498, allocations: 87.44 kB / 444.8 MB, free: 3.23 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001468/0.09515, allocations: 63.41 kB / 444.9 MB, free: 3.168 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004429/0.09561, allocations: 215 kB / 445.1 MB, free: 2.957 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001179/0.09573, allocations: 143 kB / 445.2 MB, free: 2.816 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.902e-05/0.09579, allocations: 16.31 kB / 445.2 MB, free: 2.801 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.828e-05/0.09589, allocations: 63.53 kB / 445.3 MB, free: 2.738 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.331e-05/0.09598, allocations: 67.53 kB / 445.4 MB, free: 2.672 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.53e-05/0.096, allocations: 4 kB / 445.4 MB, free: 2.668 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004676/0.09647, allocations: 423.3 kB / 445.8 MB, free: 2.254 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.357e-05/0.09652, allocations: 23.86 kB / 445.8 MB, free: 2.23 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.471e-05/0.09658, allocations: 71.48 kB / 445.9 MB, free: 2.16 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003965/0.09699, allocations: 430.5 kB / 446.3 MB, free: 1.738 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.097, allocations: 0 / 446.3 MB, free: 1.738 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.09701, allocations: 0 / 446.3 MB, free: 1.738 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5e-06/0.09702, allocations: 0 / 446.3 MB, free: 1.738 MB / 318.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.0004917/0.09751, allocations: 0.4985 MB / 446.8 MB, free: 1.191 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.075e-05/0.09755, allocations: 11.89 kB / 446.8 MB, free: 1.18 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.559e-05/0.0976, allocations: 28.66 kB / 446.8 MB, free: 1.152 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001378/0.09775, allocations: 211.9 kB / 447 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.283e-05/0.09777, allocations: 16.38 kB / 447.1 MB, free: 0.8906 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.884e-05/0.09779, allocations: 24.11 kB / 447.1 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002965/0.09809, allocations: 206.7 kB / 447.3 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.878e-06/0.09811, allocations: 0 / 447.3 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.434e-05/0.09813, allocations: 8 kB / 447.3 MB, free: 0.6484 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.09814, allocations: 4 kB / 447.3 MB, free: 0.6445 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002407/0.09839, allocations: 148.2 kB / 447.4 MB, free: 0.5 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006792/0.09908, allocations: 0.5753 MB / 448 MB, free: 15.88 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001825/0.09927, allocations: 62.48 kB / 448.1 MB, free: 15.8 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000104/0.09939, allocations: 28.95 kB / 448.1 MB, free: 15.77 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.683e-05/0.09942, allocations: 0 / 448.1 MB, free: 15.77 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.557e-05/0.09945, allocations: 42.55 kB / 448.2 MB, free: 15.72 MB / 334.1 MB Notification: Performance of pre-optimization done (n=5): time 9.42e-07/0.09946, allocations: 0 / 448.2 MB, free: 15.72 MB / 334.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004361/0.0999, allocations: 129.4 kB / 448.3 MB, free: 15.59 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.336e-05/0.09994, allocations: 55.34 kB / 448.3 MB, free: 15.52 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002269/0.1002, allocations: 258.6 kB / 448.6 MB, free: 15.26 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.505e-05/0.1002, allocations: 29.7 kB / 448.6 MB, free: 15.22 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.441e-05/0.1003, allocations: 167.7 kB / 448.8 MB, free: 15.05 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.923e-05/0.1003, allocations: 19.66 kB / 448.8 MB, free: 15.04 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.885e-05/0.1004, allocations: 37.7 kB / 448.8 MB, free: 14.99 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001177/0.1005, allocations: 338.8 kB / 449.2 MB, free: 14.65 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001196/0.1006, allocations: 35.97 kB / 449.2 MB, free: 14.62 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001763/0.1008, allocations: 126.1 kB / 449.3 MB, free: 14.45 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002956/0.1011, allocations: 184.6 kB / 449.5 MB, free: 14.22 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.1011, allocations: 3.938 kB / 449.5 MB, free: 14.22 MB / 334.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003905/0.1015, allocations: 205 kB / 449.7 MB, free: 14.01 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.1016, allocations: 4.625 kB / 449.7 MB, free: 14.01 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.58e-05/0.1016, allocations: 15.94 kB / 449.7 MB, free: 13.99 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/0.1016, allocations: 7.938 kB / 449.7 MB, free: 13.98 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001248/0.1018, allocations: 32.41 kB / 449.8 MB, free: 13.95 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.039e-05/0.1018, allocations: 15.92 kB / 449.8 MB, free: 13.94 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001223/0.1019, allocations: 35.67 kB / 449.8 MB, free: 13.9 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.65e-05/0.1019, allocations: 8 kB / 449.8 MB, free: 13.89 MB / 334.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.0001046/0.102, allocations: 137.6 kB / 450 MB, free: 13.75 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.974e-05/0.1021, allocations: 23.72 kB / 450 MB, free: 13.73 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003573/0.1024, allocations: 135.1 kB / 450.1 MB, free: 13.59 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.1025, allocations: 0 / 450.1 MB, free: 13.59 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.1025, allocations: 4 kB / 450.1 MB, free: 13.59 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.1025, allocations: 0 / 450.1 MB, free: 13.59 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002199/0.1027, allocations: 221.5 kB / 450.3 MB, free: 13.32 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.762e-05/0.1027, allocations: 12 kB / 450.3 MB, free: 13.31 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.204e-05/0.1028, allocations: 11.98 kB / 450.4 MB, free: 13.3 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.1028, allocations: 4 kB / 450.4 MB, free: 13.3 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.137e-06/0.1028, allocations: 0 / 450.4 MB, free: 13.3 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.1028, allocations: 0 / 450.4 MB, free: 13.3 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.1028, allocations: 0 / 450.4 MB, free: 13.3 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002959/0.1031, allocations: 215.1 kB / 450.6 MB, free: 13.07 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.112e-05/0.1032, allocations: 92.83 kB / 450.7 MB, free: 12.96 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.807e-05/0.1032, allocations: 4 kB / 450.7 MB, free: 12.96 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001019/0.1033, allocations: 7.984 kB / 450.7 MB, free: 12.95 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.035e-05/0.1034, allocations: 8 kB / 450.7 MB, free: 12.94 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.262e-06/0.1034, allocations: 0 / 450.7 MB, free: 12.94 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001451/0.1035, allocations: 182 kB / 450.9 MB, free: 12.77 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1035, allocations: 0 / 450.9 MB, free: 12.77 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003716/0.1039, allocations: 71.94 kB / 450.9 MB, free: 12.7 MB / 334.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.0002933/0.1042, allocations: 171.2 kB / 451.1 MB, free: 12.52 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004482/0.1047, allocations: 179.1 kB / 451.3 MB, free: 12.33 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.1047, allocations: 0 / 451.3 MB, free: 12.33 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001966/0.1049, allocations: 108.1 kB / 451.4 MB, free: 12.21 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003787/0.1053, allocations: 20.88 kB / 451.4 MB, free: 12.2 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006561/0.1059, allocations: 386 kB / 451.8 MB, free: 11.78 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002475/0.1062, allocations: 0.732 MB / 452.5 MB, free: 11.02 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.025e-05/0.1063, allocations: 19.44 kB / 452.5 MB, free: 11 MB / 334.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1063, allocations: 0 / 452.5 MB, free: 11 MB / 334.1 MB Notification: Performance of Templates: time 0.005942/0.1122, allocations: 4.417 MB / 456.9 MB, free: 6.605 MB / 334.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/jenkins1/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/jenkins1/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