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.001101/0.001101, allocations: 105.8 kB / 18.3 MB, free: 4.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001336/0.001336, allocations: 211.8 kB / 19.25 MB, free: 3.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.359/1.359, allocations: 227.4 MB / 247.4 MB, free: 10.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2336/0.2336, allocations: 46.1 MB / 344.8 MB, free: 11.62 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001404/0.001404, allocations: 77.28 kB / 418.3 MB, free: 19.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.119/0.1204, allocations: 62.45 MB / 480.7 MB, free: 5.285 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC): time 0.004429/0.1249, allocations: 2.682 MB / 483.4 MB, free: 2.586 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002608/0.1275, allocations: 1.476 MB / 484.9 MB, free: 1.105 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000254/0.1278, allocations: 0 / 484.9 MB, free: 1.105 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004354/0.1282, allocations: 127.2 kB / 485 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005626/0.1288, allocations: 122.8 kB / 485.1 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007723/0.1296, allocations: 267.1 kB / 485.4 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004316/0.1301, allocations: 282 kB / 485.7 MB, free: 328 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.281e-05/0.1302, allocations: 24.73 kB / 485.7 MB, free: 304 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001585/0.1303, allocations: 91.41 kB / 485.8 MB, free: 212 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002113/0.1305, allocations: 131.2 kB / 485.9 MB, free: 80 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.402e-05/0.1306, allocations: 11.94 kB / 485.9 MB, free: 68 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001178/0.1318, allocations: 0.5968 MB / 486.5 MB, free: 15.47 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.553e-05/0.1319, allocations: 39.72 kB / 486.6 MB, free: 15.43 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001567/0.132, allocations: 139 kB / 486.7 MB, free: 15.29 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008118/0.1329, allocations: 0.5565 MB / 487.2 MB, free: 14.73 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.1329, allocations: 0 / 487.2 MB, free: 14.73 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1329, allocations: 0 / 487.2 MB, free: 14.73 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.382e-05/0.1329, allocations: 0 / 487.2 MB, free: 14.73 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.00093/0.1338, allocations: 0.62 MB / 487.9 MB, free: 14.07 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.1339, allocations: 16.02 kB / 487.9 MB, free: 14.05 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.768e-05/0.134, allocations: 40.47 kB / 487.9 MB, free: 14.01 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002721/0.1343, allocations: 235.7 kB / 488.1 MB, free: 13.74 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.564e-05/0.1343, allocations: 33.38 kB / 488.2 MB, free: 13.71 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.979e-05/0.1343, allocations: 36.12 kB / 488.2 MB, free: 13.68 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007216/0.1351, allocations: 0.5687 MB / 488.8 MB, free: 12.98 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.931e-05/0.1351, allocations: 7.938 kB / 488.8 MB, free: 12.97 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.846e-05/0.1351, allocations: 24 kB / 488.8 MB, free: 12.95 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.309e-05/0.1352, allocations: 12 kB / 488.8 MB, free: 12.93 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005453/0.1357, allocations: 333 kB / 489.2 MB, free: 12.6 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002768/0.1385, allocations: 4.055 MB / 493.2 MB, free: 8.344 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002678/0.1388, allocations: 82.55 kB / 493.3 MB, free: 8.254 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001302/0.1389, allocations: 40.95 kB / 493.3 MB, free: 8.211 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.441e-05/0.139, allocations: 7.984 kB / 493.3 MB, free: 8.203 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.477e-05/0.139, allocations: 34.56 kB / 493.4 MB, free: 8.16 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 1.232e-06/0.139, allocations: 0 / 493.4 MB, free: 8.16 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005498/0.1396, allocations: 169.1 kB / 493.5 MB, free: 7.988 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.541e-05/0.1396, allocations: 55.41 kB / 493.6 MB, free: 7.922 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004128/0.14, allocations: 409.7 kB / 494 MB, free: 7.512 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.932e-05/0.1401, allocations: 29.7 kB / 494 MB, free: 7.477 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001703/0.1402, allocations: 258.9 kB / 494.3 MB, free: 7.219 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.946e-05/0.1403, allocations: 31.64 kB / 494.3 MB, free: 7.188 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.995e-05/0.1404, allocations: 61.94 kB / 494.4 MB, free: 7.121 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001481/0.1405, allocations: 354.7 kB / 494.7 MB, free: 6.766 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001623/0.1407, allocations: 56.61 kB / 494.8 MB, free: 6.711 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003154/0.141, allocations: 267.2 kB / 495 MB, free: 6.348 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005119/0.1415, allocations: 351.9 kB / 495.4 MB, free: 5.902 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.311e-06/0.1416, allocations: 4 kB / 495.4 MB, free: 5.898 MB / 366.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006432/0.1422, allocations: 349 kB / 495.7 MB, free: 5.551 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.051e-05/0.1422, allocations: 14.5 kB / 495.7 MB, free: 5.539 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.322e-05/0.1423, allocations: 4 kB / 495.7 MB, free: 5.535 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.329e-05/0.1423, allocations: 15.94 kB / 495.7 MB, free: 5.52 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004891/0.1428, allocations: 107.8 kB / 495.9 MB, free: 5.414 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007666/0.1436, allocations: 1.215 MB / 497.1 MB, free: 4.152 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000294/0.1439, allocations: 63.27 kB / 497.1 MB, free: 4.09 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.332e-05/0.1439, allocations: 24 kB / 497.2 MB, free: 4.066 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.0001542/0.1441, allocations: 153.6 kB / 497.3 MB, free: 3.906 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.796e-05/0.1441, allocations: 39.66 kB / 497.3 MB, free: 3.867 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004395/0.1446, allocations: 172.8 kB / 497.5 MB, free: 3.688 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/0.1446, allocations: 11.98 kB / 497.5 MB, free: 3.676 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.1446, allocations: 0 / 497.5 MB, free: 3.676 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.1446, allocations: 0 / 497.5 MB, free: 3.676 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003385/0.145, allocations: 273.5 kB / 497.8 MB, free: 3.359 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.145, allocations: 3.938 kB / 497.8 MB, free: 3.355 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002757/0.1453, allocations: 51.98 kB / 497.8 MB, free: 3.305 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.851e-06/0.1453, allocations: 3.984 kB / 497.8 MB, free: 3.301 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.37e-05/0.1453, allocations: 4 kB / 497.9 MB, free: 3.297 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006631/0.146, allocations: 1.203 MB / 499.1 MB, free: 2.047 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.146, allocations: 4.5 kB / 499.1 MB, free: 2.043 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003759/0.1464, allocations: 243.2 kB / 499.3 MB, free: 1.789 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001017/0.1465, allocations: 112.6 kB / 499.4 MB, free: 1.66 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.912e-05/0.1465, allocations: 11.88 kB / 499.4 MB, free: 1.648 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001624/0.1467, allocations: 4 kB / 499.4 MB, free: 1.645 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.239e-05/0.1468, allocations: 11.98 kB / 499.4 MB, free: 1.633 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.377e-06/0.1468, allocations: 4 kB / 499.4 MB, free: 1.629 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002717/0.147, allocations: 275.1 kB / 499.7 MB, free: 1.363 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1471, allocations: 0 / 499.7 MB, free: 1.363 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005347/0.1476, allocations: 108 kB / 499.8 MB, free: 1.258 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.0004617/0.1481, allocations: 183.8 kB / 500 MB, free: 1.07 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006066/0.1487, allocations: 209.6 kB / 0.4885 GB, free: 0.8672 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.1487, allocations: 7.875 kB / 0.4885 GB, free: 0.8594 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002911/0.149, allocations: 79.89 kB / 0.4886 GB, free: 0.7812 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004531/0.1495, allocations: 41.95 kB / 0.4886 GB, free: 0.7422 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001/0.1505, allocations: 0.5305 MB / 0.4891 GB, free: 184 kB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003648/0.1508, allocations: 0.7678 MB / 0.4899 GB, free: 15.39 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.83e-05/0.1509, allocations: 27.44 kB / 0.4899 GB, free: 15.36 MB / 382.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1509, allocations: 0 / 0.4899 GB, free: 15.36 MB / 382.1 MB Notification: Performance of Templates: time 0.01029/0.1612, allocations: 6.757 MB / 0.4965 GB, free: 8.613 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