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.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,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_3.2.3_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_3.2.3_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.001308/0.001308, allocations: 102.1 kB / 15.98 MB, free: 6.352 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.001071/0.001071, allocations: 197.2 kB / 16.91 MB, free: 6.191 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.573/1.573, allocations: 205.1 MB / 222.8 MB, free: 4.699 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.4151/0.4151, allocations: 43.49 MB / 313.6 MB, free: 8.328 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.001463/0.001463, allocations: 67.91 kB / 382.2 MB, free: 8.371 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1518/0.1533, allocations: 57.79 MB / 440 MB, free: 14.48 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube): time 0.003767/0.1571, allocations: 2.163 MB / 442.2 MB, free: 12.29 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001961/0.1591, allocations: 1.403 MB / 443.6 MB, free: 10.88 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.042e-05/0.1592, allocations: 4 kB / 443.6 MB, free: 10.88 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003267/0.1595, allocations: 87.5 kB / 443.7 MB, free: 10.79 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001512/0.1597, allocations: 55.53 kB / 443.7 MB, free: 10.74 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004644/0.1602, allocations: 179.4 kB / 443.9 MB, free: 10.56 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001707/0.1603, allocations: 147 kB / 444.1 MB, free: 10.42 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.081e-05/0.1604, allocations: 24.22 kB / 444.1 MB, free: 10.39 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001113/0.1605, allocations: 59.66 kB / 444.1 MB, free: 10.34 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.039e-05/0.1606, allocations: 67.59 kB / 444.2 MB, free: 10.27 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.572e-05/0.1606, allocations: 7.938 kB / 444.2 MB, free: 10.26 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006329/0.1613, allocations: 427.4 kB / 444.6 MB, free: 9.844 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.904e-05/0.1613, allocations: 23.8 kB / 444.7 MB, free: 9.82 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.623e-05/0.1614, allocations: 63.5 kB / 444.7 MB, free: 9.758 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005061/0.1619, allocations: 438.5 kB / 445.1 MB, free: 9.328 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.1619, allocations: 0 / 445.1 MB, free: 9.328 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1619, allocations: 0 / 445.1 MB, free: 9.328 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.28e-06/0.1619, allocations: 0 / 445.1 MB, free: 9.328 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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0005986/0.1625, allocations: 0.4947 MB / 445.6 MB, free: 8.785 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.643e-05/0.1626, allocations: 15.89 kB / 445.7 MB, free: 8.77 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.373e-05/0.1626, allocations: 20.66 kB / 445.7 MB, free: 8.75 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001979/0.1628, allocations: 219.7 kB / 445.9 MB, free: 8.496 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.766e-05/0.1629, allocations: 12.38 kB / 445.9 MB, free: 8.484 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.456e-05/0.1629, allocations: 16.12 kB / 445.9 MB, free: 8.469 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003653/0.1633, allocations: 206.7 kB / 446.1 MB, free: 8.258 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.1633, allocations: 0 / 446.1 MB, free: 8.258 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.571e-05/0.1633, allocations: 4 kB / 446.1 MB, free: 8.254 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.337e-06/0.1633, allocations: 12 kB / 446.1 MB, free: 8.242 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002892/0.1636, allocations: 156.2 kB / 446.3 MB, free: 8.09 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009135/0.1645, allocations: 0.5714 MB / 446.9 MB, free: 7.469 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001981/0.1648, allocations: 58.56 kB / 446.9 MB, free: 7.402 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001066/0.1649, allocations: 32.94 kB / 446.9 MB, free: 7.367 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.256e-05/0.1649, allocations: 0 / 446.9 MB, free: 7.367 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.569e-05/0.1649, allocations: 30.56 kB / 447 MB, free: 7.328 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 8.72e-07/0.1649, allocations: 0 / 447 MB, free: 7.328 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004323/0.1654, allocations: 145.3 kB / 447.1 MB, free: 7.18 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.136e-05/0.1654, allocations: 51.41 kB / 447.2 MB, free: 7.117 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002424/0.1657, allocations: 254.7 kB / 447.4 MB, free: 6.863 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.553e-05/0.1657, allocations: 29.64 kB / 447.4 MB, free: 6.828 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001023/0.1658, allocations: 163.7 kB / 447.6 MB, free: 6.664 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.339e-05/0.1658, allocations: 23.73 kB / 447.6 MB, free: 6.641 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.328e-05/0.1659, allocations: 41.61 kB / 447.7 MB, free: 6.594 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001167/0.166, allocations: 334.8 kB / 448 MB, free: 6.258 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001437/0.1662, allocations: 39.97 kB / 448 MB, free: 6.219 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001789/0.1664, allocations: 132.8 kB / 448.2 MB, free: 6.043 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002899/0.1667, allocations: 180.7 kB / 448.3 MB, free: 5.82 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.1667, allocations: 4 kB / 448.3 MB, free: 5.816 MB / 382.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003715/0.1671, allocations: 201.4 kB / 448.5 MB, free: 5.613 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.1671, allocations: 12.06 kB / 448.6 MB, free: 5.602 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.832e-05/0.1671, allocations: 12 kB / 448.6 MB, free: 5.59 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.701e-05/0.1672, allocations: 4.094 kB / 448.6 MB, free: 5.586 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001248/0.1673, allocations: 35.91 kB / 448.6 MB, free: 5.551 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.969e-06/0.1673, allocations: 7.984 kB / 448.6 MB, free: 5.543 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001229/0.1674, allocations: 31.69 kB / 448.6 MB, free: 5.512 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.662e-05/0.1674, allocations: 8 kB / 448.7 MB, free: 5.504 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 (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.0001298/0.1676, allocations: 137.6 kB / 448.8 MB, free: 5.359 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.561e-05/0.1676, allocations: 23.72 kB / 448.8 MB, free: 5.336 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004038/0.1681, allocations: 134.9 kB / 448.9 MB, free: 5.191 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.1681, allocations: 0 / 448.9 MB, free: 5.191 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.1681, allocations: 192 / 448.9 MB, free: 5.191 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.1681, allocations: 4 kB / 448.9 MB, free: 5.188 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002957/0.1684, allocations: 225.5 kB / 449.2 MB, free: 4.918 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.84e-05/0.1684, allocations: 12 kB / 449.2 MB, free: 4.906 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.483e-05/0.1685, allocations: 11.92 kB / 449.2 MB, free: 4.895 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.1685, allocations: 0 / 449.2 MB, free: 4.895 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.357e-05/0.1685, allocations: 7.938 kB / 449.2 MB, free: 4.887 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.1685, allocations: 0 / 449.2 MB, free: 4.887 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.1685, allocations: 0 / 449.2 MB, free: 4.887 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003526/0.1689, allocations: 207.2 kB / 449.4 MB, free: 4.668 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.758e-05/0.169, allocations: 96.81 kB / 449.5 MB, free: 4.555 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.224e-05/0.169, allocations: 4 kB / 449.5 MB, free: 4.551 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001034/0.1691, allocations: 4 kB / 449.5 MB, free: 4.547 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.343e-05/0.1692, allocations: 7.984 kB / 449.5 MB, free: 4.539 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.026e-05/0.1692, allocations: 4 kB / 449.5 MB, free: 4.535 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001688/0.1694, allocations: 185.9 kB / 449.7 MB, free: 4.352 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1694, allocations: 4 kB / 449.7 MB, free: 4.348 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004733/0.1699, allocations: 71.94 kB / 449.8 MB, free: 4.277 MB / 382.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.0004345/0.1703, allocations: 171 kB / 449.9 MB, free: 4.102 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005138/0.1709, allocations: 176 kB / 450.1 MB, free: 3.918 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.614e-06/0.1709, allocations: 8 kB / 450.1 MB, free: 3.91 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002088/0.1711, allocations: 91.38 kB / 450.2 MB, free: 3.809 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004979/0.1716, allocations: 24.81 kB / 450.2 MB, free: 3.785 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007418/0.1724, allocations: 424.2 kB / 450.6 MB, free: 3.348 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003233/0.1727, allocations: 0.7281 MB / 451.4 MB, free: 2.594 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.008e-05/0.1728, allocations: 17.53 kB / 451.4 MB, free: 2.578 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.853e-05/0.1728, allocations: 15.44 kB / 451.4 MB, free: 2.562 MB / 382.1 MB Notification: Performance of SimCode: time 2e-07/0.1728, allocations: 0 / 451.4 MB, free: 2.562 MB / 382.1 MB Notification: Performance of Templates: time 0.2429/0.4157, allocations: 4.074 MB / 455.5 MB, free: 48.32 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_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_flatTube.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches