Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|h_2|l_2|s_2|t_2|Nu|m_flow.1.|m_flow.2.|kc_1|kc_2|Re_1|Re_2|input_Nu.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|h_2|l_2|s_2|t_2|Nu|m_flow.1.|m_flow.2.|kc_1|kc_2|Re_1|Re_2|input_Nu.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001166/0.001167, allocations: 114.8 kB / 18.42 MB, free: 4.684 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001145/0.001145, allocations: 212.5 kB / 19.37 MB, free: 3.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.325/1.325, allocations: 227.4 MB / 247.5 MB, free: 10.4 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2065/0.2065, allocations: 46.1 MB / 344.9 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002438/0.002439, allocations: 78.72 kB / 419 MB, free: 19.01 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1139/0.1164, allocations: 62.44 MB / 481.5 MB, free: 4.539 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC): time 0.003404/0.1198, allocations: 2.198 MB / 483.7 MB, free: 2.328 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001669/0.1215, allocations: 1.098 MB / 484.8 MB, free: 1.227 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000138/0.1217, allocations: 4 kB / 484.8 MB, free: 1.223 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003245/0.122, allocations: 91.33 kB / 484.9 MB, free: 1.133 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003253/0.1224, allocations: 91.3 kB / 485 MB, free: 1.043 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003082/0.1227, allocations: 119.5 kB / 485.1 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001936/0.1229, allocations: 174.9 kB / 485.2 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.871e-05/0.1229, allocations: 12.41 kB / 485.3 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001614/0.1231, allocations: 83.52 kB / 485.3 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001301/0.1233, allocations: 87.44 kB / 485.4 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.81e-05/0.1233, allocations: 4 kB / 485.4 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003651/0.1237, allocations: 267.6 kB / 485.7 MB, free: 316 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.905e-05/0.1237, allocations: 27.84 kB / 485.7 MB, free: 288 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.694e-05/0.1238, allocations: 79.42 kB / 485.8 MB, free: 208 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004001/0.1242, allocations: 338.6 kB / 486.1 MB, free: 15.87 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.1242, allocations: 0 / 486.1 MB, free: 15.87 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1242, allocations: 0 / 486.1 MB, free: 15.87 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.1242, allocations: 0 / 486.1 MB, free: 15.87 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0005571/0.1248, allocations: 0.4951 MB / 486.6 MB, free: 15.33 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.989e-05/0.1248, allocations: 8.031 kB / 486.6 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.275e-05/0.1249, allocations: 24.66 kB / 486.7 MB, free: 15.3 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001978/0.1251, allocations: 215.9 kB / 486.9 MB, free: 15.05 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.347e-05/0.1251, allocations: 16.81 kB / 486.9 MB, free: 15.03 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.571e-05/0.1252, allocations: 24.11 kB / 486.9 MB, free: 15.01 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003706/0.1255, allocations: 223.3 kB / 487.1 MB, free: 14.78 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.1256, allocations: 4 kB / 487.1 MB, free: 14.78 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.883e-05/0.1256, allocations: 12 kB / 487.1 MB, free: 14.77 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.1256, allocations: 4 kB / 487.1 MB, free: 14.76 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004001/0.126, allocations: 245.6 kB / 487.4 MB, free: 14.52 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000875/0.1269, allocations: 0.6234 MB / 488 MB, free: 13.85 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002452/0.1271, allocations: 102.7 kB / 488.1 MB, free: 13.74 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000117/0.1273, allocations: 40.89 kB / 488.1 MB, free: 13.7 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.38e-05/0.1273, allocations: 4 kB / 488.1 MB, free: 13.69 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.856e-05/0.1273, allocations: 34.56 kB / 488.2 MB, free: 13.65 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 2.565e-06/0.1273, allocations: 7.922 kB / 488.2 MB, free: 13.64 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004769/0.1278, allocations: 165.3 kB / 488.4 MB, free: 13.47 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.954e-05/0.1279, allocations: 55.34 kB / 488.4 MB, free: 13.41 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002304/0.1281, allocations: 274.8 kB / 488.7 MB, free: 13.13 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.674e-05/0.1281, allocations: 25.7 kB / 488.7 MB, free: 13.1 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.752e-05/0.1282, allocations: 167.4 kB / 488.9 MB, free: 12.93 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.793e-05/0.1283, allocations: 39.48 kB / 488.9 MB, free: 12.89 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.103e-05/0.1283, allocations: 41.7 kB / 488.9 MB, free: 12.85 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001132/0.1285, allocations: 346.8 kB / 489.3 MB, free: 12.5 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001497/0.1286, allocations: 47.95 kB / 489.3 MB, free: 12.45 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001835/0.1288, allocations: 140.8 kB / 489.5 MB, free: 12.27 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003614/0.1292, allocations: 212.5 kB / 489.7 MB, free: 12.02 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.1292, allocations: 0 / 489.7 MB, free: 12.02 MB / 366.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004588/0.1297, allocations: 241.3 kB / 489.9 MB, free: 11.77 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.1297, allocations: 11.94 kB / 489.9 MB, free: 11.76 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.1297, allocations: 4 kB / 489.9 MB, free: 11.76 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.1297, allocations: 4 kB / 489.9 MB, free: 11.75 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003772/0.1301, allocations: 79.91 kB / 490 MB, free: 11.68 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000675/0.1308, allocations: 1.227 MB / 491.2 MB, free: 10.4 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001897/0.131, allocations: 31.69 kB / 491.3 MB, free: 10.37 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.83e-05/0.131, allocations: 12 kB / 491.3 MB, free: 10.36 MB / 366.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 (25): * Single equations (assignments): 23 * 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.0001126/0.1311, allocations: 133.7 kB / 491.4 MB, free: 10.22 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.373e-05/0.1312, allocations: 23.66 kB / 491.4 MB, free: 10.2 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004148/0.1316, allocations: 175.3 kB / 491.6 MB, free: 10.02 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.1316, allocations: 0 / 491.6 MB, free: 10.02 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.848e-06/0.1316, allocations: 0 / 491.6 MB, free: 10.02 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.1316, allocations: 7.984 kB / 491.6 MB, free: 10.01 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005987/0.1323, allocations: 448 kB / 492 MB, free: 9.508 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.1323, allocations: 0 / 492 MB, free: 9.508 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002582/0.1325, allocations: 59.97 kB / 492.1 MB, free: 9.449 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/0.1325, allocations: 0 / 492.1 MB, free: 9.449 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.192e-05/0.1326, allocations: 4 kB / 492.1 MB, free: 9.445 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006298/0.1332, allocations: 1.215 MB / 493.3 MB, free: 8.184 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/0.1332, allocations: 4.031 kB / 493.3 MB, free: 8.18 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003445/0.1336, allocations: 253 kB / 493.6 MB, free: 7.91 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.749e-05/0.1336, allocations: 92.83 kB / 493.7 MB, free: 7.801 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.233e-05/0.1337, allocations: 7.984 kB / 493.7 MB, free: 7.793 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001489/0.1338, allocations: 4 kB / 493.7 MB, free: 7.789 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.021e-05/0.1339, allocations: 19.91 kB / 493.7 MB, free: 7.77 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.286e-05/0.1339, allocations: 4 kB / 493.7 MB, free: 7.766 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001502/0.1341, allocations: 190 kB / 493.9 MB, free: 7.578 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.1341, allocations: 0 / 493.9 MB, free: 7.578 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003742/0.1345, allocations: 67.94 kB / 494 MB, free: 7.512 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (9): * Single equations (assignments): 7 * 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.0002357/0.1347, allocations: 139.2 kB / 494.1 MB, free: 7.367 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005323/0.1352, allocations: 175.6 kB / 494.3 MB, free: 7.195 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1353, allocations: 0.875 kB / 494.3 MB, free: 7.195 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002803/0.1355, allocations: 88.02 kB / 494.3 MB, free: 7.109 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003432/0.1359, allocations: 29.02 kB / 494.4 MB, free: 7.078 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006836/0.1366, allocations: 395.2 kB / 494.8 MB, free: 6.66 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002312/0.1368, allocations: 0.7363 MB / 495.5 MB, free: 5.898 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.739e-05/0.1369, allocations: 13.95 kB / 495.5 MB, free: 5.887 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.305e-05/0.137, allocations: 23.44 kB / 495.5 MB, free: 5.863 MB / 366.1 MB Notification: Performance of SimCode: time 3.6e-07/0.137, allocations: 0 / 495.5 MB, free: 5.863 MB / 366.1 MB Notification: Performance of Templates: time 0.006937/0.1439, allocations: 3.531 MB / 499.1 MB, free: 2.379 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_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_flatTube_KC/kc_flatTube_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches