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.0007701/0.0007701, allocations: 93.38 kB / 18.01 MB, free: 5.738 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.0008066/0.0008067, allocations: 176.8 kB / 18.91 MB, free: 4.871 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.277/1.277, allocations: 223.3 MB / 242.9 MB, free: 220 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.227/0.227, allocations: 44.25 MB / 338.3 MB, free: 2.754 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000345/0.0003449, allocations: 8.938 kB / 411 MB, free: 27.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1077/0.1081, allocations: 61.92 MB / 472.9 MB, free: 13.35 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC): time 0.002954/0.1111, allocations: 2.346 MB / 475.3 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002611/0.1137, allocations: 1.512 MB / 476.8 MB, free: 9.465 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002232/0.114, allocations: 0 / 476.8 MB, free: 9.465 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00039/0.1144, allocations: 99.39 kB / 476.9 MB, free: 9.367 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004395/0.1149, allocations: 111.1 kB / 477 MB, free: 9.258 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005587/0.1154, allocations: 203.3 kB / 477.2 MB, free: 9.059 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000375/0.1158, allocations: 278.2 kB / 477.5 MB, free: 8.785 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.848e-05/0.1159, allocations: 24.73 kB / 477.5 MB, free: 8.758 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001372/0.116, allocations: 95.34 kB / 477.6 MB, free: 8.664 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002054/0.1163, allocations: 131.2 kB / 477.7 MB, free: 8.535 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.245e-05/0.1163, allocations: 11.98 kB / 477.7 MB, free: 8.523 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009339/0.1172, allocations: 0.5734 MB / 478.3 MB, free: 7.949 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.782e-05/0.1173, allocations: 43.66 kB / 478.3 MB, free: 7.906 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001488/0.1175, allocations: 160.7 kB / 478.5 MB, free: 7.742 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004461/0.1179, allocations: 350.8 kB / 478.8 MB, free: 7.398 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.118, allocations: 0 / 478.8 MB, free: 7.398 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.118, allocations: 4 kB / 478.8 MB, free: 7.395 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.317e-06/0.118, allocations: 0 / 478.8 MB, free: 7.395 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.0007296/0.1187, allocations: 0.5656 MB / 479.4 MB, free: 6.781 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/0.1188, allocations: 12.03 kB / 479.4 MB, free: 6.77 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.126e-05/0.1188, allocations: 48.34 kB / 479.5 MB, free: 6.723 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002696/0.1191, allocations: 243.7 kB / 479.7 MB, free: 6.445 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.431e-05/0.1192, allocations: 29.38 kB / 479.7 MB, free: 6.418 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.229e-05/0.1192, allocations: 40.12 kB / 479.8 MB, free: 6.379 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007161/0.1199, allocations: 0.5804 MB / 480.4 MB, free: 5.664 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.449e-05/0.12, allocations: 3.938 kB / 480.4 MB, free: 5.66 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.473e-05/0.12, allocations: 20 kB / 480.4 MB, free: 5.641 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.525e-05/0.12, allocations: 12 kB / 480.4 MB, free: 5.629 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005926/0.1206, allocations: 345 kB / 480.7 MB, free: 5.293 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002469/0.1231, allocations: 4.043 MB / 484.8 MB, free: 1.047 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002596/0.1234, allocations: 98.47 kB / 484.9 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001295/0.1235, allocations: 44.97 kB / 484.9 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.666e-05/0.1235, allocations: 0 / 484.9 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.585e-05/0.1236, allocations: 34.55 kB / 484.9 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.103e-06/0.1236, allocations: 4 kB / 484.9 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005444/0.1241, allocations: 181.1 kB / 485.1 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.378e-05/0.1242, allocations: 59.34 kB / 485.2 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004034/0.1246, allocations: 409.8 kB / 485.6 MB, free: 192 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.727e-05/0.1246, allocations: 33.64 kB / 485.6 MB, free: 152 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001847/0.1248, allocations: 247.1 kB / 485.9 MB, free: 15.9 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.648e-05/0.1249, allocations: 31.64 kB / 485.9 MB, free: 15.87 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.728e-05/0.1249, allocations: 33.7 kB / 485.9 MB, free: 15.83 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000132/0.125, allocations: 346.7 kB / 486.3 MB, free: 15.48 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001741/0.1252, allocations: 68.61 kB / 486.3 MB, free: 15.41 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003002/0.1255, allocations: 262.4 kB / 486.6 MB, free: 15.05 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005065/0.1261, allocations: 372.2 kB / 486.9 MB, free: 14.59 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/0.1261, allocations: 0 / 486.9 MB, free: 14.59 MB / 366.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006639/0.1267, allocations: 364.8 kB / 487.3 MB, free: 14.22 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.207e-05/0.1268, allocations: 8 kB / 487.3 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.245e-05/0.1268, allocations: 8 kB / 487.3 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.208e-05/0.1268, allocations: 12 kB / 487.3 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004779/0.1273, allocations: 112.5 kB / 487.4 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007602/0.1281, allocations: 1.219 MB / 488.7 MB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003155/0.1284, allocations: 71.27 kB / 488.7 MB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.888e-05/0.1284, allocations: 20.19 kB / 488.7 MB, free: 12.73 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.000164/0.1286, allocations: 153.6 kB / 488.9 MB, free: 12.57 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.018e-05/0.1287, allocations: 39.47 kB / 488.9 MB, free: 12.53 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004732/0.1292, allocations: 180.9 kB / 489.1 MB, free: 12.35 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.009e-06/0.1292, allocations: 4 kB / 489.1 MB, free: 12.34 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.1292, allocations: 4 kB / 489.1 MB, free: 12.34 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.1292, allocations: 0 / 489.1 MB, free: 12.34 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003265/0.1295, allocations: 277.5 kB / 489.4 MB, free: 12.02 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.1295, allocations: 7.938 kB / 489.4 MB, free: 12.01 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002752/0.1298, allocations: 55.97 kB / 489.5 MB, free: 11.96 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.1298, allocations: 0 / 489.5 MB, free: 11.96 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.707e-05/0.1299, allocations: 11.98 kB / 489.5 MB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006527/0.1305, allocations: 1.203 MB / 490.7 MB, free: 10.7 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.1305, allocations: 0 / 490.7 MB, free: 10.7 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003712/0.1309, allocations: 247.2 kB / 490.9 MB, free: 10.44 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.471e-05/0.131, allocations: 108.6 kB / 491 MB, free: 10.31 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.42e-05/0.1311, allocations: 3.938 kB / 491 MB, free: 10.31 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001729/0.1312, allocations: 15.98 kB / 491 MB, free: 10.29 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.007e-05/0.1313, allocations: 7.984 kB / 491 MB, free: 10.29 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.594e-06/0.1313, allocations: 0 / 491 MB, free: 10.29 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002605/0.1316, allocations: 275.2 kB / 491.3 MB, free: 10.02 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.553e-06/0.1316, allocations: 0 / 491.3 MB, free: 10.02 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005101/0.1321, allocations: 115.9 kB / 491.4 MB, free: 9.902 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.0003752/0.1325, allocations: 167.7 kB / 491.6 MB, free: 9.727 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005923/0.1331, allocations: 221.5 kB / 491.8 MB, free: 9.512 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.1331, allocations: 0 / 491.8 MB, free: 9.512 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002894/0.1334, allocations: 79.95 kB / 491.9 MB, free: 9.434 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004203/0.1338, allocations: 41.89 kB / 491.9 MB, free: 9.395 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009492/0.1348, allocations: 0.6408 MB / 492.6 MB, free: 8.723 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003299/0.1351, allocations: 0.768 MB / 493.3 MB, free: 7.93 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.91e-05/0.1352, allocations: 27.44 kB / 493.4 MB, free: 7.902 MB / 366.1 MB Notification: Performance of SimCode: time 6.71e-07/0.1352, allocations: 4 kB / 493.4 MB, free: 7.898 MB / 366.1 MB Notification: Performance of Templates: time 0.009604/0.1448, allocations: 6.586 MB / 500 MB, free: 1.332 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