Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.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.00126/0.00126, allocations: 112.4 kB / 18.5 MB, free: 4.543 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.001325/0.001325, allocations: 208.9 kB / 21.46 MB, free: 1.586 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.427/1.427, allocations: 230.2 MB / 254.5 MB, free: 15.43 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.2213/0.2213, allocations: 46.9 MB / 357.4 MB, free: 10.54 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_roundTube,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002177/0.002177, allocations: 81.22 kB / 0.4913 GB, free: 26.8 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1146/0.1167, allocations: 65.98 MB / 0.5557 GB, free: 9.137 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube): time 0.003662/0.1204, allocations: 2.131 MB / 0.5578 GB, free: 6.988 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002742/0.1231, allocations: 1.725 MB / 0.5595 GB, free: 5.258 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.436e-05/0.1232, allocations: 0 / 0.5595 GB, free: 5.258 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003315/0.1236, allocations: 91.42 kB / 0.5596 GB, free: 5.168 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001474/0.1237, allocations: 63.44 kB / 0.5596 GB, free: 5.105 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008249/0.1245, allocations: 362.6 kB / 0.56 GB, free: 4.75 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001925/0.1247, allocations: 151 kB / 0.5601 GB, free: 4.602 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.182e-05/0.1248, allocations: 12.25 kB / 0.5601 GB, free: 4.586 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.59e-05/0.1249, allocations: 51.67 kB / 0.5602 GB, free: 4.535 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001218/0.125, allocations: 63.64 kB / 0.5602 GB, free: 4.473 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.773e-05/0.125, allocations: 7.938 kB / 0.5602 GB, free: 4.465 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001293/0.1263, allocations: 0.7918 MB / 0.561 GB, free: 3.672 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.745e-05/0.1264, allocations: 27.8 kB / 0.561 GB, free: 3.645 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 8.845e-05/0.1265, allocations: 71.48 kB / 0.5611 GB, free: 3.574 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007787/0.1272, allocations: 0.5917 MB / 0.5617 GB, free: 2.98 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.1273, allocations: 0 / 0.5617 GB, free: 2.98 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.1273, allocations: 4 kB / 0.5617 GB, free: 2.977 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.019e-05/0.1273, allocations: 0 / 0.5617 GB, free: 2.977 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0007187/0.128, allocations: 0.518 MB / 0.5622 GB, free: 2.406 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.165e-05/0.128, allocations: 8.031 kB / 0.5622 GB, free: 2.398 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.769e-05/0.1281, allocations: 54.73 kB / 0.5623 GB, free: 2.336 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.458e-05/0.1281, allocations: 24.8 kB / 0.5623 GB, free: 2.312 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002754/0.1284, allocations: 215.2 kB / 0.5625 GB, free: 2.066 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.289e-05/0.1284, allocations: 20.44 kB / 0.5625 GB, free: 2.047 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.091e-05/0.1285, allocations: 19.98 kB / 0.5625 GB, free: 2.027 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004603/0.1289, allocations: 263.5 kB / 0.5628 GB, free: 1.75 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.1289, allocations: 0 / 0.5628 GB, free: 1.75 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.164e-05/0.129, allocations: 12 kB / 0.5628 GB, free: 1.738 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.378e-06/0.129, allocations: 4 kB / 0.5628 GB, free: 1.734 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000304/0.1293, allocations: 161.3 kB / 0.5629 GB, free: 1.574 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001168/0.1304, allocations: 0.9081 MB / 0.5638 GB, free: 0.5977 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001932/0.1306, allocations: 62.48 kB / 0.5639 GB, free: 0.5273 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001016/0.1307, allocations: 40.81 kB / 0.5639 GB, free: 496 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.026e-05/0.1308, allocations: 0 / 0.5639 GB, free: 496 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.426e-05/0.1308, allocations: 34.56 kB / 0.564 GB, free: 452 kB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 9.51e-07/0.1308, allocations: 0 / 0.564 GB, free: 452 kB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004282/0.1312, allocations: 137.6 kB / 0.5641 GB, free: 308 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.029e-05/0.1313, allocations: 55.34 kB / 0.5641 GB, free: 240 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002751/0.1315, allocations: 266.9 kB / 0.5644 GB, free: 15.97 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.474e-05/0.1316, allocations: 29.7 kB / 0.5644 GB, free: 15.93 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001196/0.1317, allocations: 179.5 kB / 0.5646 GB, free: 15.75 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.271e-05/0.1317, allocations: 23.8 kB / 0.5646 GB, free: 15.73 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.044e-05/0.1318, allocations: 57.66 kB / 0.5647 GB, free: 15.67 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001486/0.1319, allocations: 330.8 kB / 0.565 GB, free: 15.34 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001352/0.1321, allocations: 52.19 kB / 0.565 GB, free: 15.28 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002331/0.1323, allocations: 180.2 kB / 0.5652 GB, free: 15.04 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003951/0.1327, allocations: 255.4 kB / 0.5655 GB, free: 14.71 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.631e-06/0.1327, allocations: 4 kB / 0.5655 GB, free: 14.71 MB / 430.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004611/0.1332, allocations: 253.5 kB / 0.5657 GB, free: 14.46 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.2e-05/0.1332, allocations: 12.12 kB / 0.5657 GB, free: 14.45 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.872e-05/0.1332, allocations: 16 kB / 0.5657 GB, free: 14.43 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.205e-05/0.1332, allocations: 11.94 kB / 0.5657 GB, free: 14.42 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001579/0.1334, allocations: 47.91 kB / 0.5658 GB, free: 14.37 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.152e-05/0.1334, allocations: 7.938 kB / 0.5658 GB, free: 14.36 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001557/0.1336, allocations: 43.72 kB / 0.5658 GB, free: 14.32 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.029e-05/0.1336, allocations: 12 kB / 0.5658 GB, free: 14.31 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 3 (m_flow_IN_con_4.N,m_flow_IN_con_4.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: 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.000117/0.1337, allocations: 133.7 kB / 0.566 GB, free: 14.17 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.998e-05/0.1337, allocations: 23.86 kB / 0.566 GB, free: 14.14 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003683/0.1341, allocations: 142.8 kB / 0.5661 GB, free: 14 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.135e-06/0.1341, allocations: 11.92 kB / 0.5661 GB, free: 13.98 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.1341, allocations: 0 / 0.5661 GB, free: 13.98 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.1341, allocations: 0 / 0.5661 GB, free: 13.98 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002462/0.1344, allocations: 217.6 kB / 0.5664 GB, free: 13.72 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.82e-05/0.1344, allocations: 8 kB / 0.5664 GB, free: 13.71 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.664e-05/0.1344, allocations: 7.984 kB / 0.5664 GB, free: 13.71 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.1344, allocations: 0 / 0.5664 GB, free: 13.71 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.175e-05/0.1344, allocations: 4 kB / 0.5664 GB, free: 13.7 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.869e-06/0.1344, allocations: 7.938 kB / 0.5664 GB, free: 13.7 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.1344, allocations: 3.938 kB / 0.5664 GB, free: 13.69 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003096/0.1348, allocations: 211.4 kB / 0.5666 GB, free: 13.47 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.688e-05/0.1348, allocations: 92.97 kB / 0.5667 GB, free: 13.36 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.837e-05/0.1349, allocations: 4 kB / 0.5667 GB, free: 13.36 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.825e-05/0.135, allocations: 11.86 kB / 0.5667 GB, free: 13.34 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.512e-05/0.135, allocations: 4 kB / 0.5667 GB, free: 13.34 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.426e-06/0.135, allocations: 4 kB / 0.5667 GB, free: 13.34 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001901/0.1352, allocations: 193.9 kB / 0.5669 GB, free: 13.14 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1352, allocations: 0 / 0.5669 GB, free: 13.14 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004596/0.1357, allocations: 107.7 kB / 0.567 GB, free: 13.04 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.0009725/0.1366, allocations: 0.8295 MB / 0.5678 GB, free: 12.18 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0004664/0.1371, allocations: 196.4 kB / 0.568 GB, free: 11.98 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1371, allocations: 0 / 0.568 GB, free: 11.98 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002047/0.1373, allocations: 99.38 kB / 0.5681 GB, free: 11.87 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003453/0.1376, allocations: 24.81 kB / 0.5681 GB, free: 11.84 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003077/0.1407, allocations: 2.522 MB / 0.5706 GB, free: 9.113 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003502/0.1411, allocations: 0.7284 MB / 0.5713 GB, free: 8.359 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 8.421e-05/0.1412, allocations: 29.88 kB / 0.5713 GB, free: 8.324 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8e-05/0.1412, allocations: 59.42 kB / 0.5714 GB, free: 8.266 MB / 430.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1412, allocations: 4 kB / 0.5714 GB, free: 8.262 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03185/0.1731, allocations: 9.053 MB / 0.5802 GB, free: 15.42 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.03/12.2, allocations: 23.16 kB / 0.5802 GB, free: 15.4 MB / 446.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201839 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_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_roundTube/kc_roundTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.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.262464807834476]