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_roundTube_KC.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_roundTube_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Nu|m_flow.1.|m_flow.2.|m_flow.3.|m_flow.4.|kc_1|kc_4|Re_1|Re_4|input_Nu.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Nu|m_flow.1.|m_flow.2.|m_flow.3.|m_flow.4.|kc_1|kc_4|Re_1|Re_4|input_Nu.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001588/0.001588, allocations: 101.5 kB / 17.85 MB, free: 5.66 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.001861/0.001861, allocations: 194 kB / 18.77 MB, free: 4.742 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.349/1.349, allocations: 222.9 MB / 242.4 MB, free: 15.5 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.2617/0.2617, allocations: 44.18 MB / 336.8 MB, free: 3.027 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001382/0.001382, allocations: 64.36 kB / 408.4 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1084/0.1098, allocations: 60.82 MB / 469.2 MB, free: 14.85 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC): time 0.004367/0.1143, allocations: 2.713 MB / 471.9 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00291/0.1172, allocations: 1.519 MB / 473.4 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002605/0.1175, allocations: 4 kB / 473.4 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000454/0.118, allocations: 99.41 kB / 473.5 MB, free: 10.49 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005406/0.1186, allocations: 115.1 kB / 473.6 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005996/0.1192, allocations: 195.4 kB / 473.8 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003852/0.1196, allocations: 282.1 kB / 474.1 MB, free: 9.906 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.94e-05/0.1197, allocations: 28.72 kB / 474.1 MB, free: 9.875 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001408/0.1198, allocations: 95.36 kB / 474.2 MB, free: 9.781 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001974/0.12, allocations: 123.2 kB / 474.4 MB, free: 9.66 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.527e-05/0.1201, allocations: 11.98 kB / 474.4 MB, free: 9.648 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001066/0.1211, allocations: 0.5812 MB / 474.9 MB, free: 9.066 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.106e-05/0.1212, allocations: 43.66 kB / 475 MB, free: 9.023 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001637/0.1214, allocations: 135 kB / 475.1 MB, free: 8.891 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005297/0.1219, allocations: 350.9 kB / 475.5 MB, free: 8.547 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.1219, allocations: 4 kB / 475.5 MB, free: 8.543 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.153e-06/0.122, allocations: 0 / 475.5 MB, free: 8.543 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.533e-05/0.122, allocations: 0 / 475.5 MB, free: 8.543 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.0009955/0.123, allocations: 0.6162 MB / 476.1 MB, free: 7.879 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.073e-05/0.123, allocations: 15.97 kB / 476.1 MB, free: 7.863 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.306e-05/0.1231, allocations: 40.47 kB / 476.1 MB, free: 7.824 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003357/0.1235, allocations: 255.5 kB / 476.4 MB, free: 7.535 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.44e-05/0.1235, allocations: 33.38 kB / 476.4 MB, free: 7.504 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.279e-05/0.1236, allocations: 32.12 kB / 476.5 MB, free: 7.473 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007697/0.1244, allocations: 0.5765 MB / 477 MB, free: 6.762 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.884e-05/0.1244, allocations: 7.938 kB / 477 MB, free: 6.754 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.79e-05/0.1244, allocations: 20 kB / 477.1 MB, free: 6.734 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.33e-05/0.1245, allocations: 12 kB / 477.1 MB, free: 6.723 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005748/0.125, allocations: 329 kB / 477.4 MB, free: 6.402 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002816/0.1279, allocations: 4.047 MB / 481.4 MB, free: 2.152 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002967/0.1282, allocations: 98.47 kB / 481.5 MB, free: 2.047 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001381/0.1283, allocations: 36.95 kB / 481.6 MB, free: 2.008 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.959e-05/0.1284, allocations: 4 kB / 481.6 MB, free: 2.004 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.284e-05/0.1284, allocations: 34.55 kB / 481.6 MB, free: 1.961 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.834e-06/0.1284, allocations: 4 kB / 481.6 MB, free: 1.957 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005705/0.129, allocations: 165.2 kB / 481.8 MB, free: 1.789 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.676e-05/0.129, allocations: 55.41 kB / 481.8 MB, free: 1.723 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004263/0.1295, allocations: 413.6 kB / 482.2 MB, free: 1.312 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.68e-05/0.1295, allocations: 29.7 kB / 482.3 MB, free: 1.277 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001621/0.1297, allocations: 250.9 kB / 482.5 MB, free: 1.027 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.758e-05/0.1297, allocations: 31.66 kB / 482.5 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001009/0.1298, allocations: 73.92 kB / 482.6 MB, free: 0.918 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001378/0.13, allocations: 350.7 kB / 482.9 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001679/0.1301, allocations: 52.61 kB / 483 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003008/0.1304, allocations: 262.4 kB / 483.3 MB, free: 160 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005166/0.131, allocations: 355.8 kB / 483.6 MB, free: 15.71 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.312e-06/0.131, allocations: 4 kB / 483.6 MB, free: 15.7 MB / 366.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006699/0.1317, allocations: 349.2 kB / 483.9 MB, free: 15.36 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/0.1317, allocations: 8 kB / 484 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.115e-05/0.1317, allocations: 4 kB / 484 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.164e-05/0.1317, allocations: 12 kB / 484 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000519/0.1323, allocations: 115.8 kB / 484.1 MB, free: 15.22 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007168/0.133, allocations: 1.211 MB / 485.3 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003188/0.1333, allocations: 67.27 kB / 485.4 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.588e-05/0.1334, allocations: 23.94 kB / 485.4 MB, free: 13.87 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 5 (m_flow_IN_con_4.N,m_flow_IN_con_4.geometry,m_flow_IN_con_1.geometry,m_flow_IN_con_3.geometry,m_flow_IN_con_2.geometry) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001564/0.1335, allocations: 149.7 kB / 485.5 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.946e-05/0.1336, allocations: 39.47 kB / 485.6 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004611/0.1341, allocations: 165 kB / 485.7 MB, free: 13.51 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.556e-06/0.1341, allocations: 4 kB / 485.7 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.1341, allocations: 0 / 485.7 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.363e-06/0.1341, allocations: 7.984 kB / 485.7 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003338/0.1344, allocations: 277.4 kB / 486 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.1345, allocations: 3.938 kB / 486 MB, free: 13.17 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003153/0.1348, allocations: 59.97 kB / 486.1 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.057e-06/0.1348, allocations: 0 / 486.1 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.163e-05/0.1348, allocations: 3.938 kB / 486.1 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006957/0.1355, allocations: 1.219 MB / 487.3 MB, free: 11.84 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.1355, allocations: 4.031 kB / 487.3 MB, free: 11.84 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003897/0.1359, allocations: 227 kB / 487.5 MB, free: 11.6 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.787e-05/0.136, allocations: 104.6 kB / 487.6 MB, free: 11.48 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.582e-05/0.1361, allocations: 8.031 kB / 487.6 MB, free: 11.47 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001875/0.1363, allocations: 11.98 kB / 487.6 MB, free: 11.46 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.108e-05/0.1363, allocations: 7.984 kB / 487.7 MB, free: 11.45 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.189e-05/0.1364, allocations: 4 kB / 487.7 MB, free: 11.45 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002799/0.1366, allocations: 275.1 kB / 487.9 MB, free: 11.18 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.1366, allocations: 0 / 487.9 MB, free: 11.18 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005112/0.1372, allocations: 104 kB / 488 MB, free: 11.08 MB / 366.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 (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003983/0.1376, allocations: 177.5 kB / 488.2 MB, free: 10.89 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006014/0.1382, allocations: 200.6 kB / 488.4 MB, free: 10.7 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.1382, allocations: 0 / 488.4 MB, free: 10.7 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000303/0.1385, allocations: 81.45 kB / 488.5 MB, free: 10.62 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004853/0.139, allocations: 42.2 kB / 488.5 MB, free: 10.58 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009605/0.14, allocations: 0.6252 MB / 489.1 MB, free: 9.934 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003587/0.1404, allocations: 0.7719 MB / 489.9 MB, free: 9.137 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.277e-05/0.1404, allocations: 23.44 kB / 489.9 MB, free: 9.113 MB / 366.1 MB Notification: Performance of SimCode: time 8.01e-07/0.1405, allocations: 0 / 489.9 MB, free: 9.113 MB / 366.1 MB Notification: Performance of Templates: time 0.009682/0.1501, allocations: 6.607 MB / 496.5 MB, free: 2.516 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HeatExchanger/kc_roundTube_KC/kc_roundTube_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches