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.001024/0.001024, allocations: 104 kB / 17.63 MB, free: 5.523 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.001009/0.001009, allocations: 192.1 kB / 18.56 MB, free: 4.605 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.334/1.334, allocations: 222.9 MB / 242.2 MB, free: 15.2 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.201/0.201, allocations: 44.18 MB / 336.6 MB, free: 2.754 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001296/0.001296, allocations: 64.55 kB / 408.4 MB, free: 27.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1093/0.1106, allocations: 60.83 MB / 469.3 MB, free: 14.34 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC): time 0.004061/0.1147, allocations: 2.656 MB / 471.9 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002086/0.1169, allocations: 1.429 MB / 473.4 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001373/0.117, allocations: 0 / 473.4 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003318/0.1174, allocations: 115.2 kB / 473.5 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000332/0.1177, allocations: 130.8 kB / 473.6 MB, free: 9.984 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004862/0.1182, allocations: 263.1 kB / 473.9 MB, free: 9.727 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002372/0.1185, allocations: 274.2 kB / 474.1 MB, free: 9.457 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.292e-05/0.1185, allocations: 28.67 kB / 474.2 MB, free: 9.426 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.463e-05/0.1186, allocations: 99.33 kB / 474.3 MB, free: 9.328 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001553/0.1188, allocations: 119.2 kB / 474.4 MB, free: 9.211 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.571e-05/0.1188, allocations: 8 kB / 474.4 MB, free: 9.203 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007966/0.1196, allocations: 0.5734 MB / 475 MB, free: 8.629 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.828e-05/0.1197, allocations: 51.58 kB / 475 MB, free: 8.578 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001116/0.1198, allocations: 135 kB / 475.1 MB, free: 8.445 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005606/0.1204, allocations: 0.5331 MB / 475.7 MB, free: 7.91 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.1204, allocations: 0 / 475.7 MB, free: 7.91 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1204, allocations: 0 / 475.7 MB, free: 7.91 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.354e-06/0.1204, allocations: 4 kB / 475.7 MB, free: 7.906 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.0007062/0.1211, allocations: 0.624 MB / 476.3 MB, free: 7.234 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.319e-05/0.1212, allocations: 8.031 kB / 476.3 MB, free: 7.227 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.707e-05/0.1213, allocations: 44.47 kB / 476.3 MB, free: 7.184 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002284/0.1215, allocations: 239.6 kB / 476.6 MB, free: 6.91 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.172e-05/0.1215, allocations: 33.38 kB / 476.6 MB, free: 6.879 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.546e-05/0.1216, allocations: 36.12 kB / 476.6 MB, free: 6.844 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006279/0.1222, allocations: 0.5775 MB / 477.2 MB, free: 6.137 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.581e-05/0.1222, allocations: 7.875 kB / 477.2 MB, free: 6.129 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.938e-05/0.1223, allocations: 20 kB / 477.3 MB, free: 6.109 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.211e-05/0.1223, allocations: 12 kB / 477.3 MB, free: 6.098 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000486/0.1228, allocations: 333 kB / 477.6 MB, free: 5.773 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002329/0.1251, allocations: 4.047 MB / 481.6 MB, free: 1.523 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002438/0.1254, allocations: 94.47 kB / 481.7 MB, free: 1.422 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001194/0.1255, allocations: 40.95 kB / 481.8 MB, free: 1.379 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.394e-05/0.1255, allocations: 7.922 kB / 481.8 MB, free: 1.371 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.317e-05/0.1255, allocations: 34.56 kB / 481.8 MB, free: 1.328 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.513e-06/0.1256, allocations: 0 / 481.8 MB, free: 1.328 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004824/0.126, allocations: 161.2 kB / 482 MB, free: 1.164 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.119e-05/0.1261, allocations: 51.41 kB / 482 MB, free: 1.102 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000353/0.1264, allocations: 413.7 kB / 482.4 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.815e-05/0.1265, allocations: 25.7 kB / 482.4 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001546/0.1266, allocations: 262.9 kB / 482.7 MB, free: 404 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.391e-05/0.1267, allocations: 27.64 kB / 482.7 MB, free: 376 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.455e-05/0.1268, allocations: 73.92 kB / 482.8 MB, free: 296 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001354/0.1269, allocations: 350.7 kB / 483.1 MB, free: 15.94 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00017/0.1271, allocations: 60.61 kB / 483.2 MB, free: 15.88 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000259/0.1273, allocations: 258.4 kB / 483.5 MB, free: 15.52 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004539/0.1278, allocations: 352.2 kB / 483.8 MB, free: 15.08 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.559e-06/0.1278, allocations: 4 kB / 483.8 MB, free: 15.07 MB / 366.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.000573/0.1284, allocations: 352.9 kB / 484.2 MB, free: 14.72 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.819e-05/0.1284, allocations: 8 kB / 484.2 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.858e-06/0.1284, allocations: 8 kB / 484.2 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.875e-05/0.1285, allocations: 8 kB / 484.2 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004685/0.1289, allocations: 103.9 kB / 484.3 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006636/0.1296, allocations: 1.223 MB / 485.5 MB, free: 13.33 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000269/0.1299, allocations: 67.27 kB / 485.6 MB, free: 13.26 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.361e-05/0.1299, allocations: 20 kB / 485.6 MB, free: 13.24 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.0001323/0.1301, allocations: 149.8 kB / 485.7 MB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.329e-05/0.1301, allocations: 43.47 kB / 485.8 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00042/0.1305, allocations: 172.9 kB / 485.9 MB, free: 12.87 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.1306, allocations: 4 kB / 485.9 MB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.1306, allocations: 0 / 485.9 MB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.1306, allocations: 0 / 485.9 MB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000284/0.1309, allocations: 273.5 kB / 486.2 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/0.1309, allocations: 7.938 kB / 486.2 MB, free: 12.54 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002689/0.1312, allocations: 55.91 kB / 486.3 MB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.1312, allocations: 0 / 486.3 MB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.635e-05/0.1312, allocations: 8 kB / 486.3 MB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006367/0.1318, allocations: 1.207 MB / 487.5 MB, free: 11.22 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.1318, allocations: 0 / 487.5 MB, free: 11.22 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003473/0.1322, allocations: 243.2 kB / 487.7 MB, free: 10.97 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.64e-05/0.1323, allocations: 112.6 kB / 487.8 MB, free: 10.84 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.475e-05/0.1323, allocations: 3.938 kB / 487.8 MB, free: 10.84 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001597/0.1325, allocations: 7.984 kB / 487.8 MB, free: 10.83 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.933e-05/0.1326, allocations: 8 kB / 487.9 MB, free: 10.82 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.719e-06/0.1326, allocations: 4 kB / 487.9 MB, free: 10.82 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002705/0.1329, allocations: 275.1 kB / 488.1 MB, free: 10.55 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1329, allocations: 0 / 488.1 MB, free: 10.55 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005309/0.1334, allocations: 108 kB / 488.2 MB, free: 10.45 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.0003723/0.1338, allocations: 175.1 kB / 488.4 MB, free: 10.26 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005893/0.1344, allocations: 213.4 kB / 488.6 MB, free: 10.05 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.1344, allocations: 0 / 488.6 MB, free: 10.05 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002706/0.1347, allocations: 80.08 kB / 488.7 MB, free: 9.977 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003966/0.1351, allocations: 46.09 kB / 488.7 MB, free: 9.938 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007933/0.1359, allocations: 0.5015 MB / 489.2 MB, free: 9.414 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000317/0.1362, allocations: 0.7717 MB / 490 MB, free: 8.613 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000115/0.1363, allocations: 34.91 kB / 490 MB, free: 8.578 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.758e-05/0.1364, allocations: 27.42 kB / 490.1 MB, free: 8.551 MB / 366.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1364, allocations: 0 / 490.1 MB, free: 8.551 MB / 366.1 MB Notification: Performance of Templates: time 0.01076/0.1471, allocations: 6.148 MB / 496.2 MB, free: 2.453 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/jenkins/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/jenkins/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