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.001197/0.001197, allocations: 111.9 kB / 17.86 MB, free: 5.504 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.001155/0.001156, allocations: 201.9 kB / 18.78 MB, free: 4.586 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.381/1.381, allocations: 222.9 MB / 242.5 MB, free: 13.77 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.2269/0.2269, allocations: 44.17 MB / 336.8 MB, free: 2.785 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001257, allocations: 64.33 kB / 408.4 MB, free: 27.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1121/0.1133, allocations: 60.82 MB / 469.2 MB, free: 14.81 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube): time 0.004602/0.118, allocations: 2.171 MB / 471.4 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002643/0.1207, allocations: 1.387 MB / 472.8 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001747/0.1209, allocations: 0 / 472.8 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003696/0.1212, allocations: 83.56 kB / 472.8 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002282/0.1215, allocations: 63.47 kB / 472.9 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006626/0.1222, allocations: 166.4 kB / 473.1 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002749/0.1225, allocations: 170.9 kB / 473.2 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.647e-05/0.1225, allocations: 12.31 kB / 473.2 MB, free: 10.74 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000152/0.1227, allocations: 63.59 kB / 473.3 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.82e-05/0.1228, allocations: 51.66 kB / 473.4 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.723e-05/0.1228, allocations: 4 kB / 473.4 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006835/0.1235, allocations: 431.3 kB / 473.8 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.34e-05/0.1236, allocations: 19.86 kB / 473.8 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001005/0.1237, allocations: 75.42 kB / 473.9 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004121/0.1241, allocations: 287 kB / 474.2 MB, free: 9.828 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.1241, allocations: 0 / 474.2 MB, free: 9.828 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1241, allocations: 0 / 474.2 MB, free: 9.828 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.326e-06/0.1241, allocations: 0 / 474.2 MB, free: 9.828 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.0008866/0.125, allocations: 0.4985 MB / 474.6 MB, free: 9.281 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.894e-05/0.1251, allocations: 8.031 kB / 474.7 MB, free: 9.273 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.627e-05/0.1252, allocations: 20.75 kB / 474.7 MB, free: 9.254 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002295/0.1254, allocations: 209.8 kB / 474.9 MB, free: 9.012 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.916e-05/0.1254, allocations: 16.38 kB / 474.9 MB, free: 8.996 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.228e-05/0.1255, allocations: 24.12 kB / 474.9 MB, free: 8.973 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003943/0.1259, allocations: 202.5 kB / 475.1 MB, free: 8.766 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.333e-05/0.1259, allocations: 3.938 kB / 475.1 MB, free: 8.762 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.825e-05/0.1259, allocations: 12 kB / 475.1 MB, free: 8.75 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.386e-06/0.1259, allocations: 4 kB / 475.1 MB, free: 8.746 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002979/0.1262, allocations: 148.3 kB / 475.3 MB, free: 8.602 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008863/0.1271, allocations: 0.5752 MB / 475.9 MB, free: 7.977 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001929/0.1273, allocations: 62.55 kB / 475.9 MB, free: 7.906 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001064/0.1275, allocations: 28.95 kB / 475.9 MB, free: 7.875 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.962e-05/0.1275, allocations: 4 kB / 476 MB, free: 7.871 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.901e-05/0.1276, allocations: 38.55 kB / 476 MB, free: 7.824 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 3.126e-06/0.1276, allocations: 0 / 476 MB, free: 7.824 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.000455/0.1281, allocations: 129.3 kB / 476.1 MB, free: 7.691 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.737e-05/0.1281, allocations: 55.41 kB / 476.2 MB, free: 7.625 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002888/0.1284, allocations: 262.6 kB / 476.4 MB, free: 7.363 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.688e-05/0.1284, allocations: 25.7 kB / 476.5 MB, free: 7.332 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001104/0.1285, allocations: 167.7 kB / 476.6 MB, free: 7.164 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.156e-05/0.1286, allocations: 19.73 kB / 476.6 MB, free: 7.145 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.036e-05/0.1287, allocations: 41.61 kB / 476.7 MB, free: 7.098 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001374/0.1288, allocations: 342.7 kB / 477 MB, free: 6.754 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001344/0.1289, allocations: 35.97 kB / 477 MB, free: 6.719 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001864/0.1291, allocations: 132.8 kB / 477.2 MB, free: 6.543 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003222/0.1295, allocations: 180.6 kB / 477.4 MB, free: 6.32 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/0.1295, allocations: 0 / 477.4 MB, free: 6.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004079/0.1299, allocations: 197.3 kB / 477.5 MB, free: 6.121 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.1299, allocations: 4 kB / 477.5 MB, free: 6.117 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.03e-05/0.13, allocations: 20 kB / 477.6 MB, free: 6.098 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.137e-05/0.13, allocations: 7.984 kB / 477.6 MB, free: 6.09 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001295/0.1301, allocations: 35.86 kB / 477.6 MB, free: 6.055 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/0.1301, allocations: 4.438 kB / 477.6 MB, free: 6.051 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001319/0.1303, allocations: 39.58 kB / 477.7 MB, free: 6.012 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.828e-05/0.1303, allocations: 12 kB / 477.7 MB, free: 6 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.0001184/0.1304, allocations: 133.7 kB / 477.8 MB, free: 5.859 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.991e-05/0.1305, allocations: 15.81 kB / 477.8 MB, free: 5.844 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000393/0.1309, allocations: 142.7 kB / 477.9 MB, free: 5.699 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.1309, allocations: 0 / 477.9 MB, free: 5.699 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.1309, allocations: 0 / 477.9 MB, free: 5.699 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.1309, allocations: 4 kB / 478 MB, free: 5.695 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002441/0.1311, allocations: 221.5 kB / 478.2 MB, free: 5.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.768e-05/0.1312, allocations: 12 kB / 478.2 MB, free: 5.418 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.386e-05/0.1312, allocations: 7.984 kB / 478.2 MB, free: 5.41 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.1312, allocations: 0 / 478.2 MB, free: 5.41 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.979e-06/0.1313, allocations: 4 kB / 478.2 MB, free: 5.406 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.1313, allocations: 4 kB / 478.2 MB, free: 5.402 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.1313, allocations: 0 / 478.2 MB, free: 5.402 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003181/0.1316, allocations: 207.2 kB / 478.4 MB, free: 5.184 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.886e-05/0.1317, allocations: 92.83 kB / 478.5 MB, free: 5.074 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.01e-05/0.1317, allocations: 0 / 478.5 MB, free: 5.074 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001043/0.1318, allocations: 11.98 kB / 478.5 MB, free: 5.062 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.319e-05/0.1319, allocations: 4.188 kB / 478.5 MB, free: 5.059 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.967e-06/0.1319, allocations: 4 kB / 478.5 MB, free: 5.055 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001623/0.132, allocations: 185.9 kB / 478.7 MB, free: 4.871 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.132, allocations: 0 / 478.7 MB, free: 4.871 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003903/0.1324, allocations: 75.94 kB / 478.8 MB, free: 4.797 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.0003269/0.1328, allocations: 167.6 kB / 478.9 MB, free: 4.625 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004439/0.1332, allocations: 171.6 kB / 479.1 MB, free: 4.445 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.1333, allocations: 0 / 479.1 MB, free: 4.445 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002056/0.1335, allocations: 99.81 kB / 479.2 MB, free: 4.336 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003706/0.1338, allocations: 28.81 kB / 479.2 MB, free: 4.309 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007035/0.1346, allocations: 436.8 kB / 479.6 MB, free: 3.848 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003633/0.1349, allocations: 0.7323 MB / 480.4 MB, free: 3.09 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.253e-05/0.135, allocations: 15.44 kB / 480.4 MB, free: 3.078 MB / 350.1 MB Notification: Performance of SimCode: time 2e-07/0.135, allocations: 0 / 480.4 MB, free: 3.078 MB / 350.1 MB Notification: Performance of Templates: time 0.007212/0.1422, allocations: 4.404 MB / 484.8 MB, free: 14.69 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