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.000805/0.0008049, allocations: 95.5 kB / 17 MB, free: 6.418 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.0008708/0.0008708, allocations: 189.4 kB / 17.89 MB, free: 5.945 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.333/1.333, allocations: 223.2 MB / 241.9 MB, free: 256 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2047/0.2047, allocations: 44.24 MB / 337.3 MB, free: 2.773 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003704/0.0003704, allocations: 8 kB / 409.7 MB, free: 27.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1128/0.1132, allocations: 61.92 MB / 471.6 MB, free: 13.69 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube): time 0.002237/0.1154, allocations: 1.762 MB / 473.4 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001638/0.1171, allocations: 1.259 MB / 474.6 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.674e-05/0.1172, allocations: 0 / 474.6 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002707/0.1175, allocations: 71.56 kB / 474.7 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001381/0.1176, allocations: 55.5 kB / 474.8 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004499/0.1181, allocations: 171.4 kB / 474.9 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000171/0.1182, allocations: 151 kB / 475.1 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.603e-05/0.1183, allocations: 16.3 kB / 475.1 MB, free: 10.19 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000133/0.1185, allocations: 55.67 kB / 475.1 MB, free: 10.13 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.703e-05/0.1186, allocations: 55.66 kB / 475.2 MB, free: 10.08 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.733e-05/0.1186, allocations: 4 kB / 475.2 MB, free: 10.07 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005791/0.1192, allocations: 407.4 kB / 475.6 MB, free: 9.676 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.667e-05/0.1192, allocations: 23.84 kB / 475.6 MB, free: 9.652 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.583e-05/0.1193, allocations: 53.58 kB / 475.7 MB, free: 9.594 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000341/0.1196, allocations: 271.1 kB / 475.9 MB, free: 9.328 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.112e-06/0.1196, allocations: 7.984 kB / 475.9 MB, free: 9.32 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.266e-06/0.1197, allocations: 0 / 475.9 MB, free: 9.32 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.938e-06/0.1197, allocations: 3.938 kB / 475.9 MB, free: 9.316 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.0006236/0.1203, allocations: 484.7 kB / 476.4 MB, free: 8.797 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/0.1203, allocations: 12.03 kB / 476.4 MB, free: 8.785 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.314e-05/0.1204, allocations: 15.81 kB / 476.5 MB, free: 8.77 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002055/0.1206, allocations: 210.7 kB / 476.7 MB, free: 8.523 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.845e-05/0.1206, allocations: 12 kB / 476.7 MB, free: 8.512 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.496e-05/0.1207, allocations: 20 kB / 476.7 MB, free: 8.492 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003754/0.121, allocations: 202.7 kB / 476.9 MB, free: 8.285 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.827e-06/0.1211, allocations: 0 / 476.9 MB, free: 8.285 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.689e-05/0.1211, allocations: 8 kB / 476.9 MB, free: 8.277 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.63e-05/0.1211, allocations: 8 kB / 476.9 MB, free: 8.27 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003093/0.1214, allocations: 156.2 kB / 477.1 MB, free: 8.117 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008677/0.1223, allocations: 0.5754 MB / 477.6 MB, free: 7.492 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000178/0.1225, allocations: 62.55 kB / 477.7 MB, free: 7.422 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001705/0.1227, allocations: 40.95 kB / 477.7 MB, free: 7.379 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.239e-05/0.1227, allocations: 7.938 kB / 477.7 MB, free: 7.371 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.209e-05/0.1227, allocations: 30.56 kB / 477.8 MB, free: 7.332 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.233e-06/0.1227, allocations: 0 / 477.8 MB, free: 7.332 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004262/0.1232, allocations: 157.2 kB / 477.9 MB, free: 7.172 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.186e-05/0.1232, allocations: 51.41 kB / 478 MB, free: 7.109 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000226/0.1235, allocations: 262.5 kB / 478.2 MB, free: 6.848 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.432e-05/0.1235, allocations: 25.7 kB / 478.3 MB, free: 6.816 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.444e-05/0.1236, allocations: 163.7 kB / 478.4 MB, free: 6.652 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.912e-05/0.1236, allocations: 19.75 kB / 478.4 MB, free: 6.633 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.193e-06/0.1236, allocations: 4 kB / 478.4 MB, free: 6.629 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001043/0.1237, allocations: 334.8 kB / 478.8 MB, free: 6.293 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001183/0.1239, allocations: 39.97 kB / 478.8 MB, free: 6.254 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002175/0.1241, allocations: 136.8 kB / 478.9 MB, free: 6.074 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001538/0.1242, allocations: 59.92 kB / 479 MB, free: 6.016 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.1243, allocations: 4 kB / 479 MB, free: 6.012 MB / 350.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003811/0.1246, allocations: 221.1 kB / 479.2 MB, free: 5.789 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.1247, allocations: 8 kB / 479.2 MB, free: 5.781 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.819e-05/0.1247, allocations: 12 kB / 479.2 MB, free: 5.77 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.814e-05/0.1247, allocations: 8 kB / 479.2 MB, free: 5.762 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001258/0.1249, allocations: 31.92 kB / 479.3 MB, free: 5.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.165e-05/0.1249, allocations: 11.97 kB / 479.3 MB, free: 5.719 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001221/0.125, allocations: 31.91 kB / 479.3 MB, free: 5.688 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.934e-05/0.125, allocations: 16 kB / 479.3 MB, free: 5.672 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001094/0.1252, allocations: 134.2 kB / 479.5 MB, free: 5.531 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.998e-05/0.1252, allocations: 23.67 kB / 479.5 MB, free: 5.508 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000381/0.1256, allocations: 150.8 kB / 479.6 MB, free: 5.355 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.267e-06/0.1256, allocations: 0 / 479.6 MB, free: 5.355 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.1256, allocations: 0 / 479.6 MB, free: 5.355 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.1256, allocations: 4 kB / 479.6 MB, free: 5.352 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002191/0.1258, allocations: 213.8 kB / 479.8 MB, free: 5.094 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.048e-05/0.1259, allocations: 12 kB / 479.9 MB, free: 5.082 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.048e-05/0.1259, allocations: 15.98 kB / 479.9 MB, free: 5.066 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.317e-06/0.1259, allocations: 3.953 kB / 479.9 MB, free: 5.062 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.019e-05/0.126, allocations: 4 kB / 479.9 MB, free: 5.059 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.173e-06/0.126, allocations: 0 / 479.9 MB, free: 5.059 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.126, allocations: 0 / 479.9 MB, free: 5.059 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002871/0.1263, allocations: 223.2 kB / 480.1 MB, free: 4.824 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.311e-05/0.1263, allocations: 96.81 kB / 480.2 MB, free: 4.711 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.926e-05/0.1264, allocations: 3.953 kB / 480.2 MB, free: 4.707 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.947e-05/0.1265, allocations: 8 kB / 480.2 MB, free: 4.699 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.499e-05/0.1265, allocations: 3.984 kB / 480.2 MB, free: 4.695 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.355e-06/0.1265, allocations: 4 kB / 480.2 MB, free: 4.691 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000141/0.1267, allocations: 186 kB / 480.4 MB, free: 4.508 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1267, allocations: 0 / 480.4 MB, free: 4.508 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003722/0.127, allocations: 75.94 kB / 480.5 MB, free: 4.434 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002703/0.1273, allocations: 164.1 kB / 480.6 MB, free: 4.266 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005062/0.1278, allocations: 180.1 kB / 480.8 MB, free: 4.078 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.1279, allocations: 3.938 kB / 480.8 MB, free: 4.074 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002976/0.1282, allocations: 107.3 kB / 480.9 MB, free: 3.957 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003322/0.1285, allocations: 24.75 kB / 480.9 MB, free: 3.934 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006515/0.1292, allocations: 417.3 kB / 481.3 MB, free: 3.496 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003276/0.1295, allocations: 0.7361 MB / 482.1 MB, free: 2.73 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.027e-05/0.1296, allocations: 17.55 kB / 482.1 MB, free: 2.715 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.591e-05/0.1296, allocations: 15.44 kB / 482.1 MB, free: 2.703 MB / 350.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1296, allocations: 7.875 kB / 482.1 MB, free: 2.695 MB / 350.1 MB Notification: Performance of Templates: time 0.007226/0.1368, allocations: 3.857 MB / 486 MB, free: 14.88 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/jenkins/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/jenkins/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