Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.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.001286/0.001286, allocations: 118.6 kB / 18.5 MB, free: 4.566 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.001359/0.001359, allocations: 214.6 kB / 21.46 MB, free: 1.605 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.457/1.457, allocations: 230.2 MB / 254.5 MB, free: 15.07 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.219/0.219, allocations: 46.9 MB / 357.4 MB, free: 10.47 MB / 286.1 MB " [Timeout remaining time 180] 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: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_KC",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002185/0.002185, allocations: 79.86 kB / 0.4913 GB, free: 8.266 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1259/0.128, allocations: 65.99 MB / 0.5557 GB, free: 6.148 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC): time 0.003758/0.1318, allocations: 2.214 MB / 0.5579 GB, free: 3.914 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001918/0.1337, allocations: 1.094 MB / 0.559 GB, free: 2.816 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.39e-05/0.1338, allocations: 4 kB / 0.559 GB, free: 2.812 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003074/0.1341, allocations: 99.3 kB / 0.5591 GB, free: 2.715 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002953/0.1344, allocations: 91.33 kB / 0.5591 GB, free: 2.625 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002925/0.1347, allocations: 111.5 kB / 0.5592 GB, free: 2.516 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000226/0.1349, allocations: 178.9 kB / 0.5594 GB, free: 2.34 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.191e-05/0.135, allocations: 16.41 kB / 0.5594 GB, free: 2.324 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002033/0.1352, allocations: 79.47 kB / 0.5595 GB, free: 2.246 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001476/0.1353, allocations: 87.48 kB / 0.5596 GB, free: 2.16 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.528e-05/0.1354, allocations: 8 kB / 0.5596 GB, free: 2.152 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004369/0.1358, allocations: 267.6 kB / 0.5599 GB, free: 1.891 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.396e-05/0.1359, allocations: 23.84 kB / 0.5599 GB, free: 1.867 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001151/0.136, allocations: 83.34 kB / 0.56 GB, free: 1.785 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000476/0.1364, allocations: 330.5 kB / 0.5603 GB, free: 1.461 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.1365, allocations: 0 / 0.5603 GB, free: 1.461 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1365, allocations: 0 / 0.5603 GB, free: 1.461 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.061e-06/0.1365, allocations: 4 kB / 0.5603 GB, free: 1.457 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.000681/0.1371, allocations: 0.4948 MB / 0.5608 GB, free: 0.9102 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.458e-05/0.1372, allocations: 15.97 kB / 0.5608 GB, free: 0.8945 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.774e-05/0.1373, allocations: 58.72 kB / 0.5608 GB, free: 0.8281 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.713e-05/0.1373, allocations: 24.8 kB / 0.5609 GB, free: 0.8047 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000297/0.1376, allocations: 216 kB / 0.5611 GB, free: 0.5547 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.881e-05/0.1376, allocations: 12.81 kB / 0.5611 GB, free: 0.543 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.264e-05/0.1377, allocations: 27.94 kB / 0.5611 GB, free: 0.5156 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004153/0.1381, allocations: 227.2 kB / 0.5613 GB, free: 292 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.1381, allocations: 7.938 kB / 0.5613 GB, free: 284 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.061e-05/0.1381, allocations: 11.98 kB / 0.5613 GB, free: 272 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.385e-06/0.1381, allocations: 4 kB / 0.5613 GB, free: 268 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004989/0.1386, allocations: 253.5 kB / 0.5616 GB, free: 16 kB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001077/0.1397, allocations: 0.6236 MB / 0.5622 GB, free: 15.34 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002759/0.14, allocations: 86.56 kB / 0.5623 GB, free: 15.25 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001272/0.1401, allocations: 40.98 kB / 0.5623 GB, free: 15.2 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.583e-05/0.1401, allocations: 4 kB / 0.5623 GB, free: 15.2 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.442e-05/0.1402, allocations: 34.5 kB / 0.5623 GB, free: 15.16 MB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 1.202e-06/0.1402, allocations: 4 kB / 0.5623 GB, free: 15.15 MB / 430.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005408/0.1407, allocations: 173.3 kB / 0.5625 GB, free: 14.98 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.667e-05/0.1407, allocations: 51.41 kB / 0.5626 GB, free: 14.91 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002872/0.141, allocations: 267 kB / 0.5628 GB, free: 14.64 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.301e-05/0.1411, allocations: 29.7 kB / 0.5628 GB, free: 14.61 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000131/0.1412, allocations: 183.3 kB / 0.563 GB, free: 14.43 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.084e-05/0.1412, allocations: 31.73 kB / 0.5631 GB, free: 14.39 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.459e-05/0.1413, allocations: 49.66 kB / 0.5631 GB, free: 14.34 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002099/0.1415, allocations: 342.8 kB / 0.5634 GB, free: 14 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001402/0.1416, allocations: 43.97 kB / 0.5635 GB, free: 13.95 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000219/0.1419, allocations: 144.8 kB / 0.5636 GB, free: 13.77 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000367/0.1422, allocations: 208.6 kB / 0.5638 GB, free: 13.52 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.1422, allocations: 0 / 0.5638 GB, free: 13.52 MB / 430.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004856/0.1427, allocations: 241.2 kB / 0.564 GB, free: 13.27 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.01e-05/0.1427, allocations: 10.19 kB / 0.564 GB, free: 13.27 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.615e-06/0.1428, allocations: 4 kB / 0.564 GB, free: 13.26 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.779e-05/0.1428, allocations: 4 kB / 0.5641 GB, free: 13.26 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003851/0.1432, allocations: 87.89 kB / 0.5641 GB, free: 13.17 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000852/0.144, allocations: 1.223 MB / 0.5653 GB, free: 11.9 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001912/0.1442, allocations: 39.7 kB / 0.5654 GB, free: 11.86 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.357e-05/0.1442, allocations: 12 kB / 0.5654 GB, free: 11.85 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 (25): * Single equations (assignments): 23 * 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.0001353/0.1444, allocations: 129.7 kB / 0.5655 GB, free: 11.71 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.414e-05/0.1444, allocations: 28 kB / 0.5655 GB, free: 11.69 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004243/0.1448, allocations: 171.6 kB / 0.5657 GB, free: 11.51 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.1448, allocations: 0 / 0.5657 GB, free: 11.51 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.1448, allocations: 0 / 0.5657 GB, free: 11.51 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.1448, allocations: 8 kB / 0.5657 GB, free: 11.5 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006571/0.1455, allocations: 448 kB / 0.5661 GB, free: 11 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.1455, allocations: 0 / 0.5661 GB, free: 11 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002495/0.1457, allocations: 63.91 kB / 0.5662 GB, free: 10.94 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.1457, allocations: 0 / 0.5662 GB, free: 10.94 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.294e-05/0.1458, allocations: 4 kB / 0.5662 GB, free: 10.94 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007651/0.1465, allocations: 1.211 MB / 0.5674 GB, free: 9.68 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.42e-06/0.1465, allocations: 7.969 kB / 0.5674 GB, free: 9.672 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003797/0.1469, allocations: 253.2 kB / 0.5676 GB, free: 9.402 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.211e-05/0.147, allocations: 100.9 kB / 0.5677 GB, free: 9.285 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.921e-05/0.147, allocations: 4 kB / 0.5677 GB, free: 9.281 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001452/0.1472, allocations: 7.984 kB / 0.5677 GB, free: 9.273 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.578e-05/0.1472, allocations: 11.98 kB / 0.5677 GB, free: 9.262 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.999e-06/0.1472, allocations: 8 kB / 0.5678 GB, free: 9.254 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001712/0.1474, allocations: 186 kB / 0.5679 GB, free: 9.074 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1474, allocations: 0 / 0.5679 GB, free: 9.074 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003616/0.1478, allocations: 67.88 kB / 0.568 GB, free: 9.008 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (9): * Single equations (assignments): 7 * 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.0008441/0.1486, allocations: 0.8232 MB / 0.5688 GB, free: 8.152 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000512/0.1491, allocations: 159.7 kB / 0.569 GB, free: 7.996 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.1491, allocations: 4 kB / 0.569 GB, free: 7.992 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002786/0.1494, allocations: 84.89 kB / 0.569 GB, free: 7.91 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003573/0.1497, allocations: 29.09 kB / 0.5691 GB, free: 7.879 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003188/0.1529, allocations: 2.578 MB / 0.5716 GB, free: 5.117 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003407/0.1533, allocations: 0.7323 MB / 0.5723 GB, free: 4.359 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.977e-05/0.1534, allocations: 21.95 kB / 0.5723 GB, free: 4.336 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.069e-05/0.1534, allocations: 59.41 kB / 0.5724 GB, free: 4.277 MB / 430.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1534, allocations: 0 / 0.5724 GB, free: 4.277 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02962/0.1831, allocations: 6.21 MB / 0.5784 GB, free: 14.29 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.79/11.97, allocations: 3.938 kB / 0.5784 GB, free: 14.28 MB / 446.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_KC_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201879 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_KC.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HeatExchanger/kc_flatTube_KC/kc_flatTube_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.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: 15.014429817907512]