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_roundTube.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_roundTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Re|m_flow.1.|m_flow.4.|Nu.1.|Nu.4.|input_Re.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Re|m_flow.1.|m_flow.4.|Nu.1.|Nu.4.|input_Re.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001326/0.001326, allocations: 107.4 kB / 17.2 MB, free: 6.273 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.00133/0.00133, allocations: 194 kB / 18.12 MB, free: 5.363 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.418/1.418, allocations: 222.9 MB / 241.8 MB, free: 13.62 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.2201/0.2201, allocations: 44.18 MB / 336.1 MB, free: 2.742 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001421/0.001421, allocations: 58.94 kB / 407.7 MB, free: 27.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.129/0.1305, allocations: 60.85 MB / 468.6 MB, free: 14.77 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube): time 0.003562/0.1341, allocations: 2.14 MB / 470.7 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002513/0.1366, allocations: 1.753 MB / 472.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001131/0.1367, allocations: 0 / 472.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003035/0.1371, allocations: 87.44 kB / 472.5 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001331/0.1372, allocations: 51.55 kB / 472.6 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006143/0.1379, allocations: 279.1 kB / 472.9 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000152/0.138, allocations: 162.9 kB / 473 MB, free: 10.29 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.83e-05/0.1381, allocations: 12.31 kB / 473 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.521e-05/0.1381, allocations: 51.72 kB / 473.1 MB, free: 10.22 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.856e-05/0.1382, allocations: 67.59 kB / 473.1 MB, free: 10.15 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.934e-05/0.1383, allocations: 4 kB / 473.1 MB, free: 10.15 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009686/0.1393, allocations: 0.7567 MB / 473.9 MB, free: 9.391 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.063e-05/0.1393, allocations: 23.86 kB / 473.9 MB, free: 9.367 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.257e-05/0.1394, allocations: 75.42 kB / 474 MB, free: 9.293 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006299/0.14, allocations: 0.5608 MB / 474.6 MB, free: 8.73 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.14, allocations: 4 kB / 474.6 MB, free: 8.727 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.41e-07/0.1401, allocations: 4 kB / 474.6 MB, free: 8.723 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.482e-06/0.1401, allocations: 0 / 474.6 MB, free: 8.723 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0006196/0.1407, allocations: 0.5069 MB / 475.1 MB, free: 8.168 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.705e-05/0.1407, allocations: 8.031 kB / 475.1 MB, free: 8.16 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.939e-05/0.1408, allocations: 24.66 kB / 475.1 MB, free: 8.137 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001743/0.141, allocations: 208.5 kB / 475.3 MB, free: 7.895 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.871e-05/0.141, allocations: 16.38 kB / 475.3 MB, free: 7.879 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.586e-05/0.141, allocations: 20 kB / 475.3 MB, free: 7.859 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004/0.1414, allocations: 267.5 kB / 475.6 MB, free: 7.578 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.1415, allocations: 0 / 475.6 MB, free: 7.578 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.809e-05/0.1415, allocations: 11.98 kB / 475.6 MB, free: 7.566 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.416e-06/0.1415, allocations: 4 kB / 475.6 MB, free: 7.562 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003002/0.1418, allocations: 160.2 kB / 475.8 MB, free: 7.402 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009391/0.1427, allocations: 0.9119 MB / 476.7 MB, free: 6.426 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001886/0.1429, allocations: 62.55 kB / 476.7 MB, free: 6.355 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001059/0.1431, allocations: 32.95 kB / 476.8 MB, free: 6.32 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.308e-05/0.1431, allocations: 8 kB / 476.8 MB, free: 6.312 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.212e-05/0.1431, allocations: 30.56 kB / 476.8 MB, free: 6.273 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.252e-06/0.1431, allocations: 0 / 476.8 MB, free: 6.273 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004361/0.1436, allocations: 137.3 kB / 477 MB, free: 6.133 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.956e-05/0.1436, allocations: 55.34 kB / 477 MB, free: 6.066 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002454/0.1439, allocations: 270.9 kB / 477.3 MB, free: 5.797 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.473e-05/0.1439, allocations: 25.7 kB / 477.3 MB, free: 5.766 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001124/0.144, allocations: 183 kB / 477.5 MB, free: 5.582 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.464e-05/0.1441, allocations: 19.73 kB / 477.5 MB, free: 5.562 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.552e-05/0.1441, allocations: 57.61 kB / 477.6 MB, free: 5.5 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000109/0.1442, allocations: 334.8 kB / 477.9 MB, free: 5.164 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000131/0.1444, allocations: 44.2 kB / 477.9 MB, free: 5.117 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002137/0.1446, allocations: 188.1 kB / 478.1 MB, free: 4.863 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003585/0.145, allocations: 259.4 kB / 478.4 MB, free: 4.539 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.145, allocations: 3.938 kB / 478.4 MB, free: 4.535 MB / 350.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004641/0.1455, allocations: 256.8 kB / 478.6 MB, free: 4.277 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/0.1455, allocations: 8.688 kB / 478.6 MB, free: 4.27 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.428e-05/0.1455, allocations: 16 kB / 478.6 MB, free: 4.254 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.022e-05/0.1455, allocations: 19.92 kB / 478.7 MB, free: 4.234 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001654/0.1457, allocations: 43.86 kB / 478.7 MB, free: 4.191 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.758e-05/0.1457, allocations: 8 kB / 478.7 MB, free: 4.184 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001563/0.1459, allocations: 43.58 kB / 478.8 MB, free: 4.141 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.072e-05/0.1459, allocations: 12 kB / 478.8 MB, free: 4.129 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 3 (m_flow_IN_con_4.N,m_flow_IN_con_4.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: 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.0001174/0.1461, allocations: 137.7 kB / 478.9 MB, free: 3.984 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.71e-05/0.1461, allocations: 23.72 kB / 478.9 MB, free: 3.961 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004407/0.1466, allocations: 138.8 kB / 479.1 MB, free: 3.816 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.644e-06/0.1466, allocations: 3.938 kB / 479.1 MB, free: 3.812 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.027e-05/0.1466, allocations: 4 kB / 479.1 MB, free: 3.809 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.612e-06/0.1466, allocations: 4.188 kB / 479.1 MB, free: 3.805 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000301/0.1469, allocations: 221.6 kB / 479.3 MB, free: 3.539 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.866e-05/0.1469, allocations: 8 kB / 479.3 MB, free: 3.531 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.362e-05/0.147, allocations: 4 kB / 479.3 MB, free: 3.527 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.508e-06/0.147, allocations: 3.984 kB / 479.3 MB, free: 3.523 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.405e-05/0.147, allocations: 4 kB / 479.3 MB, free: 3.52 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.1471, allocations: 3.938 kB / 479.3 MB, free: 3.516 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.1471, allocations: 0 / 479.3 MB, free: 3.516 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000361/0.1474, allocations: 211.2 kB / 479.5 MB, free: 3.293 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.928e-05/0.1475, allocations: 96.84 kB / 479.6 MB, free: 3.18 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.408e-05/0.1476, allocations: 0 / 479.6 MB, free: 3.18 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001053/0.1477, allocations: 7.938 kB / 479.6 MB, free: 3.172 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.288e-05/0.1477, allocations: 7.984 kB / 479.6 MB, free: 3.164 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.328e-06/0.1478, allocations: 4 kB / 479.6 MB, free: 3.16 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001901/0.148, allocations: 182 kB / 479.8 MB, free: 2.98 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.148, allocations: 0 / 479.8 MB, free: 2.98 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005692/0.1485, allocations: 96 kB / 479.9 MB, free: 2.887 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.0004515/0.149, allocations: 191.8 kB / 480.1 MB, free: 2.688 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004979/0.1495, allocations: 212.3 kB / 480.3 MB, free: 2.469 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1495, allocations: 0 / 480.3 MB, free: 2.469 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001995/0.1497, allocations: 95.38 kB / 480.4 MB, free: 2.363 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004229/0.1502, allocations: 24.55 kB / 480.4 MB, free: 2.344 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007052/0.1509, allocations: 414.6 kB / 480.8 MB, free: 1.914 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002977/0.1512, allocations: 0.7326 MB / 481.5 MB, free: 1.152 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.931e-05/0.1513, allocations: 21.94 kB / 481.6 MB, free: 1.133 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.845e-05/0.1513, allocations: 19.44 kB / 481.6 MB, free: 1.117 MB / 350.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1513, allocations: 3.938 kB / 481.6 MB, free: 1.113 MB / 350.1 MB Notification: Performance of Templates: time 0.01108/0.1624, allocations: 5.971 MB / 487.6 MB, free: 11.18 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HeatExchanger/kc_roundTube/kc_roundTube.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches