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_KC.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.001326/0.001326, allocations: 123.4 kB / 17.79 MB, free: 5.359 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.001404/0.001404, allocations: 204.3 kB / 20.74 MB, free: 2.414 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.44/1.44, allocations: 230.6 MB / 254.1 MB, free: 15.08 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.23/0.23, allocations: 46.92 MB / 357.1 MB, free: 10.31 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_KC,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube_KC",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003079/0.003079, allocations: 64.09 kB / 0.491 GB, free: 7.926 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1546/0.1577, allocations: 65.99 MB / 0.5554 GB, free: 5.809 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC): time 0.003959/0.1617, allocations: 2.7 MB / 0.5581 GB, free: 3.086 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002369/0.164, allocations: 1.487 MB / 0.5595 GB, free: 1.594 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001348/0.1642, allocations: 0 / 0.5595 GB, free: 1.594 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003566/0.1645, allocations: 115.2 kB / 0.5596 GB, free: 1.48 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003714/0.1649, allocations: 138.9 kB / 0.5598 GB, free: 1.344 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005661/0.1655, allocations: 263 kB / 0.56 GB, free: 1.086 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002994/0.1658, allocations: 282.1 kB / 0.5603 GB, free: 0.8086 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.501e-05/0.1658, allocations: 12.75 kB / 0.5603 GB, free: 0.7969 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001171/0.1659, allocations: 111.2 kB / 0.5604 GB, free: 0.6875 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001742/0.1661, allocations: 119.2 kB / 0.5605 GB, free: 0.5703 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.102e-05/0.1662, allocations: 8 kB / 0.5605 GB, free: 0.5625 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009542/0.1671, allocations: 0.6124 MB / 0.5611 GB, free: 15.95 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 6.388e-05/0.1672, allocations: 39.66 kB / 0.5611 GB, free: 15.91 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001242/0.1673, allocations: 131 kB / 0.5613 GB, free: 15.78 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007347/0.168, allocations: 0.564 MB / 0.5618 GB, free: 15.21 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.1681, allocations: 4 kB / 0.5618 GB, free: 15.21 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1681, allocations: 0 / 0.5618 GB, free: 15.21 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.332e-06/0.1681, allocations: 0 / 0.5618 GB, free: 15.21 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.0008975/0.169, allocations: 0.6465 MB / 0.5625 GB, free: 14.52 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.169, allocations: 8.031 kB / 0.5625 GB, free: 14.51 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.572e-05/0.1691, allocations: 74.72 kB / 0.5625 GB, free: 14.43 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.805e-05/0.1691, allocations: 40.7 kB / 0.5626 GB, free: 14.39 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002942/0.1694, allocations: 243.6 kB / 0.5628 GB, free: 14.11 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.047e-05/0.1695, allocations: 29.38 kB / 0.5628 GB, free: 14.08 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.734e-05/0.1695, allocations: 39.94 kB / 0.5629 GB, free: 14.04 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007608/0.1703, allocations: 0.5763 MB / 0.5634 GB, free: 13.33 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.923e-05/0.1703, allocations: 11.94 kB / 0.5634 GB, free: 13.32 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.354e-05/0.1703, allocations: 20 kB / 0.5635 GB, free: 13.3 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.153e-05/0.1703, allocations: 8 kB / 0.5635 GB, free: 13.29 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005459/0.1709, allocations: 337 kB / 0.5638 GB, free: 12.96 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002793/0.1737, allocations: 4.055 MB / 0.5678 GB, free: 8.707 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002663/0.174, allocations: 86.53 kB / 0.5678 GB, free: 8.613 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001369/0.1741, allocations: 36.95 kB / 0.5679 GB, free: 8.574 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.535e-05/0.1741, allocations: 3.984 kB / 0.5679 GB, free: 8.57 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.888e-05/0.1741, allocations: 42.56 kB / 0.5679 GB, free: 8.52 MB / 430.1 MB Notification: Performance of pre-optimization done (n=7): time 1.372e-06/0.1741, allocations: 0 / 0.5679 GB, free: 8.52 MB / 430.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005434/0.1747, allocations: 165.3 kB / 0.5681 GB, free: 8.352 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.933e-05/0.1747, allocations: 55.41 kB / 0.5681 GB, free: 8.285 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004176/0.1751, allocations: 409.8 kB / 0.5685 GB, free: 7.875 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.222e-05/0.1752, allocations: 29.7 kB / 0.5685 GB, free: 7.84 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001791/0.1753, allocations: 255.5 kB / 0.5688 GB, free: 7.586 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.518e-05/0.1754, allocations: 35.78 kB / 0.5688 GB, free: 7.551 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001005/0.1755, allocations: 69.97 kB / 0.5689 GB, free: 7.473 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001675/0.1756, allocations: 350.7 kB / 0.5692 GB, free: 7.121 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001722/0.1758, allocations: 56.61 kB / 0.5693 GB, free: 7.066 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000319/0.1761, allocations: 266.4 kB / 0.5695 GB, free: 6.703 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005185/0.1767, allocations: 343.9 kB / 0.5699 GB, free: 6.266 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.1767, allocations: 0 / 0.5699 GB, free: 6.266 MB / 430.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006452/0.1773, allocations: 361.7 kB / 0.5702 GB, free: 5.906 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/0.1773, allocations: 8 kB / 0.5702 GB, free: 5.898 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/0.1773, allocations: 11.94 kB / 0.5702 GB, free: 5.887 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.263e-05/0.1774, allocations: 12 kB / 0.5702 GB, free: 5.875 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004841/0.1778, allocations: 107.8 kB / 0.5703 GB, free: 5.77 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008099/0.1787, allocations: 1.227 MB / 0.5715 GB, free: 4.496 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002789/0.1789, allocations: 63.5 kB / 0.5716 GB, free: 4.434 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.076e-05/0.179, allocations: 24 kB / 0.5716 GB, free: 4.41 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 5 (m_flow_IN_con_4.N,m_flow_IN_con_4.geometry,m_flow_IN_con_1.geometry,m_flow_IN_con_3.geometry,m_flow_IN_con_2.geometry) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 37 * 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.0001556/0.1791, allocations: 150.5 kB / 0.5718 GB, free: 4.258 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.024e-05/0.1792, allocations: 39.7 kB / 0.5718 GB, free: 4.219 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004591/0.1796, allocations: 176.9 kB / 0.572 GB, free: 4.039 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.1796, allocations: 0 / 0.572 GB, free: 4.039 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.1796, allocations: 4 kB / 0.572 GB, free: 4.035 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.1796, allocations: 4 kB / 0.572 GB, free: 4.031 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000333/0.18, allocations: 277.4 kB / 0.5722 GB, free: 3.711 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.18, allocations: 0 / 0.5722 GB, free: 3.711 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002867/0.1803, allocations: 51.97 kB / 0.5723 GB, free: 3.66 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.621e-06/0.1803, allocations: 4 kB / 0.5723 GB, free: 3.656 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.091e-05/0.1803, allocations: 0 / 0.5723 GB, free: 3.656 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000733/0.181, allocations: 1.211 MB / 0.5735 GB, free: 2.398 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.181, allocations: 0 / 0.5735 GB, free: 2.398 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003863/0.1814, allocations: 239.3 kB / 0.5737 GB, free: 2.148 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001029/0.1815, allocations: 120.8 kB / 0.5738 GB, free: 2.012 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.054e-05/0.1816, allocations: 4.031 kB / 0.5738 GB, free: 2.008 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001799/0.1817, allocations: 15.92 kB / 0.5738 GB, free: 1.992 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.88e-05/0.1818, allocations: 7.938 kB / 0.5739 GB, free: 1.984 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.294e-05/0.1818, allocations: 7.984 kB / 0.5739 GB, free: 1.977 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002813/0.1821, allocations: 271.2 kB / 0.5741 GB, free: 1.711 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1821, allocations: 0 / 0.5741 GB, free: 1.711 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005451/0.1826, allocations: 119.8 kB / 0.5742 GB, free: 1.594 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 (7): * Single equations (assignments): 5 * 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.0009724/0.1836, allocations: 0.8487 MB / 0.5751 GB, free: 0.7188 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0005871/0.1842, allocations: 197.6 kB / 0.5753 GB, free: 0.5273 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.1842, allocations: 4 kB / 0.5753 GB, free: 0.5234 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002945/0.1845, allocations: 71.91 kB / 0.5753 GB, free: 464 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003951/0.1849, allocations: 42.52 kB / 0.5754 GB, free: 424 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004209/0.1891, allocations: 3.411 MB / 0.5787 GB, free: 12.72 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004196/0.1895, allocations: 0.7678 MB / 0.5794 GB, free: 11.93 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001245/0.1896, allocations: 34.95 kB / 0.5795 GB, free: 11.89 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001389/0.1898, allocations: 103.4 kB / 0.5796 GB, free: 11.79 MB / 446.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1898, allocations: 0 / 0.5796 GB, free: 11.79 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03495/0.2247, allocations: 10.16 MB / 0.5895 GB, free: 1.867 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.53/12.75, allocations: 3.938 kB / 0.5895 GB, free: 1.863 MB / 446.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube_KC_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_roundTube_KC.fmu > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC_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/kc_roundTube_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_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: 16.073415172984824]