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.0008977/0.0008977, allocations: 79.7 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.0009489/0.0009489, allocations: 174 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.8892/0.8892, allocations: 177.1 MB / 204.3 MB, free: 5.715 MB / 186.7 MB " [Timeout remaining time 179] 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.243/0.243, allocations: 34.25 MB / 294.9 MB, free: 0.7227 MB / 266.7 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 1.613e-06/1.613e-06, allocations: 0 / 442.2 MB, free: 1.645 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.908e-05/2.069e-05, allocations: 2.281 kB / 442.2 MB, free: 1.641 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube): time 0.1642/0.1642, allocations: 2.029 MB / 444.2 MB, free: 43.29 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001536/0.1657, allocations: 1.545 MB / 445.8 MB, free: 42.76 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001024/0.1658, allocations: 3.438 kB / 445.8 MB, free: 42.76 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002744/0.1661, allocations: 81.66 kB / 445.9 MB, free: 42.72 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000132/0.1663, allocations: 68.91 kB / 445.9 MB, free: 42.68 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006751/0.1669, allocations: 368.8 kB / 446.3 MB, free: 42.59 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001372/0.1671, allocations: 164.5 kB / 446.4 MB, free: 42.52 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.773e-05/0.1671, allocations: 10.53 kB / 446.5 MB, free: 42.52 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.913e-05/0.1672, allocations: 69.27 kB / 446.5 MB, free: 42.5 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.181e-05/0.1673, allocations: 44.33 kB / 446.6 MB, free: 42.49 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.632e-05/0.1673, allocations: 9.797 kB / 446.6 MB, free: 42.49 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005934/0.1679, allocations: 0.5094 MB / 447.1 MB, free: 42.46 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.662e-05/0.1679, allocations: 33.52 kB / 447.1 MB, free: 42.45 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.824e-05/0.168, allocations: 38.08 kB / 447.2 MB, free: 42.44 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004629/0.1684, allocations: 0.5953 MB / 447.8 MB, free: 42.22 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.1684, allocations: 0 / 447.8 MB, free: 42.22 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.924e-06/0.1685, allocations: 0 / 447.8 MB, free: 42.22 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.51e-06/0.1685, allocations: 0 / 447.8 MB, free: 42.22 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.0004629/0.1689, allocations: 451.9 kB / 448.2 MB, free: 41.85 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/0.169, allocations: 8.688 kB / 448.2 MB, free: 41.85 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.5e-05/0.169, allocations: 55.08 kB / 448.3 MB, free: 41.8 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.452e-05/0.169, allocations: 24.58 kB / 448.3 MB, free: 41.79 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001191/0.1691, allocations: 147.9 kB / 448.4 MB, free: 41.64 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.261e-05/0.1692, allocations: 13.72 kB / 448.4 MB, free: 41.64 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.697e-05/0.1692, allocations: 26.84 kB / 448.5 MB, free: 41.62 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002594/0.1694, allocations: 273.4 kB / 448.7 MB, free: 41.48 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/0.1694, allocations: 2.969 kB / 448.7 MB, free: 41.48 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.288e-05/0.1695, allocations: 4 kB / 448.7 MB, free: 41.47 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/0.1695, allocations: 6.062 kB / 448.7 MB, free: 41.47 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001517/0.1696, allocations: 158.6 kB / 448.9 MB, free: 41.42 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005567/0.1702, allocations: 0.8655 MB / 449.8 MB, free: 40.7 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001219/0.1703, allocations: 58.19 kB / 449.8 MB, free: 40.66 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.377e-05/0.1704, allocations: 34.08 kB / 449.9 MB, free: 40.65 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.708e-05/0.1704, allocations: 0 / 449.9 MB, free: 40.65 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.451e-05/0.1704, allocations: 40.52 kB / 449.9 MB, free: 40.61 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 9.02e-07/0.1704, allocations: 0 / 449.9 MB, free: 40.61 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002663/0.1707, allocations: 133.2 kB / 450 MB, free: 40.55 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.457e-05/0.1707, allocations: 59.41 kB / 450.1 MB, free: 40.48 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001504/0.1708, allocations: 277.8 kB / 450.4 MB, free: 40.32 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.394e-06/0.1708, allocations: 25.7 kB / 450.4 MB, free: 40.29 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.499e-05/0.1709, allocations: 183.6 kB / 450.6 MB, free: 40.12 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.097e-05/0.1709, allocations: 21.86 kB / 450.6 MB, free: 40.11 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.622e-05/0.171, allocations: 52.94 kB / 450.6 MB, free: 40.07 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.39e-05/0.171, allocations: 334.8 kB / 451 MB, free: 39.75 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.148e-05/0.1711, allocations: 46.19 kB / 451 MB, free: 39.74 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.529e-05/0.1712, allocations: 189.1 kB / 451.2 MB, free: 39.54 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001724/0.1713, allocations: 254.7 kB / 451.4 MB, free: 39.3 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.1713, allocations: 0 / 451.4 MB, free: 39.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002384/0.1716, allocations: 263.1 kB / 451.7 MB, free: 39.19 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.1716, allocations: 5.656 kB / 451.7 MB, free: 39.19 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.011e-05/0.1716, allocations: 14.84 kB / 451.7 MB, free: 39.19 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.1716, allocations: 5.719 kB / 451.7 MB, free: 39.19 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.754e-05/0.1717, allocations: 44.86 kB / 451.8 MB, free: 39.19 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.1717, allocations: 12.86 kB / 451.8 MB, free: 39.18 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.741e-05/0.1718, allocations: 42.02 kB / 451.8 MB, free: 39.16 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.527e-05/0.1718, allocations: 21.61 kB / 451.8 MB, free: 39.15 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 6.363e-05/0.1719, allocations: 137.2 kB / 452 MB, free: 39.02 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.953e-05/0.1719, allocations: 20.52 kB / 452 MB, free: 39.01 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002091/0.1721, allocations: 146.1 kB / 452.1 MB, free: 38.93 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.1721, allocations: 6.969 kB / 452.1 MB, free: 38.93 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.1721, allocations: 1.312 kB / 452.1 MB, free: 38.93 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.1721, allocations: 0 / 452.1 MB, free: 38.93 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001219/0.1723, allocations: 183.2 kB / 452.3 MB, free: 38.75 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.147e-06/0.1723, allocations: 11.83 kB / 452.3 MB, free: 38.75 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.333e-05/0.1723, allocations: 9.719 kB / 452.3 MB, free: 38.75 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.1723, allocations: 3.188 kB / 452.3 MB, free: 38.75 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.504e-06/0.1723, allocations: 2.719 kB / 452.3 MB, free: 38.75 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.1723, allocations: 0 / 452.3 MB, free: 38.75 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.1723, allocations: 3.203 kB / 452.4 MB, free: 38.75 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001382/0.1724, allocations: 214.6 kB / 452.6 MB, free: 38.59 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.971e-05/0.1725, allocations: 22.16 kB / 452.6 MB, free: 38.57 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.678e-05/0.1725, allocations: 2.906 kB / 452.6 MB, free: 38.57 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.97e-05/0.1725, allocations: 6.781 kB / 452.6 MB, free: 38.57 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.465e-05/0.1726, allocations: 6.344 kB / 452.6 MB, free: 38.57 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.741e-06/0.1726, allocations: 2.812 kB / 452.6 MB, free: 38.57 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.992e-05/0.1727, allocations: 189.8 kB / 452.8 MB, free: 38.46 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1727, allocations: 0 / 452.8 MB, free: 38.46 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003588/0.173, allocations: 106.9 kB / 452.9 MB, free: 38.44 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.0005058/0.1735, allocations: 0.8437 MB / 453.7 MB, free: 37.73 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000279/0.1738, allocations: 193.4 kB / 453.9 MB, free: 37.63 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.1738, allocations: 0 / 453.9 MB, free: 37.63 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.105e-05/0.1739, allocations: 94.98 kB / 454 MB, free: 37.56 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002803/0.1742, allocations: 29.28 kB / 454 MB, free: 37.55 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001601/0.1758, allocations: 2.489 MB / 456.5 MB, free: 35.64 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.018e-05/0.1758, allocations: 119.5 kB / 456.7 MB, free: 35.56 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.794e-05/0.1759, allocations: 27.5 kB / 456.7 MB, free: 35.55 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.647e-05/0.1759, allocations: 60.12 kB / 456.7 MB, free: 35.51 MB / 410.7 MB Notification: Performance of SimCode: time 1.453e-06/0.1759, allocations: 4 kB / 456.7 MB, free: 35.5 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02253/0.1985, allocations: 9.479 MB / 466.2 MB, free: 34.18 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.224/8.422, allocations: 4.438 kB / 466.2 MB, free: 34.18 MB / 410.7 MB " [Timeout remaining time 651] (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/jenkins/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/jenkins/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: 10.393044488504529]