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_flatTube_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_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_3.2.3_cpp_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_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002341/0.002346, allocations: 188.1 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.264/2.264, 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.001133/0.001133, allocations: 82.89 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.3103/0.3103, allocations: 43.57 MB / 362.7 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004666/0.0004666, allocations: 12 kB / 431.4 MB, free: 20.25 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1198/0.1203, allocations: 58.86 MB / 490.2 MB, free: 9.328 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC): time 0.003306/0.1237, allocations: 1.759 MB / 492 MB, free: 7.547 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.002316/0.126, allocations: 0.9951 MB / 493 MB, free: 6.547 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001955/0.1263, allocations: 0 / 493 MB, free: 6.547 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004066/0.1267, allocations: 75.61 kB / 493.1 MB, free: 6.473 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003953/0.1271, allocations: 83.72 kB / 493.1 MB, free: 6.391 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004147/0.1276, allocations: 103.7 kB / 493.2 MB, free: 6.289 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002807/0.1278, allocations: 135.6 kB / 493.4 MB, free: 6.156 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.589e-05/0.1279, allocations: 12.41 kB / 493.4 MB, free: 6.141 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000178/0.1281, allocations: 63.69 kB / 493.5 MB, free: 6.078 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001756/0.1283, allocations: 83.56 kB / 493.5 MB, free: 5.996 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.132e-05/0.1284, allocations: 8 kB / 493.5 MB, free: 5.988 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006893/0.1291, allocations: 259.7 kB / 493.8 MB, free: 5.734 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 6.543e-05/0.1292, allocations: 31.83 kB / 493.8 MB, free: 5.703 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 7.124e-05/0.1292, allocations: 53.58 kB / 493.9 MB, free: 5.645 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004399/0.1297, allocations: 179.6 kB / 494.1 MB, free: 5.469 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.1297, allocations: 0 / 494.1 MB, free: 5.469 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.1297, allocations: 0 / 494.1 MB, free: 5.469 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.372e-06/0.1298, allocations: 0 / 494.1 MB, free: 5.469 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0008739/0.1306, allocations: 478.9 kB / 494.5 MB, free: 4.953 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.243e-05/0.1307, allocations: 12.03 kB / 494.5 MB, free: 4.941 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.754e-05/0.1308, allocations: 19.72 kB / 494.6 MB, free: 4.922 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003033/0.1311, allocations: 222.6 kB / 494.8 MB, free: 4.664 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.789e-05/0.1312, allocations: 16.44 kB / 494.8 MB, free: 4.648 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.357e-05/0.1312, allocations: 20 kB / 494.8 MB, free: 4.629 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006775/0.1319, allocations: 227.3 kB / 495 MB, free: 4.402 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.022e-05/0.132, allocations: 3.984 kB / 495 MB, free: 4.398 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.338e-05/0.132, allocations: 12 kB / 495 MB, free: 4.387 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.134e-05/0.132, allocations: 4 kB / 495 MB, free: 4.383 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007493/0.1328, allocations: 253.6 kB / 495.3 MB, free: 4.137 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001495/0.1343, allocations: 0.6274 MB / 495.9 MB, free: 3.457 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000619/0.135, allocations: 122.6 kB / 496 MB, free: 3.328 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.506e-05/0.135, allocations: 4 kB / 496 MB, free: 3.324 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.606e-05/0.1351, allocations: 30.56 kB / 496.1 MB, free: 3.285 MB / 330.7 MB Notification: Performance of pre-optimization done (n=9): time 2.975e-06/0.1351, allocations: 0 / 496.1 MB, free: 3.285 MB / 330.7 MB Notification: Performance of matching and sorting (n=9): time 0.0008811/0.136, allocations: 189.4 kB / 496.3 MB, free: 3.094 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.276e-05/0.136, allocations: 51.41 kB / 496.3 MB, free: 3.031 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003948/0.1364, allocations: 262.9 kB / 496.6 MB, free: 2.766 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.817e-05/0.1365, allocations: 29.7 kB / 496.6 MB, free: 2.73 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001726/0.1367, allocations: 225.8 kB / 496.8 MB, free: 2.508 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.417e-05/0.1367, allocations: 35.55 kB / 496.9 MB, free: 2.473 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.709e-05/0.1367, allocations: 4 kB / 496.9 MB, free: 2.469 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001513/0.1369, allocations: 326.8 kB / 497.2 MB, free: 2.141 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002661/0.1372, allocations: 55.89 kB / 497.2 MB, free: 2.086 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003498/0.1375, allocations: 148.8 kB / 497.4 MB, free: 1.895 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003444/0.1379, allocations: 71.86 kB / 497.4 MB, free: 1.824 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/0.1379, allocations: 4 kB / 497.5 MB, free: 1.82 MB / 330.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0008099/0.1387, allocations: 237.6 kB / 497.7 MB, free: 1.582 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.471e-05/0.1388, allocations: 8 kB / 497.7 MB, free: 1.574 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.347e-06/0.1388, allocations: 0 / 497.7 MB, free: 1.574 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.554e-05/0.1388, allocations: 8 kB / 497.7 MB, free: 1.566 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006776/0.1395, allocations: 83.89 kB / 497.8 MB, free: 1.484 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001048/0.1406, allocations: 1.219 MB / 499 MB, free: 224 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003667/0.141, allocations: 43.58 kB / 499 MB, free: 180 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.354e-05/0.141, allocations: 12 kB / 499.1 MB, free: 168 kB / 330.7 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 (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.0001948/0.1412, allocations: 137.9 kB / 499.2 MB, free: 20 kB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.35e-05/0.1413, allocations: 20.47 kB / 499.2 MB, free: 0 / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007851/0.1421, allocations: 187.5 kB / 499.4 MB, free: 15.81 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.09e-06/0.1422, allocations: 96 / 499.4 MB, free: 15.81 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.1422, allocations: 7.938 kB / 499.4 MB, free: 15.8 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.1422, allocations: 0 / 499.4 MB, free: 15.8 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001072/0.1433, allocations: 456.1 kB / 499.8 MB, free: 15.29 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/0.1433, allocations: 3.938 kB / 499.8 MB, free: 15.29 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005078/0.1438, allocations: 63.95 kB / 499.9 MB, free: 15.23 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.434e-06/0.1439, allocations: 3.938 kB / 499.9 MB, free: 15.22 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.213e-05/0.1439, allocations: 4 kB / 499.9 MB, free: 15.22 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009792/0.1449, allocations: 1.215 MB / 0.4894 GB, free: 13.96 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.541e-06/0.1449, allocations: 0 / 0.4894 GB, free: 13.96 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006702/0.1456, allocations: 276.5 kB / 0.4897 GB, free: 13.65 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001621/0.1458, allocations: 108.7 kB / 0.4898 GB, free: 13.53 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.031e-05/0.1458, allocations: 3.938 kB / 0.4898 GB, free: 13.52 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002515/0.1461, allocations: 15.98 kB / 0.4898 GB, free: 13.51 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.034e-05/0.1462, allocations: 4 kB / 0.4898 GB, free: 13.5 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.249e-05/0.1462, allocations: 7.984 kB / 0.4898 GB, free: 13.5 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002711/0.1465, allocations: 182 kB / 0.49 GB, free: 13.32 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.1465, allocations: 0 / 0.49 GB, free: 13.32 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005545/0.1471, allocations: 67.98 kB / 0.49 GB, free: 13.25 MB / 346.7 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 (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.0003629/0.1475, allocations: 139.2 kB / 0.4902 GB, free: 13.11 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001014/0.1485, allocations: 184.4 kB / 0.4903 GB, free: 12.93 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.1485, allocations: 0 / 0.4903 GB, free: 12.93 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005611/0.1491, allocations: 96 kB / 0.4904 GB, free: 12.84 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004017/0.1495, allocations: 24.94 kB / 0.4904 GB, free: 12.81 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001247/0.1508, allocations: 494.7 kB / 0.4909 GB, free: 12.29 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004119/0.1512, allocations: 0.7365 MB / 0.4916 GB, free: 11.53 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001128/0.1514, allocations: 19.44 kB / 0.4917 GB, free: 11.51 MB / 346.7 MB Notification: Performance of SimCode: time 1.242e-06/0.1514, allocations: 0 / 0.4917 GB, free: 11.51 MB / 346.7 MB Notification: Performance of Templates: time 0.01054/0.1619, allocations: 4.219 MB / 0.4958 GB, free: 7.293 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_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_flatTube_KC/kc_flatTube_KC.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches