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_roundTube.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.001805/0.001805, allocations: 120.4 kB / 17.79 MB, free: 5.285 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.002318/0.002318, allocations: 199.3 kB / 20.74 MB, free: 2.344 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.501/1.501, 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.2424/0.2424, allocations: 46.91 MB / 357.1 MB, free: 10.33 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_roundTube,fileNamePrefix="ModelicaTest_4_1_0_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_4_1_0_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.003016/0.003016, allocations: 71.89 kB / 0.491 GB, free: 7.949 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1439/0.1469, 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_roundTube): time 0.003449/0.1503, allocations: 2.121 MB / 0.5575 GB, free: 3.695 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002627/0.153, allocations: 1.721 MB / 0.5592 GB, free: 1.969 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.228e-05/0.153, allocations: 7.938 kB / 0.5592 GB, free: 1.961 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003077/0.1533, allocations: 95.38 kB / 0.5593 GB, free: 1.867 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001542/0.1535, allocations: 67.41 kB / 0.5593 GB, free: 1.801 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008444/0.1543, allocations: 354.7 kB / 0.5597 GB, free: 1.453 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000205/0.1546, allocations: 147 kB / 0.5598 GB, free: 1.309 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.582e-05/0.1546, allocations: 12.31 kB / 0.5598 GB, free: 1.293 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.053e-05/0.1547, allocations: 51.67 kB / 0.5599 GB, free: 1.242 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001036/0.1548, allocations: 63.53 kB / 0.5599 GB, free: 1.18 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.682e-05/0.1548, allocations: 4 kB / 0.5599 GB, free: 1.176 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00125/0.1561, allocations: 0.7997 MB / 0.5607 GB, free: 384 kB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.892e-05/0.1561, allocations: 23.86 kB / 0.5607 GB, free: 360 kB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 8.26e-05/0.1562, allocations: 79.41 kB / 0.5608 GB, free: 280 kB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008059/0.157, allocations: 0.5878 MB / 0.5614 GB, free: 15.68 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.157, allocations: 0 / 0.5614 GB, free: 15.68 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.157, allocations: 0 / 0.5614 GB, free: 15.68 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.252e-06/0.157, allocations: 4 kB / 0.5614 GB, free: 15.68 MB / 430.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.0007812/0.1578, allocations: 0.518 MB / 0.5619 GB, free: 15.11 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.809e-05/0.1578, allocations: 12.03 kB / 0.5619 GB, free: 15.1 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.062e-05/0.1579, allocations: 54.73 kB / 0.5619 GB, free: 15.04 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.932e-05/0.158, allocations: 24.8 kB / 0.562 GB, free: 15.01 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002204/0.1582, allocations: 212.3 kB / 0.5622 GB, free: 14.77 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.821e-05/0.1582, allocations: 12.44 kB / 0.5622 GB, free: 14.75 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.614e-05/0.1582, allocations: 27.88 kB / 0.5622 GB, free: 14.73 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004519/0.1587, allocations: 263.5 kB / 0.5625 GB, free: 14.45 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.1587, allocations: 0 / 0.5625 GB, free: 14.45 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.08e-05/0.1587, allocations: 8 kB / 0.5625 GB, free: 14.44 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.177e-06/0.1587, allocations: 4 kB / 0.5625 GB, free: 14.44 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003323/0.159, allocations: 157.3 kB / 0.5626 GB, free: 14.28 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001095/0.1601, allocations: 0.912 MB / 0.5635 GB, free: 13.3 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002009/0.1603, allocations: 58.55 kB / 0.5636 GB, free: 13.23 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001168/0.1605, allocations: 32.94 kB / 0.5636 GB, free: 13.2 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.043e-05/0.1605, allocations: 4 kB / 0.5636 GB, free: 13.2 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.821e-05/0.1605, allocations: 30.56 kB / 0.5636 GB, free: 13.16 MB / 430.1 MB Notification: Performance of pre-optimization done (n=5): time 1.133e-06/0.1605, allocations: 0 / 0.5636 GB, free: 13.16 MB / 430.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004886/0.161, allocations: 153.4 kB / 0.5638 GB, free: 13 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.636e-05/0.1611, allocations: 51.41 kB / 0.5638 GB, free: 12.94 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003186/0.1614, allocations: 262.9 kB / 0.5641 GB, free: 12.68 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.111e-05/0.1614, allocations: 29.7 kB / 0.5641 GB, free: 12.64 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001385/0.1615, allocations: 187.5 kB / 0.5643 GB, free: 12.45 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.912e-05/0.1616, allocations: 27.78 kB / 0.5643 GB, free: 12.43 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.681e-05/0.1616, allocations: 49.66 kB / 0.5644 GB, free: 12.37 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001552/0.1618, allocations: 326.8 kB / 0.5647 GB, free: 12.04 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001465/0.1619, allocations: 48.19 kB / 0.5647 GB, free: 11.99 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002461/0.1622, allocations: 192.7 kB / 0.5649 GB, free: 11.74 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000407/0.1626, allocations: 255.4 kB / 0.5651 GB, free: 11.42 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.011e-06/0.1626, allocations: 4 kB / 0.5651 GB, free: 11.41 MB / 430.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004954/0.1631, allocations: 253.3 kB / 0.5654 GB, free: 11.16 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.1631, allocations: 8 kB / 0.5654 GB, free: 11.15 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.122e-05/0.1631, allocations: 12 kB / 0.5654 GB, free: 11.14 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.174e-05/0.1632, allocations: 11.94 kB / 0.5654 GB, free: 11.13 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001713/0.1633, allocations: 55.84 kB / 0.5655 GB, free: 11.07 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.021e-05/0.1633, allocations: 4 kB / 0.5655 GB, free: 11.07 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001672/0.1635, allocations: 44.09 kB / 0.5655 GB, free: 11.03 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.343e-05/0.1635, allocations: 20 kB / 0.5655 GB, free: 11.01 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.0001182/0.1637, allocations: 133.7 kB / 0.5657 GB, free: 10.87 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.419e-05/0.1637, allocations: 19.86 kB / 0.5657 GB, free: 10.85 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003872/0.1641, allocations: 142.8 kB / 0.5658 GB, free: 10.7 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.215e-06/0.1641, allocations: 7.938 kB / 0.5658 GB, free: 10.69 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.1641, allocations: 3.938 kB / 0.5658 GB, free: 10.69 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.1641, allocations: 0 / 0.5658 GB, free: 10.69 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000256/0.1644, allocations: 217.5 kB / 0.566 GB, free: 10.43 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-05/0.1644, allocations: 12 kB / 0.5661 GB, free: 10.41 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.19e-05/0.1644, allocations: 7.984 kB / 0.5661 GB, free: 10.41 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.734e-06/0.1644, allocations: 192 / 0.5661 GB, free: 10.41 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.381e-05/0.1645, allocations: 12 kB / 0.5661 GB, free: 10.39 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.965e-06/0.1645, allocations: 3.938 kB / 0.5661 GB, free: 10.39 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.1645, allocations: 0 / 0.5661 GB, free: 10.39 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003365/0.1648, allocations: 207.3 kB / 0.5663 GB, free: 10.17 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.843e-05/0.1649, allocations: 92.97 kB / 0.5664 GB, free: 10.06 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.742e-05/0.1649, allocations: 4 kB / 0.5664 GB, free: 10.06 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001048/0.165, allocations: 11.92 kB / 0.5664 GB, free: 10.05 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.096e-05/0.165, allocations: 8 kB / 0.5664 GB, free: 10.04 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.647e-06/0.165, allocations: 4 kB / 0.5664 GB, free: 10.04 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001757/0.1652, allocations: 182 kB / 0.5666 GB, free: 9.855 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1652, allocations: 0 / 0.5666 GB, free: 9.855 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004992/0.1657, allocations: 107.8 kB / 0.5667 GB, free: 9.75 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.001016/0.1667, allocations: 0.8409 MB / 0.5675 GB, free: 8.883 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0004888/0.1672, allocations: 192.4 kB / 0.5677 GB, free: 8.684 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1672, allocations: 0 / 0.5677 GB, free: 8.684 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002301/0.1675, allocations: 107.3 kB / 0.5678 GB, free: 8.566 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003702/0.1678, allocations: 20.83 kB / 0.5678 GB, free: 8.543 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003268/0.1711, allocations: 2.513 MB / 0.5702 GB, free: 5.82 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003966/0.1715, allocations: 0.7323 MB / 0.571 GB, free: 5.062 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 8.682e-05/0.1716, allocations: 26.31 kB / 0.571 GB, free: 5.031 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.471e-05/0.1717, allocations: 63.42 kB / 0.571 GB, free: 4.969 MB / 430.1 MB Notification: Performance of SimCode: time 4e-07/0.1717, allocations: 0 / 0.571 GB, free: 4.969 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03626/0.2079, allocations: 9.067 MB / 0.5799 GB, free: 12.14 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.32/12.52, allocations: 6.984 kB / 0.5799 GB, free: 12.13 MB / 446.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201839 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube.fmu > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HeatExchanger/kc_roundTube/kc_roundTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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: 16.067776121897623]