Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001093/0.001093, allocations: 121 kB / 18.41 MB, free: 4.684 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001383/0.001383, allocations: 208.5 kB / 19.36 MB, free: 3.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.366/1.366, allocations: 227.4 MB / 247.5 MB, free: 10.32 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2195/0.2195, allocations: 46.1 MB / 344.9 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001447/0.001447, allocations: 79.59 kB / 419 MB, free: 18.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.119/0.1205, allocations: 62.45 MB / 481.5 MB, free: 4.496 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube): time 0.003834/0.1244, allocations: 2.11 MB / 483.6 MB, free: 2.371 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00224/0.1266, allocations: 1.709 MB / 485.3 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.627e-05/0.1267, allocations: 0 / 485.3 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003056/0.127, allocations: 95.3 kB / 485.4 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001317/0.1272, allocations: 67.42 kB / 485.5 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007706/0.128, allocations: 354.7 kB / 485.8 MB, free: 152 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001591/0.1282, allocations: 151 kB / 486 MB, free: 0 / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.86e-05/0.1282, allocations: 16.34 kB / 486 MB, free: 15.98 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.705e-05/0.1283, allocations: 51.62 kB / 486 MB, free: 15.93 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.955e-05/0.1284, allocations: 67.53 kB / 486.1 MB, free: 15.87 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.754e-05/0.1284, allocations: 4 kB / 486.1 MB, free: 15.86 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001041/0.1295, allocations: 0.7802 MB / 486.9 MB, free: 15.08 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.42e-05/0.1295, allocations: 31.8 kB / 486.9 MB, free: 15.05 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.481e-05/0.1296, allocations: 75.42 kB / 487 MB, free: 14.98 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006807/0.1303, allocations: 0.5881 MB / 487.6 MB, free: 14.39 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.082e-06/0.1303, allocations: 4 kB / 487.6 MB, free: 14.38 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1303, allocations: 0 / 487.6 MB, free: 14.38 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.51e-06/0.1303, allocations: 0 / 487.6 MB, free: 14.38 MB / 366.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.0006351/0.131, allocations: 0.5069 MB / 488.1 MB, free: 13.83 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.205e-05/0.131, allocations: 13.11 kB / 488.1 MB, free: 13.82 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.312e-05/0.1311, allocations: 20.66 kB / 488.1 MB, free: 13.8 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001905/0.1313, allocations: 217.7 kB / 488.3 MB, free: 13.55 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.776e-05/0.1313, allocations: 20.38 kB / 488.3 MB, free: 13.53 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.498e-05/0.1313, allocations: 16 kB / 488.4 MB, free: 13.51 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004104/0.1317, allocations: 263.5 kB / 488.6 MB, free: 13.23 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.1318, allocations: 0 / 488.6 MB, free: 13.23 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.988e-05/0.1318, allocations: 12 kB / 488.6 MB, free: 13.22 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.978e-06/0.1318, allocations: 8 kB / 488.6 MB, free: 13.21 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002789/0.1321, allocations: 160.2 kB / 488.8 MB, free: 13.05 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008994/0.133, allocations: 0.9041 MB / 489.7 MB, free: 12.08 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001816/0.1332, allocations: 62.48 kB / 489.8 MB, free: 12.01 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.79e-05/0.1333, allocations: 32.94 kB / 489.8 MB, free: 11.98 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.797e-05/0.1333, allocations: 0 / 489.8 MB, free: 11.98 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.939e-05/0.1333, allocations: 30.56 kB / 489.8 MB, free: 11.94 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 1.392e-06/0.1334, allocations: 4 kB / 489.8 MB, free: 11.93 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004015/0.1338, allocations: 145.3 kB / 490 MB, free: 11.79 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.197e-05/0.1338, allocations: 59.33 kB / 490 MB, free: 11.71 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002242/0.134, allocations: 266.9 kB / 490.3 MB, free: 11.45 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.472e-05/0.1341, allocations: 25.7 kB / 490.3 MB, free: 11.42 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001026/0.1342, allocations: 179.1 kB / 490.5 MB, free: 11.24 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.84e-05/0.1342, allocations: 19.75 kB / 490.5 MB, free: 11.22 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.87e-05/0.1343, allocations: 57.59 kB / 490.6 MB, free: 11.16 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001125/0.1344, allocations: 330.8 kB / 490.9 MB, free: 10.82 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001212/0.1345, allocations: 44.19 kB / 490.9 MB, free: 10.78 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001931/0.1347, allocations: 184.2 kB / 491.1 MB, free: 10.53 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003368/0.1351, allocations: 255.4 kB / 491.4 MB, free: 10.21 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.1351, allocations: 4 kB / 491.4 MB, free: 10.2 MB / 366.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004204/0.1355, allocations: 261.5 kB / 491.6 MB, free: 9.941 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.1355, allocations: 8 kB / 491.6 MB, free: 9.934 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.64e-05/0.1356, allocations: 16 kB / 491.6 MB, free: 9.918 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/0.1356, allocations: 4 kB / 491.6 MB, free: 9.914 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001574/0.1357, allocations: 55.84 kB / 491.7 MB, free: 9.859 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.211e-05/0.1358, allocations: 11.94 kB / 491.7 MB, free: 9.848 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001419/0.1359, allocations: 35.58 kB / 491.7 MB, free: 9.812 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.231e-05/0.1359, allocations: 20 kB / 491.8 MB, free: 9.793 MB / 366.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.0001073/0.136, allocations: 133.8 kB / 491.9 MB, free: 9.652 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.885e-05/0.1361, allocations: 23.75 kB / 491.9 MB, free: 9.629 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003381/0.1364, allocations: 138.8 kB / 492.1 MB, free: 9.48 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.492e-06/0.1365, allocations: 11.88 kB / 492.1 MB, free: 9.469 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.818e-06/0.1365, allocations: 0 / 492.1 MB, free: 9.469 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.1365, allocations: 0 / 492.1 MB, free: 9.469 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000219/0.1367, allocations: 217.5 kB / 492.3 MB, free: 9.207 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.976e-05/0.1367, allocations: 12 kB / 492.3 MB, free: 9.195 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.964e-05/0.1368, allocations: 7.984 kB / 492.3 MB, free: 9.188 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.1368, allocations: 8.125 kB / 492.3 MB, free: 9.18 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.117e-05/0.1368, allocations: 4 kB / 492.3 MB, free: 9.176 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.1368, allocations: 3.938 kB / 492.3 MB, free: 9.172 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.1368, allocations: 0 / 492.3 MB, free: 9.172 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002842/0.1371, allocations: 207.2 kB / 492.5 MB, free: 8.953 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.981e-05/0.1372, allocations: 92.92 kB / 492.6 MB, free: 8.844 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.585e-05/0.1372, allocations: 0 / 492.6 MB, free: 8.844 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.956e-05/0.1373, allocations: 11.92 kB / 492.6 MB, free: 8.832 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.324e-05/0.1374, allocations: 11.94 kB / 492.6 MB, free: 8.82 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.053e-06/0.1374, allocations: 0 / 492.6 MB, free: 8.82 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001399/0.1375, allocations: 186 kB / 492.8 MB, free: 8.641 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1375, allocations: 0 / 492.8 MB, free: 8.641 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004484/0.138, allocations: 108 kB / 492.9 MB, free: 8.535 MB / 366.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.0004132/0.1384, allocations: 195.1 kB / 493.1 MB, free: 8.336 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004333/0.1389, allocations: 196.5 kB / 493.3 MB, free: 8.133 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.1389, allocations: 0 / 493.3 MB, free: 8.133 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000188/0.1391, allocations: 99.31 kB / 493.4 MB, free: 8.023 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003524/0.1394, allocations: 28.83 kB / 493.4 MB, free: 7.992 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006514/0.1401, allocations: 359.6 kB / 493.8 MB, free: 7.617 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003135/0.1404, allocations: 0.7323 MB / 494.5 MB, free: 6.859 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.487e-05/0.1405, allocations: 26.27 kB / 494.5 MB, free: 6.832 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.655e-05/0.1405, allocations: 15.44 kB / 494.5 MB, free: 6.816 MB / 366.1 MB Notification: Performance of SimCode: time 2.405e-06/0.1405, allocations: 0 / 494.5 MB, free: 6.816 MB / 366.1 MB Notification: Performance of Templates: time 0.01029/0.1508, allocations: 6.355 MB / 0.4892 GB, free: 0.5 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_res.mat","/var/lib/jenkins1/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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches