Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00159/0.00159, allocations: 111.9 kB / 19.18 MB, free: 3.762 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001815/0.001815, allocations: 208.9 kB / 22.13 MB, free: 0.8125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.456/1.456, allocations: 230.2 MB / 255.2 MB, free: 15.23 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2255/0.2255, allocations: 46.89 MB / 358.1 MB, free: 10.52 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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_flatTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|Re|m_flow.1.|m_flow.2.|Nu.1.|Nu.2.|input_Re.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|Re|m_flow.1.|m_flow.2.|Nu.1.|Nu.2.|input_Re.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002281/0.002281, allocations: 79.86 kB / 0.4924 GB, free: 8.027 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.131/0.1333, allocations: 65.99 MB / 0.5568 GB, free: 5.91 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube): time 0.003947/0.1372, allocations: 2.135 MB / 0.5589 GB, free: 3.75 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002193/0.1394, allocations: 1.433 MB / 0.5603 GB, free: 2.312 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.902e-05/0.1395, allocations: 0 / 0.5603 GB, free: 2.312 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003205/0.1398, allocations: 83.45 kB / 0.5604 GB, free: 2.23 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001764/0.14, allocations: 67.36 kB / 0.5605 GB, free: 2.164 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005843/0.1406, allocations: 219.1 kB / 0.5607 GB, free: 1.949 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002105/0.1408, allocations: 147 kB / 0.5608 GB, free: 1.805 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.194e-05/0.1408, allocations: 12.31 kB / 0.5608 GB, free: 1.789 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001808/0.141, allocations: 63.59 kB / 0.5609 GB, free: 1.727 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001126/0.1411, allocations: 63.53 kB / 0.5609 GB, free: 1.664 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.021e-05/0.1412, allocations: 7.984 kB / 0.561 GB, free: 1.656 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006676/0.1418, allocations: 431.4 kB / 0.5614 GB, free: 1.234 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.195e-05/0.1419, allocations: 31.78 kB / 0.5614 GB, free: 1.203 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 8.526e-05/0.142, allocations: 71.48 kB / 0.5615 GB, free: 1.133 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007826/0.1428, allocations: 434.3 kB / 0.5619 GB, free: 0.707 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.237e-06/0.1428, allocations: 3.938 kB / 0.5619 GB, free: 0.7031 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.1428, allocations: 0 / 0.5619 GB, free: 0.7031 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.151e-06/0.1428, allocations: 0 / 0.5619 GB, free: 0.7031 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0007308/0.1435, allocations: 0.4983 MB / 0.5624 GB, free: 160 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.1435, allocations: 9.109 kB / 0.5624 GB, free: 152 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.347e-05/0.1436, allocations: 28.8 kB / 0.5624 GB, free: 124 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002623/0.1439, allocations: 216 kB / 0.5626 GB, free: 15.87 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.537e-05/0.1439, allocations: 12.38 kB / 0.5626 GB, free: 15.86 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.924e-05/0.1439, allocations: 20.12 kB / 0.5626 GB, free: 15.84 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004105/0.1443, allocations: 207.2 kB / 0.5628 GB, free: 15.63 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.331e-05/0.1443, allocations: 0 / 0.5628 GB, free: 15.63 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.809e-05/0.1443, allocations: 8 kB / 0.5628 GB, free: 15.62 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.528e-06/0.1443, allocations: 4 kB / 0.5628 GB, free: 15.62 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003138/0.1447, allocations: 156.2 kB / 0.563 GB, free: 15.46 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009013/0.1456, allocations: 0.5755 MB / 0.5636 GB, free: 14.84 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002052/0.1458, allocations: 58.55 kB / 0.5636 GB, free: 14.77 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001245/0.1459, allocations: 28.95 kB / 0.5636 GB, free: 14.74 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.591e-05/0.1459, allocations: 4 kB / 0.5636 GB, free: 14.73 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.645e-05/0.146, allocations: 34.5 kB / 0.5637 GB, free: 14.69 MB / 430.1 MB Notification: Performance of pre-optimization done (n=5): time 1.212e-06/0.146, allocations: 0 / 0.5637 GB, free: 14.69 MB / 430.1 MB Notification: Performance of matching and sorting (n=5): time 0.000474/0.1464, allocations: 133.5 kB / 0.5638 GB, free: 14.55 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.136e-05/0.1465, allocations: 55.41 kB / 0.5639 GB, free: 14.49 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002703/0.1468, allocations: 262.6 kB / 0.5641 GB, free: 14.23 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/0.1468, allocations: 25.7 kB / 0.5641 GB, free: 14.2 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001285/0.1469, allocations: 171.9 kB / 0.5643 GB, free: 14.02 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.56e-05/0.1469, allocations: 19.84 kB / 0.5643 GB, free: 14 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.838e-05/0.147, allocations: 41.66 kB / 0.5644 GB, free: 13.96 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001625/0.1472, allocations: 334.8 kB / 0.5647 GB, free: 13.62 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001406/0.1473, allocations: 35.97 kB / 0.5647 GB, free: 13.59 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002015/0.1475, allocations: 132.8 kB / 0.5648 GB, free: 13.41 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003534/0.1479, allocations: 184.6 kB / 0.565 GB, free: 13.18 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.1479, allocations: 0 / 0.565 GB, free: 13.18 MB / 430.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004295/0.1483, allocations: 201.2 kB / 0.5652 GB, free: 12.98 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.1483, allocations: 8 kB / 0.5652 GB, free: 12.97 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.381e-05/0.1483, allocations: 16 kB / 0.5652 GB, free: 12.96 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.951e-05/0.1484, allocations: 4.438 kB / 0.5652 GB, free: 12.95 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001298/0.1485, allocations: 35.91 kB / 0.5653 GB, free: 12.92 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.078e-05/0.1485, allocations: 7.984 kB / 0.5653 GB, free: 12.91 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000128/0.1486, allocations: 31.97 kB / 0.5653 GB, free: 12.88 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.266e-05/0.1486, allocations: 16 kB / 0.5653 GB, free: 12.86 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 2 (m_flow_IN_con_2.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 (17): * Single equations (assignments): 15 * 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.0001249/0.1488, allocations: 137.6 kB / 0.5654 GB, free: 12.72 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.124e-05/0.1488, allocations: 19.86 kB / 0.5655 GB, free: 12.7 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003966/0.1492, allocations: 138.8 kB / 0.5656 GB, free: 12.56 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.633e-06/0.1492, allocations: 4 kB / 0.5656 GB, free: 12.55 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.1492, allocations: 0 / 0.5656 GB, free: 12.55 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.1492, allocations: 144 / 0.5656 GB, free: 12.55 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002723/0.1495, allocations: 225.5 kB / 0.5658 GB, free: 12.29 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.947e-05/0.1495, allocations: 8 kB / 0.5658 GB, free: 12.28 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.292e-05/0.1496, allocations: 15.97 kB / 0.5658 GB, free: 12.26 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.1496, allocations: 0 / 0.5658 GB, free: 12.26 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.404e-05/0.1496, allocations: 8 kB / 0.5659 GB, free: 12.25 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.1496, allocations: 0 / 0.5659 GB, free: 12.25 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.1496, allocations: 0 / 0.5659 GB, free: 12.25 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003368/0.1499, allocations: 207.3 kB / 0.566 GB, free: 12.04 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.314e-05/0.15, allocations: 101 kB / 0.5661 GB, free: 11.92 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.695e-05/0.15, allocations: 4 kB / 0.5661 GB, free: 11.91 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001008/0.1501, allocations: 3.984 kB / 0.5662 GB, free: 11.91 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.764e-05/0.1502, allocations: 7.938 kB / 0.5662 GB, free: 11.9 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.586e-06/0.1502, allocations: 4 kB / 0.5662 GB, free: 11.9 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001753/0.1504, allocations: 182 kB / 0.5663 GB, free: 11.72 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1504, allocations: 0 / 0.5663 GB, free: 11.72 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003894/0.1508, allocations: 75.81 kB / 0.5664 GB, free: 11.64 MB / 430.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.0003531/0.1511, allocations: 170.9 kB / 0.5666 GB, free: 11.46 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0004782/0.1516, allocations: 175.1 kB / 0.5667 GB, free: 11.28 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.1516, allocations: 0.875 kB / 0.5667 GB, free: 11.28 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002269/0.1518, allocations: 99.38 kB / 0.5668 GB, free: 11.17 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003591/0.1522, allocations: 24.88 kB / 0.5669 GB, free: 11.14 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007319/0.1529, allocations: 389.6 kB / 0.5672 GB, free: 10.73 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003829/0.1533, allocations: 0.732 MB / 0.5679 GB, free: 9.977 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.357e-05/0.1533, allocations: 15.44 kB / 0.568 GB, free: 9.961 MB / 430.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1533, allocations: 0 / 0.568 GB, free: 9.961 MB / 430.1 MB Notification: Performance of Templates: time 0.007498/0.1608, allocations: 4.464 MB / 0.5723 GB, free: 5.516 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HeatExchanger/kc_flatTube/kc_flatTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.020944267045707]