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.001346/0.001346, allocations: 113.2 kB / 17.33 MB, free: 5.988 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.001478/0.001478, allocations: 193.3 kB / 18.25 MB, free: 5.086 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.417/1.417, allocations: 222.9 MB / 241.9 MB, free: 15.37 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.2287/0.2287, allocations: 44.17 MB / 336.2 MB, free: 2.852 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001288/0.001288, allocations: 61.12 kB / 407.9 MB, free: 27.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1143/0.1156, allocations: 60.83 MB / 468.7 MB, free: 14.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube): time 0.003318/0.119, allocations: 2.143 MB / 470.9 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002248/0.1212, allocations: 1.671 MB / 472.6 MB, free: 10.87 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.445e-05/0.1213, allocations: 0 / 472.6 MB, free: 10.87 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003229/0.1217, allocations: 87.44 kB / 472.6 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000141/0.1218, allocations: 59.55 kB / 472.7 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007379/0.1226, allocations: 307 kB / 473 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001566/0.1227, allocations: 143 kB / 473.1 MB, free: 10.29 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.351e-05/0.1228, allocations: 12.31 kB / 473.1 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.313e-05/0.1229, allocations: 55.67 kB / 473.2 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.871e-05/0.123, allocations: 63.58 kB / 473.3 MB, free: 10.15 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.588e-05/0.123, allocations: 4 kB / 473.3 MB, free: 10.15 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009209/0.1239, allocations: 0.7606 MB / 474 MB, free: 9.387 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.034e-05/0.124, allocations: 27.84 kB / 474.1 MB, free: 9.359 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.907e-05/0.1241, allocations: 75.44 kB / 474.1 MB, free: 9.285 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006231/0.1247, allocations: 0.5608 MB / 474.7 MB, free: 8.723 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.1247, allocations: 4 kB / 474.7 MB, free: 8.719 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.1247, allocations: 0 / 474.7 MB, free: 8.719 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.239e-06/0.1247, allocations: 0 / 474.7 MB, free: 8.719 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.0006319/0.1254, allocations: 0.503 MB / 475.2 MB, free: 8.168 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.429e-05/0.1254, allocations: 12.03 kB / 475.2 MB, free: 8.156 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.902e-05/0.1255, allocations: 28.64 kB / 475.2 MB, free: 8.129 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001707/0.1256, allocations: 208.5 kB / 475.4 MB, free: 7.887 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.646e-05/0.1257, allocations: 20.31 kB / 475.5 MB, free: 7.867 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.816e-05/0.1257, allocations: 20 kB / 475.5 MB, free: 7.848 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004144/0.1261, allocations: 263.5 kB / 475.7 MB, free: 7.57 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.1261, allocations: 7.938 kB / 475.7 MB, free: 7.562 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.896e-05/0.1262, allocations: 8 kB / 475.8 MB, free: 7.555 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.365e-06/0.1262, allocations: 4 kB / 475.8 MB, free: 7.551 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000292/0.1265, allocations: 156.2 kB / 475.9 MB, free: 7.395 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000909/0.1274, allocations: 0.9119 MB / 476.8 MB, free: 6.418 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001776/0.1276, allocations: 58.55 kB / 476.9 MB, free: 6.352 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000106/0.1277, allocations: 36.94 kB / 476.9 MB, free: 6.312 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.03e-05/0.1277, allocations: 8 kB / 476.9 MB, free: 6.305 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.867e-05/0.1278, allocations: 30.56 kB / 477 MB, free: 6.266 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.393e-06/0.1278, allocations: 0 / 477 MB, free: 6.266 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004387/0.1282, allocations: 133.3 kB / 477.1 MB, free: 6.129 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.8e-05/0.1282, allocations: 55.34 kB / 477.1 MB, free: 6.062 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002347/0.1285, allocations: 274.9 kB / 477.4 MB, free: 5.789 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.157e-05/0.1285, allocations: 25.7 kB / 477.4 MB, free: 5.758 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001184/0.1286, allocations: 179 kB / 477.6 MB, free: 5.578 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.347e-05/0.1287, allocations: 27.72 kB / 477.6 MB, free: 5.551 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.42e-05/0.1288, allocations: 53.61 kB / 477.7 MB, free: 5.492 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001141/0.1289, allocations: 330.8 kB / 478 MB, free: 5.16 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000134/0.129, allocations: 44.2 kB / 478 MB, free: 5.113 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000222/0.1292, allocations: 192.1 kB / 478.2 MB, free: 4.855 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003933/0.1296, allocations: 259.4 kB / 478.5 MB, free: 4.531 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/0.1297, allocations: 3.984 kB / 478.5 MB, free: 4.527 MB / 350.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004618/0.1301, allocations: 257 kB / 478.7 MB, free: 4.27 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.1302, allocations: 8 kB / 478.8 MB, free: 4.262 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.038e-05/0.1302, allocations: 19.98 kB / 478.8 MB, free: 4.242 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.742e-05/0.1302, allocations: 8 kB / 478.8 MB, free: 4.234 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001605/0.1304, allocations: 43.86 kB / 478.8 MB, free: 4.191 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.44e-05/0.1304, allocations: 11.98 kB / 478.8 MB, free: 4.18 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001635/0.1306, allocations: 44.06 kB / 478.9 MB, free: 4.137 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.109e-05/0.1306, allocations: 12 kB / 478.9 MB, free: 4.125 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.0001215/0.1307, allocations: 145.6 kB / 479 MB, free: 3.973 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.004e-05/0.1308, allocations: 19.72 kB / 479.1 MB, free: 3.953 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000388/0.1312, allocations: 134.9 kB / 479.2 MB, free: 3.812 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/0.1312, allocations: 7.875 kB / 479.2 MB, free: 3.805 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.815e-06/0.1312, allocations: 4.188 kB / 479.2 MB, free: 3.801 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.1312, allocations: 0 / 479.2 MB, free: 3.801 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002424/0.1315, allocations: 221.6 kB / 479.4 MB, free: 3.535 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.869e-05/0.1315, allocations: 8 kB / 479.4 MB, free: 3.527 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.106e-05/0.1315, allocations: 7.984 kB / 479.4 MB, free: 3.52 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.1315, allocations: 4 kB / 479.4 MB, free: 3.516 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.262e-05/0.1316, allocations: 8 kB / 479.4 MB, free: 3.508 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.494e-06/0.1316, allocations: 3.938 kB / 479.4 MB, free: 3.504 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1316, allocations: 0 / 479.4 MB, free: 3.504 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003017/0.1319, allocations: 203.2 kB / 479.6 MB, free: 3.289 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.928e-05/0.132, allocations: 96.84 kB / 479.7 MB, free: 3.176 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.855e-05/0.132, allocations: 0 / 479.7 MB, free: 3.176 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001039/0.1321, allocations: 11.94 kB / 479.7 MB, free: 3.164 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.512e-05/0.1322, allocations: 7.984 kB / 479.8 MB, free: 3.156 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.696e-06/0.1322, allocations: 4 kB / 479.8 MB, free: 3.152 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001614/0.1323, allocations: 182 kB / 479.9 MB, free: 2.973 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1323, allocations: 0 / 479.9 MB, free: 2.973 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004798/0.1328, allocations: 92 kB / 480 MB, free: 2.883 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.0004333/0.1333, allocations: 191.6 kB / 480.2 MB, free: 2.684 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004848/0.1338, allocations: 207.2 kB / 480.4 MB, free: 2.469 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1338, allocations: 1.188 kB / 480.4 MB, free: 2.469 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001929/0.134, allocations: 99.38 kB / 480.5 MB, free: 2.359 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003411/0.1343, allocations: 20.88 kB / 480.5 MB, free: 2.34 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000644/0.135, allocations: 420.1 kB / 480.9 MB, free: 1.906 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002817/0.1353, allocations: 0.7323 MB / 481.7 MB, free: 1.145 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.872e-05/0.1354, allocations: 29.92 kB / 481.7 MB, free: 1.117 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.366e-05/0.1354, allocations: 15.44 kB / 481.7 MB, free: 1.105 MB / 350.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1354, allocations: 0 / 481.7 MB, free: 1.105 MB / 350.1 MB Notification: Performance of Templates: time 0.01082/0.1462, allocations: 6.079 MB / 487.8 MB, free: 11.06 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