Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe.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.001667/0.001667, allocations: 107.6 kB / 18.95 MB, free: 2.809 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.002026/0.002026, allocations: 209.6 kB / 22.24 MB, free: 5.117 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.506/1.506, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo): time 0.7632/0.7632, allocations: 94.62 MB / 407 MB, free: 8.934 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/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: translateModel(ThermofluidStream.Processes.Tests.ConvectivePipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|heatCapacitor.T|thermalConvection.inlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe") translateModel(ThermofluidStream.Processes.Tests.ConvectivePipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|heatCapacitor.T|thermalConvection.inlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe") [Timeout 660] "Notification: ThermofluidStream requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ThermofluidStream requested package Complex of version 4.0.0. Complex 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.002619/0.002619, allocations: 88.89 kB / 0.5554 GB, free: 38.28 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1096/0.1122, allocations: 73.06 MB / 0.6268 GB, free: 15.69 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe): time 0.02185/0.1341, allocations: 16.14 MB / 0.6425 GB, free: 15.48 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.008305/0.1424, allocations: 6.214 MB / 0.6486 GB, free: 9.25 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005506/0.1429, allocations: 39.62 kB / 0.6486 GB, free: 9.211 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008363/0.1438, allocations: 250.2 kB / 0.6489 GB, free: 8.965 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00168/0.1454, allocations: 0.5434 MB / 0.6494 GB, free: 8.418 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009641/0.1464, allocations: 362.7 kB / 0.6497 GB, free: 8.062 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001097/0.1475, allocations: 0.8127 MB / 0.6505 GB, free: 7.246 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002408/0.1477, allocations: 98.03 kB / 0.6506 GB, free: 7.145 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007622/0.1485, allocations: 374.4 kB / 0.651 GB, free: 6.777 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003924/0.1489, allocations: 266.5 kB / 0.6512 GB, free: 6.516 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.159e-05/0.149, allocations: 40 kB / 0.6513 GB, free: 6.477 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008391/0.1498, allocations: 339.6 kB / 0.6516 GB, free: 6.145 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001274/0.1499, allocations: 103.5 kB / 0.6517 GB, free: 6.043 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002547/0.1502, allocations: 242.6 kB / 0.6519 GB, free: 5.805 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001335/0.1515, allocations: 0.8325 MB / 0.6527 GB, free: 4.969 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.1515, allocations: 0 / 0.6527 GB, free: 4.969 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1515, allocations: 7.938 kB / 0.6528 GB, free: 4.961 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.779e-05/0.1516, allocations: 4 kB / 0.6528 GB, free: 4.957 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.001802/0.1534, allocations: 0.909 MB / 0.6536 GB, free: 4.016 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/0.1534, allocations: 8.031 kB / 0.6537 GB, free: 4.008 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002637/0.1537, allocations: 80.47 kB / 0.6537 GB, free: 3.93 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001036/0.1547, allocations: 466.1 kB / 0.6542 GB, free: 3.445 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.644e-05/0.1547, allocations: 32.94 kB / 0.6542 GB, free: 3.414 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.502e-05/0.1548, allocations: 44 kB / 0.6542 GB, free: 3.371 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000809/0.1556, allocations: 459.9 kB / 0.6547 GB, free: 2.906 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.035e-05/0.1556, allocations: 4 kB / 0.6547 GB, free: 2.902 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.917e-05/0.1557, allocations: 19.94 kB / 0.6547 GB, free: 2.883 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.185e-05/0.1557, allocations: 8 kB / 0.6547 GB, free: 2.875 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007461/0.1564, allocations: 411.8 kB / 0.6551 GB, free: 2.473 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002496/0.1589, allocations: 1.419 MB / 0.6565 GB, free: 1.008 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007245/0.1596, allocations: 377.3 kB / 0.6569 GB, free: 0.6211 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002998/0.1599, allocations: 173.4 kB / 0.657 GB, free: 456 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001098/0.161, allocations: 0.605 MB / 0.6576 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.676e-05/0.1611, allocations: 34.89 kB / 0.6576 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=41): time 1.814e-06/0.1611, allocations: 4 kB / 0.6576 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of matching and sorting (n=41): time 0.005994/0.1671, allocations: 1.298 MB / 0.6589 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.924e-05/0.1672, allocations: 89.05 kB / 0.659 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006237/0.1678, allocations: 454.8 kB / 0.6594 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.242e-05/0.1678, allocations: 33.7 kB / 0.6595 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002873/0.1681, allocations: 300.6 kB / 0.6598 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001489/0.1683, allocations: 146.7 kB / 0.6599 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001305/0.1684, allocations: 74.12 kB / 0.66 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002087/0.1686, allocations: 374.8 kB / 0.6603 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002545/0.1689, allocations: 120.8 kB / 0.6604 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003343/0.1692, allocations: 194.3 kB / 0.6606 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005941/0.1698, allocations: 333.8 kB / 0.6609 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.691e-06/0.1698, allocations: 4 kB / 0.6609 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.002853/0.1726, allocations: 0.8029 MB / 0.6617 GB, free: 11.47 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.401e-05/0.1727, allocations: 8 kB / 0.6617 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.818e-06/0.1727, allocations: 0 / 0.6617 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002719/0.1754, allocations: 497.2 kB / 0.6622 GB, free: 10.97 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002896/0.1757, allocations: 67.91 kB / 0.6623 GB, free: 10.9 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002177/0.1779, allocations: 2.064 MB / 0.6643 GB, free: 8.711 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003532/0.1782, allocations: 35.91 kB / 0.6643 GB, free: 8.676 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.617e-05/0.1783, allocations: 20 kB / 0.6643 GB, free: 8.656 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 1 (thermalConvection.turb_flag) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0003129/0.1786, allocations: 173.7 kB / 0.6645 GB, free: 8.477 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001615/0.1787, allocations: 59.56 kB / 0.6646 GB, free: 8.418 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003038/0.1818, allocations: 0.8479 MB / 0.6654 GB, free: 7.551 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.103e-05/0.1818, allocations: 7.984 kB / 0.6654 GB, free: 7.543 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.131e-05/0.1818, allocations: 4 kB / 0.6654 GB, free: 7.539 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.561e-05/0.1818, allocations: 3.984 kB / 0.6654 GB, free: 7.535 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003932/0.1858, allocations: 1.226 MB / 0.6666 GB, free: 6.258 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.98e-06/0.1858, allocations: 0 / 0.6666 GB, free: 6.258 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002213/0.186, allocations: 43.97 kB / 0.6666 GB, free: 6.215 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002699/0.1887, allocations: 0.4895 MB / 0.6671 GB, free: 5.719 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.049e-05/0.1887, allocations: 11.94 kB / 0.6671 GB, free: 5.707 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002108/0.1908, allocations: 2.067 MB / 0.6692 GB, free: 3.512 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.1908, allocations: 0 / 0.6692 GB, free: 3.512 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00323/0.1941, allocations: 1.083 MB / 0.6702 GB, free: 2.398 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002619/0.1943, allocations: 95.55 kB / 0.6703 GB, free: 2.305 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.618e-05/0.1944, allocations: 15.88 kB / 0.6703 GB, free: 2.289 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002829/0.1947, allocations: 12 kB / 0.6703 GB, free: 2.277 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.185e-05/0.1948, allocations: 31.94 kB / 0.6704 GB, free: 2.246 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.587e-05/0.1948, allocations: 8 kB / 0.6704 GB, free: 2.238 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004407/0.1952, allocations: 326.9 kB / 0.6707 GB, free: 1.922 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.1952, allocations: 0 / 0.6707 GB, free: 1.922 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0007474/0.196, allocations: 187.6 kB / 0.6709 GB, free: 1.738 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (flowResistance.inlet.m_flow,heatCapacitor.T) * 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 (26): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004967/0.1965, allocations: 296.3 kB / 0.6711 GB, free: 1.441 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001023/0.1975, allocations: 458.3 kB / 0.6716 GB, free: 0.9805 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.1975, allocations: 4.125 kB / 0.6716 GB, free: 0.9766 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005552/0.1981, allocations: 302.4 kB / 0.6719 GB, free: 0.668 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008595/0.1989, allocations: 147.9 kB / 0.672 GB, free: 0.5352 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002183/0.2011, allocations: 1.103 MB / 0.6731 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003273/0.2014, allocations: 275.4 kB / 0.6734 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0002593/0.2017, allocations: 73.5 kB / 0.6734 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.681e-05/0.2018, allocations: 43.42 kB / 0.6735 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of SimCode: time 7.01e-07/0.2018, allocations: 0 / 0.6735 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of Templates: time 0.01972/0.2215, allocations: 10.37 MB / 0.6836 GB, free: 4.766 MB / 0.5137 GB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe >> ../files/ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe.sim & ./ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Processes.Tests.ConvectivePipe_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe.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: 5.862571524456143]