Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001621/0.001621, allocations: 123.4 kB / 17.79 MB, free: 5.266 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001799/0.001799, allocations: 200.3 kB / 20.74 MB, free: 2.32 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.472/1.472, allocations: 230.6 MB / 254.1 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.228/0.228, allocations: 46.92 MB / 357.1 MB, free: 10.32 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+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002161/0.002161, allocations: 71.89 kB / 0.491 GB, free: 7.941 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1201/0.1223, allocations: 65.99 MB / 0.5554 GB, free: 5.832 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube): time 0.003981/0.1263, allocations: 2.147 MB / 0.5575 GB, free: 3.664 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002381/0.1287, allocations: 1.413 MB / 0.5589 GB, free: 2.246 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001547/0.1288, allocations: 4 kB / 0.5589 GB, free: 2.242 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003848/0.1292, allocations: 91.38 kB / 0.559 GB, free: 2.152 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002724/0.1295, allocations: 67.41 kB / 0.559 GB, free: 2.086 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000778/0.1302, allocations: 211.1 kB / 0.5592 GB, free: 1.879 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002594/0.1305, allocations: 147 kB / 0.5594 GB, free: 1.734 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.323e-05/0.1306, allocations: 12.3 kB / 0.5594 GB, free: 1.719 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000217/0.1308, allocations: 71.53 kB / 0.5594 GB, free: 1.648 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001232/0.1309, allocations: 63.59 kB / 0.5595 GB, free: 1.586 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.978e-05/0.1309, allocations: 8 kB / 0.5595 GB, free: 1.578 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006829/0.1316, allocations: 435.3 kB / 0.5599 GB, free: 1.152 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.219e-05/0.1317, allocations: 27.78 kB / 0.56 GB, free: 1.125 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 9.151e-05/0.1318, allocations: 71.48 kB / 0.56 GB, free: 1.055 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006455/0.1324, allocations: 438.2 kB / 0.5604 GB, free: 0.625 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.1324, allocations: 0 / 0.5604 GB, free: 0.625 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1324, allocations: 0 / 0.5604 GB, free: 0.625 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.05e-05/0.1324, allocations: 0 / 0.5604 GB, free: 0.625 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.0007395/0.1332, allocations: 0.4983 MB / 0.5609 GB, free: 80 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.1332, allocations: 12.03 kB / 0.5609 GB, free: 68 kB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.17e-05/0.1333, allocations: 50.73 kB / 0.561 GB, free: 8 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.215e-05/0.1333, allocations: 31.55 kB / 0.561 GB, free: 15.98 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002644/0.1336, allocations: 216 kB / 0.5612 GB, free: 15.73 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.063e-05/0.1336, allocations: 13.5 kB / 0.5612 GB, free: 15.71 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.798e-05/0.1337, allocations: 16 kB / 0.5613 GB, free: 15.7 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004065/0.1341, allocations: 203.5 kB / 0.5614 GB, free: 15.49 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.1341, allocations: 0 / 0.5614 GB, free: 15.49 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.906e-05/0.1341, allocations: 11.94 kB / 0.5615 GB, free: 15.48 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.366e-06/0.1341, allocations: 8 kB / 0.5615 GB, free: 15.47 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003165/0.1344, allocations: 152.2 kB / 0.5616 GB, free: 15.32 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009063/0.1353, allocations: 0.5716 MB / 0.5622 GB, free: 14.7 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002115/0.1355, allocations: 58.55 kB / 0.5622 GB, free: 14.63 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001152/0.1356, allocations: 32.94 kB / 0.5623 GB, free: 14.6 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.594e-05/0.1357, allocations: 7.938 kB / 0.5623 GB, free: 14.59 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.649e-05/0.1357, allocations: 30.56 kB / 0.5623 GB, free: 14.55 MB / 430.1 MB Notification: Performance of pre-optimization done (n=5): time 1.412e-06/0.1357, allocations: 0 / 0.5623 GB, free: 14.55 MB / 430.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005706/0.1363, allocations: 137.4 kB / 0.5624 GB, free: 14.41 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.337e-05/0.1363, allocations: 55.41 kB / 0.5625 GB, free: 14.34 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002871/0.1366, allocations: 258.7 kB / 0.5627 GB, free: 14.09 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.082e-05/0.1366, allocations: 25.7 kB / 0.5627 GB, free: 14.05 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001302/0.1368, allocations: 167.9 kB / 0.5629 GB, free: 13.89 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.36e-05/0.1368, allocations: 15.89 kB / 0.5629 GB, free: 13.87 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.256e-05/0.1369, allocations: 45.66 kB / 0.563 GB, free: 13.82 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001568/0.137, allocations: 330.8 kB / 0.5633 GB, free: 13.49 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001441/0.1372, allocations: 39.97 kB / 0.5633 GB, free: 13.45 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002222/0.1374, allocations: 129 kB / 0.5634 GB, free: 13.28 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003546/0.1377, allocations: 188.7 kB / 0.5636 GB, free: 13.05 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.1378, allocations: 4 kB / 0.5636 GB, free: 13.04 MB / 430.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004546/0.1382, allocations: 205.1 kB / 0.5638 GB, free: 12.84 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/0.1382, allocations: 4.438 kB / 0.5638 GB, free: 12.83 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.194e-05/0.1383, allocations: 20.09 kB / 0.5638 GB, free: 12.81 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.525e-05/0.1383, allocations: 7.984 kB / 0.5639 GB, free: 12.8 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001425/0.1384, allocations: 31.92 kB / 0.5639 GB, free: 12.77 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.186e-05/0.1384, allocations: 4 kB / 0.5639 GB, free: 12.77 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001454/0.1386, allocations: 31.77 kB / 0.5639 GB, free: 12.74 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.589e-05/0.1386, allocations: 16 kB / 0.5639 GB, free: 12.72 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.00013/0.1387, allocations: 135.8 kB / 0.5641 GB, free: 12.58 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.709e-05/0.1388, allocations: 23.84 kB / 0.5641 GB, free: 12.56 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004159/0.1392, allocations: 138.8 kB / 0.5642 GB, free: 12.42 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.022e-06/0.1392, allocations: 4 kB / 0.5642 GB, free: 12.41 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/0.1392, allocations: 3.938 kB / 0.5642 GB, free: 12.41 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.746e-06/0.1392, allocations: 0 / 0.5642 GB, free: 12.41 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002982/0.1395, allocations: 229.5 kB / 0.5644 GB, free: 12.14 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.906e-05/0.1395, allocations: 8 kB / 0.5645 GB, free: 12.13 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.56e-05/0.1396, allocations: 4 kB / 0.5645 GB, free: 12.12 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.1396, allocations: 3.938 kB / 0.5645 GB, free: 12.12 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.457e-05/0.1396, allocations: 7.984 kB / 0.5645 GB, free: 12.11 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.1396, allocations: 0 / 0.5645 GB, free: 12.11 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.1396, allocations: 0 / 0.5645 GB, free: 12.11 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003754/0.14, allocations: 215.3 kB / 0.5647 GB, free: 11.89 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.519e-05/0.1401, allocations: 96.95 kB / 0.5648 GB, free: 11.77 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.794e-05/0.1401, allocations: 0 / 0.5648 GB, free: 11.77 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001031/0.1402, allocations: 4 kB / 0.5648 GB, free: 11.77 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.058e-05/0.1403, allocations: 7.984 kB / 0.5648 GB, free: 11.76 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.215e-05/0.1403, allocations: 4 kB / 0.5648 GB, free: 11.76 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001793/0.1405, allocations: 178 kB / 0.565 GB, free: 11.58 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1405, allocations: 0 / 0.565 GB, free: 11.58 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004117/0.1409, allocations: 83.8 kB / 0.565 GB, free: 11.5 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.0009282/0.1418, allocations: 0.8057 MB / 0.5658 GB, free: 10.66 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0004704/0.1423, allocations: 168 kB / 0.566 GB, free: 10.49 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.1423, allocations: 4 kB / 0.566 GB, free: 10.48 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002206/0.1425, allocations: 103.3 kB / 0.5661 GB, free: 10.37 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004284/0.1429, allocations: 27.8 kB / 0.5661 GB, free: 10.34 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003367/0.1463, allocations: 2.377 MB / 0.5684 GB, free: 7.801 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003849/0.1467, allocations: 0.7281 MB / 0.5691 GB, free: 7.047 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.75e-05/0.1467, allocations: 25.47 kB / 0.5692 GB, free: 7.023 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.148e-05/0.1468, allocations: 59.42 kB / 0.5692 GB, free: 6.965 MB / 430.1 MB Notification: Performance of SimCode: time 6.31e-07/0.1468, allocations: 0 / 0.5692 GB, free: 6.965 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03253/0.1794, allocations: 6.85 MB / 0.5759 GB, free: 356 kB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.04/12.22, allocations: 6.594 kB / 0.5759 GB, free: 352 kB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201879 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube.fmu > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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: 15.372306793928146]