Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_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 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 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 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_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_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_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009455/0.0009456, allocations: 97.72 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009158/0.0009158, allocations: 177.7 kB / 16.92 MB, free: 6.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.566/1.566, allocations: 205.4 MB / 223.1 MB, free: 5.551 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3991/0.3991, allocations: 43.57 MB / 315 MB, free: 8.738 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006596/0.0006602, allocations: 14.97 kB / 384.6 MB, free: 7.641 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1396/0.1403, allocations: 58.86 MB / 443.5 MB, free: 12.68 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC): time 0.002614/0.1429, allocations: 1.89 MB / 445.4 MB, free: 10.77 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002008/0.145, allocations: 1.092 MB / 446.4 MB, free: 9.672 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.812e-05/0.1451, allocations: 0 / 446.4 MB, free: 9.672 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004587/0.1456, allocations: 87.52 kB / 446.5 MB, free: 9.586 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003753/0.1459, allocations: 71.45 kB / 446.6 MB, free: 9.516 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002797/0.1462, allocations: 95.64 kB / 446.7 MB, free: 9.422 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002143/0.1464, allocations: 182.9 kB / 446.9 MB, free: 9.242 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.739e-05/0.1465, allocations: 24.38 kB / 446.9 MB, free: 9.219 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001431/0.1467, allocations: 83.52 kB / 447 MB, free: 9.137 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001317/0.1468, allocations: 79.5 kB / 447.1 MB, free: 9.059 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.037e-05/0.1468, allocations: 4 kB / 447.1 MB, free: 9.055 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004191/0.1473, allocations: 263.6 kB / 447.3 MB, free: 8.797 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.746e-05/0.1473, allocations: 27.78 kB / 447.3 MB, free: 8.77 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001073/0.1475, allocations: 109.1 kB / 447.5 MB, free: 8.656 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004305/0.1479, allocations: 322.6 kB / 447.8 MB, free: 8.34 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.1479, allocations: 3.938 kB / 447.8 MB, free: 8.336 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.1479, allocations: 4 kB / 447.8 MB, free: 8.332 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.233e-06/0.1479, allocations: 0 / 447.8 MB, free: 8.332 MB / 382.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.0006961/0.1486, allocations: 471.1 kB / 448.2 MB, free: 7.824 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.473e-05/0.1487, allocations: 8.031 kB / 448.2 MB, free: 7.816 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.041e-05/0.1488, allocations: 24.66 kB / 448.3 MB, free: 7.793 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002555/0.149, allocations: 211.9 kB / 448.5 MB, free: 7.547 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.171e-05/0.1491, allocations: 20.8 kB / 448.5 MB, free: 7.527 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.33e-05/0.1491, allocations: 24.12 kB / 448.5 MB, free: 7.504 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004834/0.1496, allocations: 231.3 kB / 448.7 MB, free: 7.273 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.482e-05/0.1496, allocations: 3.938 kB / 448.7 MB, free: 7.27 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.442e-05/0.1497, allocations: 11.94 kB / 448.8 MB, free: 7.258 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-06/0.1497, allocations: 4 kB / 448.8 MB, free: 7.254 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005114/0.1502, allocations: 265.5 kB / 449 MB, free: 6.992 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001177/0.1514, allocations: 0.6157 MB / 449.6 MB, free: 6.324 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003017/0.1517, allocations: 106.6 kB / 449.7 MB, free: 6.211 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001504/0.1519, allocations: 44.92 kB / 449.8 MB, free: 6.164 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.356e-05/0.1519, allocations: 4 kB / 449.8 MB, free: 6.16 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.16e-05/0.152, allocations: 38.5 kB / 449.8 MB, free: 6.113 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.373e-06/0.152, allocations: 0 / 449.8 MB, free: 6.113 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006131/0.1526, allocations: 189.3 kB / 450 MB, free: 5.922 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.051e-05/0.1526, allocations: 51.41 kB / 450.1 MB, free: 5.859 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002815/0.1529, allocations: 267 kB / 450.3 MB, free: 5.59 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.423e-05/0.1529, allocations: 25.7 kB / 450.3 MB, free: 5.559 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001504/0.1531, allocations: 167.3 kB / 450.5 MB, free: 5.391 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.184e-05/0.1531, allocations: 35.55 kB / 450.5 MB, free: 5.355 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.853e-05/0.1532, allocations: 21.72 kB / 450.6 MB, free: 5.328 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002127/0.1534, allocations: 338.8 kB / 450.9 MB, free: 4.988 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001717/0.1536, allocations: 59.95 kB / 451 MB, free: 4.93 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002546/0.1539, allocations: 152.8 kB / 451.1 MB, free: 4.734 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004113/0.1543, allocations: 224.6 kB / 451.3 MB, free: 4.469 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.1543, allocations: 0 / 451.3 MB, free: 4.469 MB / 382.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004573/0.1547, allocations: 249 kB / 451.6 MB, free: 4.219 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/0.1548, allocations: 8.438 kB / 451.6 MB, free: 4.211 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.207e-06/0.1548, allocations: 8 kB / 451.6 MB, free: 4.203 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.874e-05/0.1548, allocations: 7.984 kB / 451.6 MB, free: 4.195 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003759/0.1552, allocations: 83.91 kB / 451.7 MB, free: 4.113 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000733/0.1559, allocations: 1.234 MB / 452.9 MB, free: 2.832 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001977/0.1562, allocations: 27.69 kB / 452.9 MB, free: 2.805 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.219e-05/0.1562, allocations: 16 kB / 452.9 MB, free: 2.789 MB / 382.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.0001372/0.1563, allocations: 137.6 kB / 453.1 MB, free: 2.645 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.795e-05/0.1564, allocations: 24.09 kB / 453.1 MB, free: 2.621 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004525/0.1568, allocations: 183.3 kB / 453.3 MB, free: 2.438 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.1569, allocations: 0 / 453.3 MB, free: 2.438 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.1569, allocations: 7.984 kB / 453.3 MB, free: 2.43 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.1569, allocations: 4 kB / 453.3 MB, free: 2.426 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006657/0.1576, allocations: 456 kB / 453.7 MB, free: 1.918 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/0.1576, allocations: 8.047 kB / 453.8 MB, free: 1.91 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002403/0.1578, allocations: 59.92 kB / 453.8 MB, free: 1.852 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.1578, allocations: 0 / 453.8 MB, free: 1.852 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.279e-05/0.1578, allocations: 4 kB / 453.8 MB, free: 1.848 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006194/0.1585, allocations: 1.215 MB / 455 MB, free: 0.5859 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.1585, allocations: 3.938 kB / 455 MB, free: 0.582 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003696/0.1589, allocations: 256.9 kB / 455.3 MB, free: 316 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.635e-05/0.1589, allocations: 96.81 kB / 455.4 MB, free: 200 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.355e-05/0.159, allocations: 11.94 kB / 455.4 MB, free: 188 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001493/0.1591, allocations: 4 kB / 455.4 MB, free: 184 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.757e-05/0.1592, allocations: 11.98 kB / 455.4 MB, free: 172 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.22e-05/0.1592, allocations: 8 kB / 455.4 MB, free: 164 kB / 382.1 MB Notification: Performance of sorting global known variables: time 0.2345/0.3937, allocations: 183.8 kB / 455.6 MB, free: 46.58 MB / 382.1 MB Notification: Performance of sort global known variables: time 6.21e-07/0.3937, allocations: 0 / 455.6 MB, free: 46.58 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005058/0.3942, allocations: 70.03 kB / 455.7 MB, free: 46.58 MB / 382.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.0002449/0.3945, allocations: 141 kB / 455.8 MB, free: 46.49 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005572/0.395, allocations: 186.6 kB / 456 MB, free: 46.49 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.3951, allocations: 0 / 456 MB, free: 46.49 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002775/0.3953, allocations: 89.77 kB / 456.1 MB, free: 46.49 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003973/0.3958, allocations: 27.77 kB / 456.1 MB, free: 46.49 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006476/0.3964, allocations: 489.2 kB / 456.6 MB, free: 46.22 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001422/0.3966, allocations: 0.7299 MB / 457.3 MB, free: 45.53 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.464e-05/0.3966, allocations: 23.52 kB / 457.3 MB, free: 45.52 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.061e-05/0.3967, allocations: 17.78 kB / 457.3 MB, free: 45.52 MB / 382.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3967, allocations: 0 / 457.3 MB, free: 45.52 MB / 382.1 MB Notification: Performance of Templates: time 0.00617/0.4029, allocations: 3.293 MB / 460.6 MB, free: 45.42 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC_res.mat","/var/lib/jenkins/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_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches