Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.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_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Nu|m_flow.1.|m_flow.2.|m_flow.3.|m_flow.4.|kc_1|kc_4|Re_1|Re_4|input_Nu.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Nu|m_flow.1.|m_flow.2.|m_flow.3.|m_flow.4.|kc_1|kc_4|Re_1|Re_4|input_Nu.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001215/0.001216, allocations: 98.38 kB / 16.99 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001198/0.001198, allocations: 198.3 kB / 17.9 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.419/1.419, allocations: 227.2 MB / 245.9 MB, free: 10.35 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2303/0.2303, allocations: 45.91 MB / 344 MB, free: 12.14 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002925/0.000293, allocations: 8 kB / 417.9 MB, free: 20.87 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1237/0.124, allocations: 63.46 MB / 481.4 MB, free: 5.402 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC): time 0.002621/0.1267, allocations: 2.162 MB / 483.6 MB, free: 3.223 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002075/0.1288, allocations: 1.369 MB / 484.9 MB, free: 1.852 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001095/0.1289, allocations: 0 / 484.9 MB, free: 1.852 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002734/0.1292, allocations: 91.47 kB / 485 MB, free: 1.762 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003047/0.1295, allocations: 139.5 kB / 485.2 MB, free: 1.625 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004383/0.13, allocations: 203.4 kB / 485.4 MB, free: 1.426 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000236/0.1302, allocations: 219.4 kB / 485.6 MB, free: 1.211 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.322e-05/0.1303, allocations: 20.73 kB / 485.6 MB, free: 1.191 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.532e-05/0.1304, allocations: 91.52 kB / 485.7 MB, free: 1.102 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001381/0.1305, allocations: 115.3 kB / 485.8 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.176e-05/0.1306, allocations: 8 kB / 485.8 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008397/0.1314, allocations: 0.5891 MB / 486.4 MB, free: 400 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.239e-05/0.1315, allocations: 43.77 kB / 486.4 MB, free: 356 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.711e-05/0.1315, allocations: 77.52 kB / 486.5 MB, free: 272 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003932/0.1319, allocations: 327.1 kB / 486.8 MB, free: 15.95 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.1319, allocations: 0 / 486.8 MB, free: 15.95 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1319, allocations: 0 / 486.8 MB, free: 15.95 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.11e-06/0.132, allocations: 0 / 486.8 MB, free: 15.95 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.000665/0.1326, allocations: 0.5732 MB / 487.4 MB, free: 15.32 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.342e-05/0.1327, allocations: 16.02 kB / 487.4 MB, free: 15.31 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.828e-05/0.1327, allocations: 43.53 kB / 487.5 MB, free: 15.27 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002633/0.133, allocations: 246.4 kB / 487.7 MB, free: 14.98 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.943e-05/0.133, allocations: 29 kB / 487.7 MB, free: 14.96 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.217e-05/0.1331, allocations: 32 kB / 487.8 MB, free: 14.93 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007081/0.1338, allocations: 0.5687 MB / 488.3 MB, free: 14.22 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.661e-05/0.1338, allocations: 7.938 kB / 488.3 MB, free: 14.21 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.316e-05/0.1339, allocations: 20 kB / 488.4 MB, free: 14.2 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.491e-05/0.1339, allocations: 12 kB / 488.4 MB, free: 14.18 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005057/0.1344, allocations: 341 kB / 488.7 MB, free: 13.84 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002374/0.1368, allocations: 4.055 MB / 492.8 MB, free: 9.59 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003477/0.1372, allocations: 106.5 kB / 492.9 MB, free: 9.477 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.498e-05/0.1372, allocations: 4 kB / 492.9 MB, free: 9.473 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.963e-05/0.1372, allocations: 30.56 kB / 492.9 MB, free: 9.434 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 3.045e-06/0.1373, allocations: 7.938 kB / 492.9 MB, free: 9.426 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005012/0.1378, allocations: 177.3 kB / 493.1 MB, free: 9.246 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001044/0.1379, allocations: 55.41 kB / 493.1 MB, free: 9.18 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003847/0.1383, allocations: 417.6 kB / 493.5 MB, free: 8.766 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.949e-05/0.1383, allocations: 25.7 kB / 493.6 MB, free: 8.734 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001545/0.1385, allocations: 251.2 kB / 493.8 MB, free: 8.484 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.61e-05/0.1385, allocations: 27.64 kB / 493.8 MB, free: 8.457 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.127e-05/0.1385, allocations: 4 kB / 493.8 MB, free: 8.453 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001308/0.1386, allocations: 350.8 kB / 494.2 MB, free: 8.102 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001595/0.1388, allocations: 60.61 kB / 494.2 MB, free: 8.039 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000349/0.1392, allocations: 267.2 kB / 494.5 MB, free: 7.676 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001946/0.1394, allocations: 99.91 kB / 494.6 MB, free: 7.578 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-06/0.1394, allocations: 4 kB / 494.6 MB, free: 7.574 MB / 366.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005801/0.14, allocations: 364.7 kB / 495 MB, free: 7.211 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.2e-05/0.14, allocations: 8 kB / 495 MB, free: 7.203 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.03e-05/0.14, allocations: 8 kB / 495 MB, free: 7.195 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.061e-05/0.14, allocations: 8 kB / 495 MB, free: 7.188 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004579/0.1405, allocations: 116.5 kB / 495.1 MB, free: 7.074 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007261/0.1412, allocations: 1.223 MB / 496.3 MB, free: 5.805 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002923/0.1415, allocations: 63.38 kB / 496.4 MB, free: 5.742 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.962e-05/0.1416, allocations: 24.19 kB / 496.4 MB, free: 5.719 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 5 (m_flow_IN_con_4.N,m_flow_IN_con_4.geometry,m_flow_IN_con_1.geometry,m_flow_IN_con_3.geometry,m_flow_IN_con_2.geometry) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001858/0.1418, allocations: 155 kB / 496.6 MB, free: 5.562 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.898e-05/0.1418, allocations: 35.53 kB / 496.6 MB, free: 5.527 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000481/0.1423, allocations: 184.8 kB / 496.8 MB, free: 5.336 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.866e-06/0.1423, allocations: 7.953 kB / 496.8 MB, free: 5.328 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/0.1424, allocations: 4 kB / 496.8 MB, free: 5.324 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.1424, allocations: 0 / 496.8 MB, free: 5.324 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003105/0.1427, allocations: 273.4 kB / 497 MB, free: 5.008 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.1427, allocations: 0 / 497 MB, free: 5.008 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002786/0.143, allocations: 55.95 kB / 497.1 MB, free: 4.953 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.143, allocations: 0 / 497.1 MB, free: 4.953 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.564e-05/0.143, allocations: 8 kB / 497.1 MB, free: 4.945 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006763/0.1437, allocations: 1.211 MB / 498.3 MB, free: 3.688 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.1437, allocations: 0 / 498.3 MB, free: 3.688 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003618/0.1441, allocations: 259.1 kB / 498.6 MB, free: 3.418 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001028/0.1442, allocations: 104.6 kB / 498.7 MB, free: 3.297 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.831e-05/0.1442, allocations: 3.984 kB / 498.7 MB, free: 3.293 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001661/0.1444, allocations: 15.94 kB / 498.7 MB, free: 3.277 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.523e-05/0.1445, allocations: 7.984 kB / 498.7 MB, free: 3.27 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.015e-06/0.1445, allocations: 0 / 498.7 MB, free: 3.27 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000308/0.1448, allocations: 279.1 kB / 499 MB, free: 3 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1448, allocations: 0 / 499 MB, free: 3 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006346/0.1455, allocations: 108 kB / 499.1 MB, free: 2.895 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 (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003956/0.1459, allocations: 176.7 kB / 499.3 MB, free: 2.715 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005907/0.1465, allocations: 217.3 kB / 499.5 MB, free: 2.504 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.1465, allocations: 4 kB / 499.5 MB, free: 2.5 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002778/0.1468, allocations: 83.89 kB / 499.6 MB, free: 2.418 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003166/0.1471, allocations: 42.16 kB / 499.6 MB, free: 2.379 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009084/0.148, allocations: 0.5689 MB / 0.4884 GB, free: 1.785 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003849/0.1484, allocations: 0.7797 MB / 0.4892 GB, free: 0.9766 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001209/0.1485, allocations: 42.89 kB / 0.4892 GB, free: 0.9336 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.854e-05/0.1486, allocations: 23.44 kB / 0.4893 GB, free: 0.9102 MB / 366.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1486, allocations: 0 / 0.4893 GB, free: 0.9102 MB / 366.1 MB Notification: Performance of Templates: time 0.01476/0.1634, allocations: 5.892 MB / 0.495 GB, free: 11.05 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC_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/kc_roundTube_KC.csv","../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches