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_flatTube.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_flatTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Re|m_flow.1.|m_flow.2.|Nu.1.|Nu.2.|input_Re.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Re|m_flow.1.|m_flow.2.|Nu.1.|Nu.2.|input_Re.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001031/0.001031, allocations: 104 kB / 17.63 MB, free: 5.543 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.001173/0.001173, allocations: 192.1 kB / 18.56 MB, free: 4.621 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.34/1.34, allocations: 222.9 MB / 242.2 MB, free: 15.21 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.2087/0.2087, allocations: 44.17 MB / 336.6 MB, free: 2.754 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001388/0.001389, allocations: 72.7 kB / 408.4 MB, free: 27.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1329/0.1343, allocations: 60.82 MB / 469.3 MB, free: 14.34 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube): time 0.004389/0.1387, allocations: 2.11 MB / 471.4 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002445/0.1412, allocations: 1.378 MB / 472.8 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001994/0.1414, allocations: 0 / 472.8 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003902/0.1419, allocations: 87.45 kB / 472.8 MB, free: 10.74 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002218/0.1421, allocations: 67.36 kB / 472.9 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006526/0.1428, allocations: 199.1 kB / 473.1 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002169/0.143, allocations: 155 kB / 473.3 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.683e-05/0.1431, allocations: 12.31 kB / 473.3 MB, free: 10.31 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001565/0.1433, allocations: 63.66 kB / 473.3 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.566e-05/0.1434, allocations: 59.59 kB / 473.4 MB, free: 10.19 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.803e-05/0.1434, allocations: 4 kB / 473.4 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006648/0.1441, allocations: 423.3 kB / 473.8 MB, free: 9.77 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.367e-05/0.1441, allocations: 31.78 kB / 473.8 MB, free: 9.738 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.287e-05/0.1442, allocations: 71.48 kB / 473.9 MB, free: 9.668 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006354/0.1449, allocations: 434.4 kB / 474.3 MB, free: 9.242 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.1449, allocations: 0 / 474.3 MB, free: 9.242 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1449, allocations: 0 / 474.3 MB, free: 9.242 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.765e-06/0.1449, allocations: 0 / 474.3 MB, free: 9.242 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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0007096/0.1456, allocations: 0.4986 MB / 474.8 MB, free: 8.695 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/0.1457, allocations: 8.031 kB / 474.8 MB, free: 8.688 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.471e-05/0.1457, allocations: 20.75 kB / 474.9 MB, free: 8.668 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002163/0.146, allocations: 208 kB / 475.1 MB, free: 8.426 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.181e-05/0.146, allocations: 16.38 kB / 475.1 MB, free: 8.41 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.292e-05/0.146, allocations: 20.12 kB / 475.1 MB, free: 8.391 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003702/0.1464, allocations: 202.5 kB / 475.3 MB, free: 8.184 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.1464, allocations: 4 kB / 475.3 MB, free: 8.18 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.827e-05/0.1465, allocations: 8 kB / 475.3 MB, free: 8.172 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.777e-06/0.1465, allocations: 4 kB / 475.3 MB, free: 8.168 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002922/0.1468, allocations: 148.2 kB / 475.5 MB, free: 8.023 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009092/0.1477, allocations: 0.5752 MB / 476 MB, free: 7.398 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002166/0.1479, allocations: 70.47 kB / 476.1 MB, free: 7.32 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001115/0.148, allocations: 32.94 kB / 476.1 MB, free: 7.285 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.2e-05/0.1481, allocations: 4 kB / 476.1 MB, free: 7.281 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.034e-05/0.1481, allocations: 30.56 kB / 476.2 MB, free: 7.242 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.403e-06/0.1481, allocations: 0 / 476.2 MB, free: 7.242 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005188/0.1487, allocations: 145.3 kB / 476.3 MB, free: 7.094 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.139e-05/0.1487, allocations: 55.41 kB / 476.4 MB, free: 7.027 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002638/0.149, allocations: 254.6 kB / 476.6 MB, free: 6.773 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.695e-05/0.149, allocations: 25.7 kB / 476.6 MB, free: 6.742 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001243/0.1491, allocations: 163.7 kB / 476.8 MB, free: 6.578 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.273e-05/0.1492, allocations: 27.67 kB / 476.8 MB, free: 6.551 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.799e-05/0.1492, allocations: 33.62 kB / 476.9 MB, free: 6.512 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001579/0.1494, allocations: 346.8 kB / 477.2 MB, free: 6.164 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001294/0.1495, allocations: 31.97 kB / 477.2 MB, free: 6.133 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001822/0.1497, allocations: 136.8 kB / 477.4 MB, free: 5.953 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003274/0.1501, allocations: 180.7 kB / 477.5 MB, free: 5.73 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.1501, allocations: 0 / 477.5 MB, free: 5.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004511/0.1505, allocations: 205.5 kB / 477.7 MB, free: 5.523 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.959e-05/0.1506, allocations: 4 kB / 477.7 MB, free: 5.52 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.11e-05/0.1506, allocations: 12 kB / 477.7 MB, free: 5.508 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.913e-05/0.1506, allocations: 4 kB / 477.8 MB, free: 5.504 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001508/0.1508, allocations: 31.92 kB / 477.8 MB, free: 5.473 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.026e-05/0.1508, allocations: 4 kB / 477.8 MB, free: 5.469 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001439/0.151, allocations: 39.58 kB / 477.8 MB, free: 5.43 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.012e-05/0.151, allocations: 12 kB / 477.8 MB, free: 5.418 MB / 350.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 (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001331/0.1511, allocations: 133.8 kB / 478 MB, free: 5.277 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.343e-05/0.1512, allocations: 15.81 kB / 478 MB, free: 5.262 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003923/0.1516, allocations: 138.8 kB / 478.1 MB, free: 5.121 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.1516, allocations: 4 kB / 478.1 MB, free: 5.117 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.1516, allocations: 4 kB / 478.1 MB, free: 5.113 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.868e-06/0.1516, allocations: 0 / 478.1 MB, free: 5.113 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002535/0.1519, allocations: 225.5 kB / 478.3 MB, free: 4.844 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.098e-05/0.1519, allocations: 15.98 kB / 478.4 MB, free: 4.828 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.332e-05/0.152, allocations: 8.125 kB / 478.4 MB, free: 4.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.152, allocations: 0 / 478.4 MB, free: 4.82 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.378e-05/0.152, allocations: 8 kB / 478.4 MB, free: 4.812 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.152, allocations: 3.938 kB / 478.4 MB, free: 4.809 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.152, allocations: 3.984 kB / 478.4 MB, free: 4.805 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003003/0.1523, allocations: 203.3 kB / 478.6 MB, free: 4.59 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.476e-05/0.1524, allocations: 92.83 kB / 478.7 MB, free: 4.48 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.931e-05/0.1524, allocations: 3.984 kB / 478.7 MB, free: 4.477 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.693e-05/0.1525, allocations: 4 kB / 478.7 MB, free: 4.473 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.366e-05/0.1526, allocations: 7.984 kB / 478.7 MB, free: 4.465 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.868e-06/0.1526, allocations: 8 kB / 478.7 MB, free: 4.457 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001585/0.1527, allocations: 178 kB / 478.9 MB, free: 4.281 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1527, allocations: 0 / 478.9 MB, free: 4.281 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003945/0.1531, allocations: 79.92 kB / 479 MB, free: 4.203 MB / 350.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 (3): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003367/0.1535, allocations: 164.8 kB / 479.1 MB, free: 4.035 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004535/0.154, allocations: 172 kB / 479.3 MB, free: 3.855 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.154, allocations: 0 / 479.3 MB, free: 3.855 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002063/0.1542, allocations: 103.4 kB / 479.4 MB, free: 3.742 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000365/0.1546, allocations: 16.89 kB / 479.4 MB, free: 3.727 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007429/0.1553, allocations: 368.6 kB / 479.8 MB, free: 3.34 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003276/0.1556, allocations: 0.732 MB / 480.5 MB, free: 2.582 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.64e-05/0.1557, allocations: 17.53 kB / 480.5 MB, free: 2.562 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.743e-05/0.1558, allocations: 15.44 kB / 480.5 MB, free: 2.551 MB / 350.1 MB Notification: Performance of SimCode: time 8.31e-07/0.1558, allocations: 3.938 kB / 480.5 MB, free: 2.547 MB / 350.1 MB Notification: Performance of Templates: time 0.00867/0.1644, allocations: 4.147 MB / 484.7 MB, free: 14.45 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HeatExchanger/kc_flatTube/kc_flatTube.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches