Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001413/0.001413, allocations: 114.2 kB / 19.69 MB, free: 2.207 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.001603/0.001603, allocations: 216.6 kB / 23.01 MB, free: 5.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.389/1.389, allocations: 207.6 MB / 233.8 MB, free: 9.992 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2201/0.2201, allocations: 44.24 MB / 330.3 MB, free: 9.523 MB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_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_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002147/0.002147, allocations: 71.89 kB / 467.5 MB, free: 4.48 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1247/0.1269, allocations: 61.04 MB / 0.5162 GB, free: 7.309 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube): time 0.004268/0.1311, allocations: 2.149 MB / 0.5183 GB, free: 5.141 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002829/0.134, allocations: 1.422 MB / 0.5197 GB, free: 3.711 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002096/0.1342, allocations: 0 / 0.5197 GB, free: 3.711 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004027/0.1346, allocations: 87.39 kB / 0.5197 GB, free: 3.625 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002754/0.1349, allocations: 67.42 kB / 0.5198 GB, free: 3.559 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008515/0.1357, allocations: 211.1 kB / 0.52 GB, free: 3.352 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003219/0.136, allocations: 151 kB / 0.5202 GB, free: 3.203 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.281e-05/0.1361, allocations: 16.56 kB / 0.5202 GB, free: 3.184 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001936/0.1363, allocations: 63.59 kB / 0.5202 GB, free: 3.121 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001451/0.1364, allocations: 63.55 kB / 0.5203 GB, free: 3.059 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.285e-05/0.1365, allocations: 4 kB / 0.5203 GB, free: 3.055 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008435/0.1373, allocations: 431.4 kB / 0.5207 GB, free: 2.633 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.411e-05/0.1374, allocations: 35.78 kB / 0.5207 GB, free: 2.598 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001045/0.1375, allocations: 71.48 kB / 0.5208 GB, free: 2.527 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007671/0.1383, allocations: 426.3 kB / 0.5212 GB, free: 2.109 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.1383, allocations: 3.938 kB / 0.5212 GB, free: 2.105 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.1383, allocations: 0 / 0.5212 GB, free: 2.105 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.477e-05/0.1383, allocations: 0 / 0.5212 GB, free: 2.105 MB / 398.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.0007613/0.1391, allocations: 433.1 kB / 0.5216 GB, free: 1.652 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.506e-05/0.1391, allocations: 8.031 kB / 0.5216 GB, free: 1.645 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.445e-05/0.1392, allocations: 50.72 kB / 0.5217 GB, free: 1.586 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.893e-05/0.1392, allocations: 28.8 kB / 0.5217 GB, free: 1.559 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002526/0.1395, allocations: 166 kB / 0.5219 GB, free: 1.371 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.654e-05/0.1395, allocations: 12.38 kB / 0.5219 GB, free: 1.359 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.264e-05/0.1395, allocations: 19.94 kB / 0.5219 GB, free: 1.34 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004462/0.14, allocations: 210.4 kB / 0.5221 GB, free: 1.125 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.14, allocations: 3.938 kB / 0.5221 GB, free: 1.121 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.55e-05/0.14, allocations: 11.98 kB / 0.5221 GB, free: 1.109 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.256e-05/0.14, allocations: 7.984 kB / 0.5221 GB, free: 1.102 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003223/0.1404, allocations: 152.2 kB / 0.5223 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001076/0.1414, allocations: 0.5448 MB / 0.5228 GB, free: 376 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002086/0.1416, allocations: 58.55 kB / 0.5229 GB, free: 308 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000107/0.1418, allocations: 32.94 kB / 0.5229 GB, free: 272 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.518e-05/0.1418, allocations: 4 kB / 0.5229 GB, free: 268 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.988e-05/0.1418, allocations: 34.5 kB / 0.5229 GB, free: 224 kB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.372e-06/0.1418, allocations: 0 / 0.5229 GB, free: 224 kB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004971/0.1423, allocations: 125.5 kB / 0.5231 GB, free: 92 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.518e-05/0.1424, allocations: 55.39 kB / 0.5231 GB, free: 24 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003254/0.1427, allocations: 261.8 kB / 0.5234 GB, free: 15.76 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.134e-05/0.1427, allocations: 29.7 kB / 0.5234 GB, free: 15.72 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001311/0.1428, allocations: 167.9 kB / 0.5235 GB, free: 15.55 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.273e-05/0.1429, allocations: 23.88 kB / 0.5236 GB, free: 15.53 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.627e-05/0.1429, allocations: 37.67 kB / 0.5236 GB, free: 15.49 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001686/0.1431, allocations: 334.8 kB / 0.5239 GB, free: 15.15 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001284/0.1432, allocations: 35.97 kB / 0.524 GB, free: 15.12 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002059/0.1435, allocations: 140.7 kB / 0.5241 GB, free: 14.93 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003384/0.1438, allocations: 176.7 kB / 0.5243 GB, free: 14.71 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.13e-06/0.1438, allocations: 4 kB / 0.5243 GB, free: 14.71 MB / 414.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004282/0.1442, allocations: 197.2 kB / 0.5244 GB, free: 14.51 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.009e-05/0.1442, allocations: 11.98 kB / 0.5245 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.287e-05/0.1443, allocations: 16 kB / 0.5245 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.992e-05/0.1443, allocations: 4.438 kB / 0.5245 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001332/0.1444, allocations: 31.92 kB / 0.5245 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.449e-05/0.1444, allocations: 8 kB / 0.5245 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001363/0.1446, allocations: 31.77 kB / 0.5245 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.936e-05/0.1446, allocations: 12 kB / 0.5246 GB, free: 14.4 MB / 414.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.0001466/0.1447, allocations: 133.7 kB / 0.5247 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.581e-05/0.1448, allocations: 19.86 kB / 0.5247 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003772/0.1452, allocations: 142.9 kB / 0.5248 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.187e-06/0.1452, allocations: 4 kB / 0.5248 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.1452, allocations: 192 / 0.5248 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.534e-06/0.1452, allocations: 0 / 0.5248 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002648/0.1454, allocations: 196.6 kB / 0.525 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.959e-05/0.1455, allocations: 11.98 kB / 0.525 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.029e-05/0.1455, allocations: 8 kB / 0.5251 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.347e-06/0.1455, allocations: 0 / 0.5251 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.308e-05/0.1455, allocations: 8 kB / 0.5251 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.1455, allocations: 0 / 0.5251 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.1455, allocations: 0 / 0.5251 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003441/0.1459, allocations: 207.3 kB / 0.5253 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.993e-05/0.1459, allocations: 23.84 kB / 0.5253 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.665e-05/0.1459, allocations: 0 / 0.5253 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000104/0.146, allocations: 7.984 kB / 0.5253 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.047e-05/0.1461, allocations: 3.938 kB / 0.5253 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.084e-05/0.1461, allocations: 7.984 kB / 0.5253 GB, free: 13.56 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001824/0.1463, allocations: 181.2 kB / 0.5255 GB, free: 13.39 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1463, allocations: 0 / 0.5255 GB, free: 13.39 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007184/0.147, allocations: 83.69 kB / 0.5256 GB, free: 13.3 MB / 414.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.0009259/0.1479, allocations: 0.7983 MB / 0.5263 GB, free: 12.48 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004515/0.1484, allocations: 175.9 kB / 0.5265 GB, free: 12.29 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.1484, allocations: 0 / 0.5265 GB, free: 12.29 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002014/0.1486, allocations: 99.38 kB / 0.5266 GB, free: 12.18 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003587/0.1489, allocations: 22.06 kB / 0.5266 GB, free: 12.16 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003074/0.152, allocations: 2.388 MB / 0.5289 GB, free: 9.605 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004112/0.1524, allocations: 0.732 MB / 0.5297 GB, free: 8.848 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.696e-05/0.1525, allocations: 17.48 kB / 0.5297 GB, free: 8.832 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.267e-05/0.1526, allocations: 63.41 kB / 0.5297 GB, free: 8.773 MB / 414.1 MB Notification: Performance of SimCode: time 3.9e-07/0.1526, allocations: 0 / 0.5297 GB, free: 8.773 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03622/0.1888, allocations: 6.904 MB / 0.5365 GB, free: 1.863 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.6/12.79, allocations: 11.98 kB / 0.5365 GB, free: 1.852 MB / 414.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201879 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HeatExchanger/kc_flatTube/kc_flatTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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.840031931875274]