Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.0008532/0.0008532, allocations: 79.69 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0008178/0.0008178, allocations: 170 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.8852/0.8852, allocations: 177.1 MB / 204.3 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2429/0.2429, allocations: 32.79 MB / 293.5 MB, free: 1.25 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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_0_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_0_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 2.334e-06/2.334e-06, allocations: 7.938 kB / 439.6 MB, free: 4.23 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.418e-05/1.651e-05, allocations: 4.531 kB / 439.6 MB, free: 4.227 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube): time 0.002295/0.002311, allocations: 2.036 MB / 441.7 MB, free: 2.172 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001731/0.004042, allocations: 1.538 MB / 443.2 MB, free: 0.6289 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.778e-05/0.00414, allocations: 4 kB / 443.2 MB, free: 0.625 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003242/0.004464, allocations: 91.33 kB / 443.3 MB, free: 0.5352 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001253/0.00459, allocations: 63.42 kB / 443.4 MB, free: 484 kB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007549/0.005344, allocations: 366.5 kB / 443.7 MB, free: 116 kB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.1661/0.1715, allocations: 153.9 kB / 443.9 MB, free: 43.48 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.643e-05/0.1715, allocations: 13.62 kB / 443.9 MB, free: 43.48 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001094/0.1717, allocations: 73.64 kB / 443.9 MB, free: 43.48 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.54e-05/0.1717, allocations: 45.81 kB / 444 MB, free: 43.48 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.587e-05/0.1717, allocations: 2.875 kB / 444 MB, free: 43.48 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007527/0.1725, allocations: 0.5172 MB / 444.5 MB, free: 43.48 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.901e-05/0.1725, allocations: 26.23 kB / 444.5 MB, free: 43.48 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.466e-05/0.1726, allocations: 44.17 kB / 444.6 MB, free: 43.48 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004577/0.1731, allocations: 0.5856 MB / 445.2 MB, free: 43.45 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.1731, allocations: 6.875 kB / 445.2 MB, free: 43.45 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.273e-06/0.1731, allocations: 0 / 445.2 MB, free: 43.45 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.869e-06/0.1731, allocations: 0 / 445.2 MB, free: 43.45 MB / 410.7 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.0003948/0.1735, allocations: 447.3 kB / 445.6 MB, free: 43.11 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.1735, allocations: 11.53 kB / 445.6 MB, free: 43.11 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.022e-05/0.1735, allocations: 57.03 kB / 445.7 MB, free: 43.07 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.894e-05/0.1736, allocations: 24.36 kB / 445.7 MB, free: 43.05 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000105/0.1737, allocations: 156 kB / 445.9 MB, free: 42.91 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.057e-05/0.1737, allocations: 13.5 kB / 445.9 MB, free: 42.91 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.452e-05/0.1737, allocations: 21.56 kB / 445.9 MB, free: 42.91 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002371/0.1739, allocations: 275.3 kB / 446.2 MB, free: 42.83 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.1739, allocations: 0 / 446.2 MB, free: 42.83 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.563e-05/0.1739, allocations: 10.38 kB / 446.2 MB, free: 42.83 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.174, allocations: 5.281 kB / 446.2 MB, free: 42.83 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001484/0.1741, allocations: 166.1 kB / 446.3 MB, free: 42.82 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004925/0.1746, allocations: 0.8586 MB / 447.2 MB, free: 42.21 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000108/0.1747, allocations: 57.88 kB / 447.2 MB, free: 42.19 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.892e-05/0.1747, allocations: 30.09 kB / 447.3 MB, free: 42.18 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.248e-05/0.1748, allocations: 0 / 447.3 MB, free: 42.18 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.092e-05/0.1748, allocations: 34.94 kB / 447.3 MB, free: 42.14 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 7.81e-07/0.1748, allocations: 0 / 447.3 MB, free: 42.14 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002382/0.175, allocations: 135.2 kB / 447.4 MB, free: 42.1 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.705e-05/0.175, allocations: 52.47 kB / 447.5 MB, free: 42.04 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001227/0.1752, allocations: 283.1 kB / 447.8 MB, free: 41.92 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.901e-06/0.1752, allocations: 25.7 kB / 447.8 MB, free: 41.89 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.737e-05/0.1752, allocations: 182.6 kB / 448 MB, free: 41.76 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.008e-05/0.1752, allocations: 25.52 kB / 448 MB, free: 41.74 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.043e-05/0.1753, allocations: 54.64 kB / 448.1 MB, free: 41.73 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.611e-05/0.1753, allocations: 334.5 kB / 448.4 MB, free: 41.41 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.192e-05/0.1754, allocations: 42.94 kB / 448.4 MB, free: 41.41 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.192e-05/0.1754, allocations: 190.8 kB / 448.6 MB, free: 41.23 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001579/0.1756, allocations: 257.3 kB / 448.9 MB, free: 41.05 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.1756, allocations: 0 / 448.9 MB, free: 41.05 MB / 410.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002203/0.1758, allocations: 261.2 kB / 449.1 MB, free: 41 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.166e-05/0.1758, allocations: 8.625 kB / 449.1 MB, free: 41 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.687e-05/0.1758, allocations: 14.34 kB / 449.1 MB, free: 41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.1759, allocations: 7.188 kB / 449.1 MB, free: 41 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.923e-05/0.1759, allocations: 47.78 kB / 449.2 MB, free: 41 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.233e-06/0.176, allocations: 12.39 kB / 449.2 MB, free: 41 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.58e-05/0.176, allocations: 37.2 kB / 449.2 MB, free: 40.98 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.33e-05/0.176, allocations: 21.25 kB / 449.3 MB, free: 40.97 MB / 410.7 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 5.492e-05/0.1761, allocations: 135.3 kB / 449.4 MB, free: 40.86 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.781e-05/0.1761, allocations: 28.23 kB / 449.4 MB, free: 40.84 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001855/0.1763, allocations: 141.2 kB / 449.6 MB, free: 40.79 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.1763, allocations: 0 / 449.6 MB, free: 40.79 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.1763, allocations: 7.281 kB / 449.6 MB, free: 40.79 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.1763, allocations: 0 / 449.6 MB, free: 40.79 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001094/0.1764, allocations: 185.9 kB / 449.7 MB, free: 40.63 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.925e-06/0.1764, allocations: 9.094 kB / 449.8 MB, free: 40.63 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.863e-05/0.1764, allocations: 5.688 kB / 449.8 MB, free: 40.63 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.1764, allocations: 3.984 kB / 449.8 MB, free: 40.63 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.574e-06/0.1765, allocations: 6.875 kB / 449.8 MB, free: 40.62 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.11e-07/0.1765, allocations: 0 / 449.8 MB, free: 40.62 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.1765, allocations: 0 / 449.8 MB, free: 40.62 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001223/0.1766, allocations: 214.7 kB / 450 MB, free: 40.47 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.573e-05/0.1766, allocations: 17.58 kB / 450 MB, free: 40.46 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.621e-05/0.1766, allocations: 8.344 kB / 450 MB, free: 40.45 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.832e-05/0.1767, allocations: 2.719 kB / 450 MB, free: 40.45 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.992e-05/0.1767, allocations: 8.906 kB / 450 MB, free: 40.45 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.809e-06/0.1767, allocations: 2.844 kB / 450 MB, free: 40.45 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.757e-05/0.1768, allocations: 187 kB / 450.2 MB, free: 40.35 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1768, allocations: 0 / 450.2 MB, free: 40.35 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002775/0.177, allocations: 110.4 kB / 450.3 MB, free: 40.32 MB / 410.7 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.0004342/0.1775, allocations: 0.8472 MB / 451.2 MB, free: 39.62 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002405/0.1777, allocations: 187.8 kB / 451.3 MB, free: 39.54 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.132e-06/0.1777, allocations: 4 kB / 451.3 MB, free: 39.54 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.946e-05/0.1778, allocations: 100.1 kB / 451.4 MB, free: 39.47 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002607/0.1781, allocations: 22.7 kB / 451.5 MB, free: 39.46 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001385/0.1794, allocations: 2.487 MB / 454 MB, free: 37.58 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.211e-05/0.1795, allocations: 118.3 kB / 454.1 MB, free: 37.5 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.352e-05/0.1795, allocations: 29.38 kB / 454.1 MB, free: 37.5 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.637e-05/0.1796, allocations: 58.3 kB / 454.2 MB, free: 37.45 MB / 410.7 MB Notification: Performance of SimCode: time 5.81e-07/0.1796, allocations: 0 / 454.2 MB, free: 37.45 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01711/0.1967, allocations: 9.486 MB / 463.6 MB, free: 36.14 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.753/7.949, allocations: 4.438 kB / 463.6 MB, free: 36.14 MB / 410.7 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_res.mat --tempDir=temp_ModelicaTest_4_0_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_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HeatExchanger/kc_roundTube/kc_roundTube.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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: 9.901710144244134]