Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_cpp_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_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002302/0.002307, allocations: 187 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.083/2.083, allocations: 205.4 MB / 222.5 MB, free: 13.85 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001166/0.001165, allocations: 94.84 kB / 270.9 MB, free: 13.38 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2866/0.2866, allocations: 43.55 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004716/0.0004717, allocations: 19.98 kB / 431.4 MB, free: 20.25 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1185/0.119, allocations: 58.85 MB / 490.2 MB, free: 9.336 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC): time 0.003758/0.1229, allocations: 2.15 MB / 492.4 MB, free: 7.164 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.003139/0.1261, allocations: 1.35 MB / 493.7 MB, free: 5.809 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002854/0.1264, allocations: 3.938 kB / 493.7 MB, free: 5.805 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004438/0.1268, allocations: 91.52 kB / 493.8 MB, free: 5.715 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005135/0.1274, allocations: 139.5 kB / 494 MB, free: 5.578 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008807/0.1283, allocations: 195.4 kB / 494.2 MB, free: 5.387 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005504/0.1288, allocations: 219.4 kB / 494.4 MB, free: 5.172 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.956e-05/0.129, allocations: 28.72 kB / 494.4 MB, free: 5.145 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001465/0.1291, allocations: 87.52 kB / 494.5 MB, free: 5.059 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002097/0.1293, allocations: 115.3 kB / 494.6 MB, free: 4.945 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.686e-05/0.1294, allocations: 8 kB / 494.6 MB, free: 4.938 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001459/0.1309, allocations: 0.5774 MB / 495.2 MB, free: 4.359 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 8.192e-05/0.131, allocations: 39.77 kB / 495.2 MB, free: 4.32 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 9.899e-05/0.1311, allocations: 77.52 kB / 495.3 MB, free: 4.238 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000662/0.1318, allocations: 311.1 kB / 495.6 MB, free: 3.934 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.1318, allocations: 4 kB / 495.6 MB, free: 3.93 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.265e-06/0.1318, allocations: 0 / 495.6 MB, free: 3.93 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.931e-06/0.1318, allocations: 0 / 495.6 MB, free: 3.93 MB / 330.7 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.001006/0.1328, allocations: 0.5732 MB / 496.2 MB, free: 3.309 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.545e-05/0.1329, allocations: 12.02 kB / 496.2 MB, free: 3.297 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.385e-05/0.133, allocations: 47.48 kB / 496.2 MB, free: 3.25 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003582/0.1334, allocations: 246.2 kB / 496.5 MB, free: 2.969 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.196e-05/0.1334, allocations: 29 kB / 496.5 MB, free: 2.941 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.346e-05/0.1335, allocations: 35.94 kB / 496.5 MB, free: 2.906 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001146/0.1346, allocations: 0.5763 MB / 497.1 MB, free: 2.195 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.491e-05/0.1347, allocations: 3.938 kB / 497.1 MB, free: 2.191 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.661e-05/0.1347, allocations: 20 kB / 497.1 MB, free: 2.172 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.811e-05/0.1348, allocations: 12 kB / 497.2 MB, free: 2.16 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009038/0.1357, allocations: 345 kB / 497.5 MB, free: 1.82 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00358/0.1393, allocations: 4.039 MB / 0.4898 GB, free: 13.58 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000633/0.14, allocations: 114.5 kB / 0.4899 GB, free: 13.46 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.482e-05/0.14, allocations: 0 / 0.4899 GB, free: 13.46 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.595e-05/0.1401, allocations: 30.56 kB / 0.4899 GB, free: 13.42 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 1.543e-06/0.1401, allocations: 4 kB / 0.4899 GB, free: 13.41 MB / 346.7 MB Notification: Performance of matching and sorting (n=7): time 0.0008904/0.141, allocations: 177.4 kB / 0.4901 GB, free: 13.23 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.279e-05/0.141, allocations: 59.41 kB / 0.4901 GB, free: 13.16 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006181/0.1417, allocations: 409.6 kB / 0.4905 GB, free: 12.76 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.597e-05/0.1417, allocations: 29.7 kB / 0.4906 GB, free: 12.72 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000223/0.142, allocations: 293.5 kB / 0.4908 GB, free: 12.43 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.016e-05/0.142, allocations: 23.66 kB / 0.4909 GB, free: 12.41 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.797e-05/0.142, allocations: 11.94 kB / 0.4909 GB, free: 12.4 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001315/0.1422, allocations: 330.8 kB / 0.4912 GB, free: 12.07 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002824/0.1425, allocations: 60.61 kB / 0.4912 GB, free: 12 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004294/0.1429, allocations: 266.3 kB / 0.4915 GB, free: 11.64 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003553/0.1433, allocations: 107.8 kB / 0.4916 GB, free: 11.54 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.731e-06/0.1433, allocations: 4 kB / 0.4916 GB, free: 11.54 MB / 346.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0009974/0.1443, allocations: 337 kB / 0.4919 GB, free: 11.2 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.557e-05/0.1444, allocations: 8 kB / 0.4919 GB, free: 11.19 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.587e-05/0.1444, allocations: 8 kB / 0.4919 GB, free: 11.18 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.068e-05/0.1444, allocations: 12 kB / 0.492 GB, free: 11.17 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008568/0.1453, allocations: 112.5 kB / 0.4921 GB, free: 11.06 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000984/0.1463, allocations: 1.223 MB / 0.4933 GB, free: 9.793 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005038/0.1468, allocations: 63.28 kB / 0.4933 GB, free: 9.73 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.197e-05/0.1469, allocations: 24.19 kB / 0.4933 GB, free: 9.707 MB / 346.7 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 (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002247/0.1471, allocations: 157 kB / 0.4935 GB, free: 9.551 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.793e-05/0.1472, allocations: 39.53 kB / 0.4935 GB, free: 9.512 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007648/0.148, allocations: 192.7 kB / 0.4937 GB, free: 9.312 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.384e-06/0.148, allocations: 3.984 kB / 0.4937 GB, free: 9.309 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.148, allocations: 4 kB / 0.4937 GB, free: 9.305 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.148, allocations: 0 / 0.4937 GB, free: 9.305 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004518/0.1485, allocations: 273.5 kB / 0.494 GB, free: 8.988 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.1485, allocations: 4 kB / 0.494 GB, free: 8.984 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005557/0.1491, allocations: 55.95 kB / 0.494 GB, free: 8.93 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.45e-06/0.1491, allocations: 0 / 0.494 GB, free: 8.93 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.764e-05/0.1491, allocations: 0 / 0.494 GB, free: 8.93 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008691/0.15, allocations: 1.211 MB / 0.4952 GB, free: 7.672 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.15, allocations: 4 kB / 0.4952 GB, free: 7.668 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006018/0.1506, allocations: 247.1 kB / 0.4955 GB, free: 7.41 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000137/0.1508, allocations: 112.6 kB / 0.4956 GB, free: 7.281 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.625e-05/0.1509, allocations: 0 / 0.4956 GB, free: 7.281 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002957/0.1512, allocations: 8 kB / 0.4956 GB, free: 7.273 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.771e-05/0.1513, allocations: 11.98 kB / 0.4956 GB, free: 7.262 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.952e-05/0.1513, allocations: 4 kB / 0.4956 GB, free: 7.258 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000424/0.1517, allocations: 271.1 kB / 0.4958 GB, free: 6.996 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.1517, allocations: 0 / 0.4958 GB, free: 6.996 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007253/0.1525, allocations: 108 kB / 0.496 GB, free: 6.891 MB / 346.7 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 (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005585/0.1531, allocations: 175.1 kB / 0.4961 GB, free: 6.707 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001054/0.1541, allocations: 217.8 kB / 0.4963 GB, free: 6.496 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.1541, allocations: 0 / 0.4963 GB, free: 6.496 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005257/0.1547, allocations: 84.03 kB / 0.4964 GB, free: 6.414 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004667/0.1552, allocations: 46.31 kB / 0.4965 GB, free: 6.371 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001316/0.1565, allocations: 0.6077 MB / 0.497 GB, free: 5.738 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000406/0.1569, allocations: 0.7833 MB / 0.4978 GB, free: 4.93 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001162/0.1571, allocations: 23.44 kB / 0.4978 GB, free: 4.906 MB / 346.7 MB Notification: Performance of SimCode: time 1.122e-06/0.1571, allocations: 0 / 0.4978 GB, free: 4.906 MB / 346.7 MB Notification: Performance of Templates: time 0.01405/0.1711, allocations: 6.485 MB / 0.5042 GB, free: 14.42 MB / 362.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HeatExchanger/kc_roundTube_KC/kc_roundTube_KC.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches