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.001911/0.001911, allocations: 109.5 kB / 17.86 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002261/0.002261, allocations: 209.7 kB / 18.79 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.348/2.348, allocations: 227.4 MB / 246.9 MB, free: 8.848 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2511/0.2511, allocations: 46.11 MB / 344.3 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001438/0.001438, allocations: 78 kB / 417.5 MB, free: 20.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1177/0.1191, allocations: 62.43 MB / 480 MB, free: 5.652 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC): time 0.003947/0.1231, allocations: 2.741 MB / 482.7 MB, free: 2.891 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002373/0.1255, allocations: 1.562 MB / 484.3 MB, free: 1.324 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001453/0.1257, allocations: 4 kB / 484.3 MB, free: 1.32 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000345/0.1261, allocations: 107.4 kB / 484.4 MB, free: 1.215 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003392/0.1264, allocations: 115 kB / 484.5 MB, free: 1.102 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004458/0.1269, allocations: 207.3 kB / 484.7 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002725/0.1272, allocations: 286.2 kB / 485 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.122e-05/0.1273, allocations: 24.73 kB / 485 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001026/0.1274, allocations: 95.34 kB / 485.1 MB, free: 0.5 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001661/0.1275, allocations: 127.2 kB / 485.2 MB, free: 384 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.642e-05/0.1276, allocations: 8 kB / 485.2 MB, free: 376 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009191/0.1285, allocations: 0.5968 MB / 485.8 MB, free: 15.77 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.894e-05/0.1286, allocations: 43.66 kB / 485.8 MB, free: 15.73 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001224/0.1287, allocations: 143 kB / 486 MB, free: 15.59 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004149/0.1291, allocations: 358.9 kB / 486.3 MB, free: 15.23 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.1292, allocations: 0 / 486.3 MB, free: 15.23 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.775e-06/0.1292, allocations: 0 / 486.3 MB, free: 15.23 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.731e-06/0.1292, allocations: 3.938 kB / 486.3 MB, free: 15.23 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.0007925/0.13, allocations: 0.624 MB / 487 MB, free: 14.56 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/0.13, allocations: 16.81 kB / 487 MB, free: 14.54 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.164e-05/0.1301, allocations: 40.47 kB / 487 MB, free: 14.5 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002431/0.1304, allocations: 247.7 kB / 487.3 MB, free: 14.22 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.122e-05/0.1304, allocations: 25.38 kB / 487.3 MB, free: 14.2 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.297e-05/0.1304, allocations: 40.11 kB / 487.3 MB, free: 14.16 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006876/0.1311, allocations: 0.5804 MB / 487.9 MB, free: 13.45 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.455e-05/0.1312, allocations: 3.938 kB / 487.9 MB, free: 13.44 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.892e-05/0.1312, allocations: 16 kB / 487.9 MB, free: 13.43 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.545e-05/0.1312, allocations: 12 kB / 487.9 MB, free: 13.41 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000503/0.1317, allocations: 341 kB / 488.3 MB, free: 13.07 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002499/0.1342, allocations: 4.043 MB / 492.3 MB, free: 8.828 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002626/0.1345, allocations: 94.45 kB / 492.4 MB, free: 8.727 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001368/0.1347, allocations: 44.95 kB / 492.4 MB, free: 8.68 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.64e-05/0.1347, allocations: 0 / 492.4 MB, free: 8.68 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.237e-05/0.1347, allocations: 34.56 kB / 492.5 MB, free: 8.637 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 1.213e-06/0.1347, allocations: 0 / 492.5 MB, free: 8.637 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005323/0.1353, allocations: 169.1 kB / 492.6 MB, free: 8.465 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.448e-05/0.1353, allocations: 51.41 kB / 492.7 MB, free: 8.402 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004021/0.1357, allocations: 413.7 kB / 493.1 MB, free: 7.992 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.888e-05/0.1358, allocations: 25.7 kB / 493.1 MB, free: 7.961 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001683/0.1359, allocations: 254.9 kB / 493.4 MB, free: 7.707 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.725e-05/0.136, allocations: 31.64 kB / 493.4 MB, free: 7.676 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.548e-05/0.1361, allocations: 69.92 kB / 493.5 MB, free: 7.602 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001484/0.1362, allocations: 350.7 kB / 493.8 MB, free: 7.25 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001564/0.1364, allocations: 56.61 kB / 493.9 MB, free: 7.195 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002899/0.1367, allocations: 262.4 kB / 494.1 MB, free: 6.836 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004642/0.1372, allocations: 351.9 kB / 494.5 MB, free: 6.391 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.808e-05/0.1372, allocations: 4 kB / 494.5 MB, free: 6.387 MB / 366.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006068/0.1378, allocations: 356.9 kB / 494.8 MB, free: 6.031 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.982e-05/0.1378, allocations: 8 kB / 494.8 MB, free: 6.023 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.064e-05/0.1378, allocations: 8.391 kB / 494.8 MB, free: 6.016 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.899e-05/0.1379, allocations: 8 kB / 494.8 MB, free: 6.008 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005128/0.1384, allocations: 111.8 kB / 495 MB, free: 5.898 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007323/0.1391, allocations: 1.215 MB / 496.2 MB, free: 4.637 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002878/0.1394, allocations: 63.27 kB / 496.2 MB, free: 4.574 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.776e-05/0.1395, allocations: 24 kB / 496.3 MB, free: 4.551 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 (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000161/0.1396, allocations: 149.8 kB / 496.4 MB, free: 4.395 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.566e-05/0.1397, allocations: 43.47 kB / 496.4 MB, free: 4.352 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004451/0.1401, allocations: 172.8 kB / 496.6 MB, free: 4.172 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.1402, allocations: 4 kB / 496.6 MB, free: 4.168 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.1402, allocations: 0 / 496.6 MB, free: 4.168 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.1402, allocations: 0 / 496.6 MB, free: 4.168 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003165/0.1405, allocations: 273.5 kB / 496.9 MB, free: 3.852 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.1405, allocations: 3.938 kB / 496.9 MB, free: 3.848 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002958/0.1408, allocations: 59.91 kB / 497 MB, free: 3.789 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.1408, allocations: 3.938 kB / 497 MB, free: 3.785 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.577e-05/0.1409, allocations: 8 kB / 497 MB, free: 3.777 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006117/0.1415, allocations: 1.203 MB / 498.2 MB, free: 2.527 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.1415, allocations: 0 / 498.2 MB, free: 2.527 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003519/0.1418, allocations: 239.2 kB / 498.4 MB, free: 2.277 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.389e-05/0.1419, allocations: 108.6 kB / 498.5 MB, free: 2.152 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.493e-05/0.142, allocations: 3.938 kB / 498.5 MB, free: 2.148 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001803/0.1422, allocations: 15.98 kB / 498.5 MB, free: 2.133 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.98e-05/0.1422, allocations: 7.984 kB / 498.5 MB, free: 2.125 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.139e-05/0.1422, allocations: 11.92 kB / 498.5 MB, free: 2.113 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002564/0.1425, allocations: 275.1 kB / 498.8 MB, free: 1.844 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1425, allocations: 0 / 498.8 MB, free: 1.844 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005228/0.143, allocations: 108 kB / 498.9 MB, free: 1.738 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 (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000393/0.1434, allocations: 179.8 kB / 499.1 MB, free: 1.555 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005651/0.144, allocations: 209.5 kB / 499.3 MB, free: 1.352 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.144, allocations: 0 / 499.3 MB, free: 1.352 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002733/0.1443, allocations: 76.09 kB / 499.4 MB, free: 1.277 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004406/0.1448, allocations: 33.95 kB / 499.4 MB, free: 1.246 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009036/0.1457, allocations: 0.6192 MB / 0.4883 GB, free: 0.5977 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003204/0.146, allocations: 0.768 MB / 0.4891 GB, free: 15.8 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.47e-05/0.1461, allocations: 27.42 kB / 0.4891 GB, free: 15.78 MB / 382.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1461, allocations: 0 / 0.4891 GB, free: 15.78 MB / 382.1 MB Notification: Performance of Templates: time 0.008681/0.1548, allocations: 6.764 MB / 0.4957 GB, free: 9.027 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/jenkins1/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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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