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_KC.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_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_4.0.0_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_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001227/0.001227, allocations: 100.2 kB / 16.98 MB, free: 5.938 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.0014/0.0014, allocations: 187.6 kB / 17.88 MB, free: 5.594 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.442/1.442, allocations: 223.2 MB / 241.8 MB, free: 14.64 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.2253/0.2253, allocations: 44.22 MB / 337.1 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002977/0.0002977, allocations: 10.03 kB / 409.6 MB, free: 27.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1234/0.1237, allocations: 61.91 MB / 471.5 MB, free: 13.72 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC): time 0.002451/0.1262, allocations: 2.149 MB / 473.6 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001716/0.128, allocations: 1.31 MB / 474.9 MB, free: 10.24 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.257e-05/0.1281, allocations: 0 / 474.9 MB, free: 10.24 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002422/0.1283, allocations: 95.53 kB / 475 MB, free: 10.15 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002809/0.1286, allocations: 123.5 kB / 475.1 MB, free: 10.03 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003954/0.129, allocations: 207.4 kB / 475.3 MB, free: 9.824 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002133/0.1292, allocations: 215.4 kB / 475.6 MB, free: 9.613 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.402e-05/0.1293, allocations: 24.73 kB / 475.6 MB, free: 9.586 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.424e-05/0.1294, allocations: 91.5 kB / 475.7 MB, free: 9.496 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001319/0.1296, allocations: 119.3 kB / 475.8 MB, free: 9.379 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.988e-05/0.1296, allocations: 8 kB / 475.8 MB, free: 9.371 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007617/0.1303, allocations: 0.5773 MB / 476.4 MB, free: 8.793 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.933e-05/0.1304, allocations: 39.77 kB / 476.4 MB, free: 8.754 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.822e-05/0.1305, allocations: 73.52 kB / 476.5 MB, free: 8.676 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000357/0.1308, allocations: 319.2 kB / 476.8 MB, free: 8.363 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.1308, allocations: 0 / 476.8 MB, free: 8.363 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1309, allocations: 0 / 476.8 MB, free: 8.363 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.911e-06/0.1309, allocations: 0 / 476.8 MB, free: 8.363 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.0006461/0.1315, allocations: 0.5732 MB / 477.4 MB, free: 7.742 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.153e-05/0.1316, allocations: 12.03 kB / 477.4 MB, free: 7.73 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.769e-05/0.1316, allocations: 35.53 kB / 477.4 MB, free: 7.695 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002249/0.1319, allocations: 238.5 kB / 477.6 MB, free: 7.422 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.454e-05/0.1319, allocations: 28.95 kB / 477.7 MB, free: 7.395 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.512e-05/0.1319, allocations: 36 kB / 477.7 MB, free: 7.359 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006198/0.1326, allocations: 0.5726 MB / 478.3 MB, free: 6.652 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.733e-05/0.1326, allocations: 7.938 kB / 478.3 MB, free: 6.645 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.057e-05/0.1326, allocations: 20 kB / 478.3 MB, free: 6.625 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.249e-05/0.1326, allocations: 12 kB / 478.3 MB, free: 6.613 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005043/0.1331, allocations: 341 kB / 478.7 MB, free: 6.281 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002196/0.1354, allocations: 4.055 MB / 482.7 MB, free: 2.023 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003392/0.1357, allocations: 106.5 kB / 482.8 MB, free: 1.91 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.579e-05/0.1357, allocations: 4 kB / 482.8 MB, free: 1.906 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.41e-05/0.1358, allocations: 42.62 kB / 482.9 MB, free: 1.855 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.292e-06/0.1358, allocations: 3.938 kB / 482.9 MB, free: 1.852 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005143/0.1363, allocations: 181.2 kB / 483 MB, free: 1.668 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.522e-05/0.1363, allocations: 51.41 kB / 483.1 MB, free: 1.605 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003879/0.1367, allocations: 409.7 kB / 483.5 MB, free: 1.199 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.096e-05/0.1368, allocations: 25.7 kB / 483.5 MB, free: 1.168 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002203/0.137, allocations: 255.1 kB / 483.8 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.991e-05/0.137, allocations: 27.64 kB / 483.8 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.499e-05/0.1371, allocations: 8 kB / 483.8 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001493/0.1372, allocations: 346.8 kB / 484.1 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001619/0.1374, allocations: 64.61 kB / 484.2 MB, free: 476 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002608/0.1376, allocations: 262.4 kB / 484.5 MB, free: 108 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001983/0.1379, allocations: 99.84 kB / 484.6 MB, free: 8 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.1379, allocations: 4 kB / 484.6 MB, free: 4 kB / 350.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006068/0.1385, allocations: 360.5 kB / 484.9 MB, free: 15.64 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.006e-05/0.1385, allocations: 8 kB / 484.9 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.09e-05/0.1385, allocations: 8.859 kB / 484.9 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.228e-05/0.1386, allocations: 15.95 kB / 484.9 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004613/0.139, allocations: 115.8 kB / 485.1 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006496/0.1397, allocations: 1.211 MB / 486.3 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002876/0.14, allocations: 67.55 kB / 486.3 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.729e-05/0.14, allocations: 24 kB / 486.4 MB, free: 14.15 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.0001396/0.1402, allocations: 150.1 kB / 486.5 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.043e-05/0.1402, allocations: 35.53 kB / 486.5 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004569/0.1407, allocations: 196.8 kB / 486.7 MB, free: 13.76 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.1407, allocations: 0 / 486.7 MB, free: 13.76 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.633e-06/0.1407, allocations: 4 kB / 486.7 MB, free: 13.76 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.1407, allocations: 0 / 486.7 MB, free: 13.76 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000295/0.141, allocations: 281.3 kB / 487 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.522e-06/0.141, allocations: 0 / 487 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002867/0.1413, allocations: 51.97 kB / 487.1 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.1413, allocations: 0 / 487.1 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.501e-05/0.1414, allocations: 7.984 kB / 487.1 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005789/0.1419, allocations: 1.211 MB / 488.3 MB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.142, allocations: 0 / 488.3 MB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003515/0.1423, allocations: 247.2 kB / 488.5 MB, free: 11.86 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.67e-05/0.1424, allocations: 108.6 kB / 488.6 MB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.993e-05/0.1424, allocations: 7.891 kB / 488.6 MB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001716/0.1426, allocations: 7.984 kB / 488.6 MB, free: 11.72 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.269e-05/0.1427, allocations: 8 kB / 488.6 MB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.085e-05/0.1427, allocations: 11.98 kB / 488.7 MB, free: 11.7 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002568/0.143, allocations: 267.2 kB / 488.9 MB, free: 11.44 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.774e-06/0.143, allocations: 0 / 488.9 MB, free: 11.44 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005256/0.1435, allocations: 115.9 kB / 489 MB, free: 11.32 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.0003324/0.1438, allocations: 168.7 kB / 489.2 MB, free: 11.15 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005734/0.1444, allocations: 220.7 kB / 489.4 MB, free: 10.93 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.1444, allocations: 0 / 489.4 MB, free: 10.93 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002873/0.1447, allocations: 88.81 kB / 489.5 MB, free: 10.85 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003057/0.1451, allocations: 29.97 kB / 489.5 MB, free: 10.82 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007974/0.1459, allocations: 0.5791 MB / 490.1 MB, free: 10.22 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002836/0.1462, allocations: 0.7758 MB / 490.9 MB, free: 9.418 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001224/0.1463, allocations: 38.95 kB / 490.9 MB, free: 9.379 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.584e-05/0.1463, allocations: 19.44 kB / 490.9 MB, free: 9.359 MB / 366.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1463, allocations: 0 / 490.9 MB, free: 9.359 MB / 366.1 MB Notification: Performance of Templates: time 0.00999/0.1563, allocations: 5.767 MB / 496.7 MB, free: 3.637 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches