Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.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.0009591/0.0009591, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001404/0.001404, allocations: 173 kB / 23.49 MB, free: 1.055 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.9213/0.9213, allocations: 177.1 MB / 203.8 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo): time 0.7592/0.7592, allocations: 118.6 MB / 378.9 MB, free: 1.496 MB / 346.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/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.Undirected.Boundaries.Tests.TestBoundaries,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|boundary_rear.fore.m_flow|terminal_fore.p|terminal_rear.p",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries") translateModel(ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|boundary_rear.fore.m_flow|terminal_fore.p|terminal_rear.p",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.854e-06/1.854e-06, allocations: 0 / 483.6 MB, free: 8.293 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.544e-05/2.729e-05, allocations: 4.938 kB / 483.6 MB, free: 8.289 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries): time 0.1521/0.1521, allocations: 140.6 MB / 0.6096 GB, free: 3.93 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.002731/0.1548, allocations: 3.292 MB / 0.6128 GB, free: 0.6289 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002502/0.1551, allocations: 39.62 kB / 0.6129 GB, free: 0.5898 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.000555/0.1556, allocations: 226.4 kB / 0.6131 GB, free: 376 kB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0006509/0.1563, allocations: 429.1 kB / 0.6135 GB, free: 15.95 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.000698/0.157, allocations: 474 kB / 0.6139 GB, free: 15.48 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.0005862/0.1576, allocations: 0.7618 MB / 0.6147 GB, free: 14.71 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001697/0.1577, allocations: 93.66 kB / 0.6148 GB, free: 14.62 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008232/0.1585, allocations: 0.6227 MB / 0.6154 GB, free: 14 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002706/0.1588, allocations: 271.2 kB / 0.6156 GB, free: 13.73 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 3.526e-05/0.1588, allocations: 24 kB / 0.6157 GB, free: 13.71 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005448/0.1594, allocations: 470.9 kB / 0.6161 GB, free: 13.25 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 7.375e-05/0.1595, allocations: 75.62 kB / 0.6162 GB, free: 13.17 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.0001081/0.1596, allocations: 139.6 kB / 0.6163 GB, free: 13.04 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.0006066/0.1602, allocations: 0.5799 MB / 0.6169 GB, free: 12.45 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.1602, allocations: 0 / 0.6169 GB, free: 12.45 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.243e-06/0.1602, allocations: 4 kB / 0.6169 GB, free: 12.45 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 5.841e-06/0.1602, allocations: 0 / 0.6169 GB, free: 12.45 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.0008304/0.161, allocations: 0.8452 MB / 0.6177 GB, free: 11.57 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.55e-05/0.1611, allocations: 12.03 kB / 0.6177 GB, free: 11.55 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.881e-05/0.1611, allocations: 80.56 kB / 0.6178 GB, free: 11.48 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004631/0.1616, allocations: 458.2 kB / 0.6182 GB, free: 11 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.721e-05/0.1616, allocations: 17.03 kB / 0.6183 GB, free: 10.98 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.582e-05/0.1617, allocations: 28.38 kB / 0.6183 GB, free: 10.96 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003284/0.162, allocations: 300.8 kB / 0.6186 GB, free: 10.62 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.162, allocations: 7.938 kB / 0.6186 GB, free: 10.61 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.967e-05/0.162, allocations: 8 kB / 0.6186 GB, free: 10.6 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.075e-05/0.162, allocations: 11.94 kB / 0.6186 GB, free: 10.59 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001463/0.1622, allocations: 87.88 kB / 0.6187 GB, free: 10.5 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001115/0.1633, allocations: 1.765 MB / 0.6204 GB, free: 8.664 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002829/0.1636, allocations: 161.1 kB / 0.6206 GB, free: 8.469 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.49e-05/0.1636, allocations: 43.14 kB / 0.6206 GB, free: 8.414 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002286/0.1639, allocations: 67.92 kB / 0.6207 GB, free: 8.348 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.554e-05/0.1639, allocations: 41.38 kB / 0.6207 GB, free: 8.297 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=15): time 1.492e-06/0.1639, allocations: 0 / 0.6207 GB, free: 8.297 MB / 0.5417 GB Notification: Performance of matching and sorting (n=15): time 0.000423/0.1643, allocations: 208.8 kB / 0.6209 GB, free: 8.082 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.203e-05/0.1644, allocations: 106.8 kB / 0.621 GB, free: 7.953 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002906/0.1646, allocations: 442.9 kB / 0.6214 GB, free: 7.504 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.358e-05/0.1647, allocations: 25.7 kB / 0.6215 GB, free: 7.473 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001393/0.1648, allocations: 315.4 kB / 0.6218 GB, free: 7.16 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 3.187e-05/0.1648, allocations: 59.48 kB / 0.6218 GB, free: 7.102 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.498e-05/0.1649, allocations: 55.22 kB / 0.6219 GB, free: 7.039 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001293/0.165, allocations: 0.5196 MB / 0.6224 GB, free: 6.508 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.82e-05/0.1651, allocations: 27.97 kB / 0.6224 GB, free: 6.48 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.908e-05/0.1651, allocations: 93.73 kB / 0.6225 GB, free: 6.359 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001315/0.1653, allocations: 133.7 kB / 0.6226 GB, free: 6.199 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.1653, allocations: 0 / 0.6226 GB, free: 6.199 MB / 0.5417 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002454/0.1655, allocations: 216.8 kB / 0.6228 GB, free: 5.977 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/0.1655, allocations: 8 kB / 0.6228 GB, free: 5.969 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.1655, allocations: 128 / 0.6228 GB, free: 5.969 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001261/0.1657, allocations: 27.67 kB / 0.6229 GB, free: 5.938 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001022/0.1658, allocations: 51.91 kB / 0.6229 GB, free: 5.887 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007296/0.1665, allocations: 1.732 MB / 0.6246 GB, free: 4.031 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.191e-05/0.1666, allocations: 31.77 kB / 0.6246 GB, free: 4 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.217e-05/0.1666, allocations: 8 kB / 0.6246 GB, free: 3.992 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 initialization (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001094/0.1667, allocations: 164.5 kB / 0.6248 GB, free: 3.82 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.362e-05/0.1668, allocations: 51.72 kB / 0.6248 GB, free: 3.77 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002908/0.1671, allocations: 204.2 kB / 0.625 GB, free: 3.562 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.1671, allocations: 0 / 0.625 GB, free: 3.562 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.1671, allocations: 7.938 kB / 0.625 GB, free: 3.555 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.1671, allocations: 0 / 0.625 GB, free: 3.555 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002802/0.1673, allocations: 280.4 kB / 0.6253 GB, free: 3.246 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/0.1673, allocations: 8.047 kB / 0.6253 GB, free: 3.238 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.741e-05/0.1674, allocations: 31.92 kB / 0.6253 GB, free: 3.207 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.774e-05/0.1675, allocations: 24.14 kB / 0.6254 GB, free: 3.18 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.38e-05/0.1675, allocations: 8 kB / 0.6254 GB, free: 3.172 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000728/0.1683, allocations: 1.739 MB / 0.6271 GB, free: 1.312 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1683, allocations: 0 / 0.6271 GB, free: 1.312 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003221/0.1686, allocations: 474.2 kB / 0.6275 GB, free: 0.8203 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 5.93e-05/0.1686, allocations: 55.69 kB / 0.6276 GB, free: 0.7656 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.346e-05/0.1687, allocations: 8 kB / 0.6276 GB, free: 0.7578 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.636e-05/0.1687, allocations: 3.984 kB / 0.6276 GB, free: 0.7539 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.455e-05/0.1688, allocations: 15.98 kB / 0.6276 GB, free: 0.7383 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.498e-06/0.1688, allocations: 7.984 kB / 0.6276 GB, free: 0.7305 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001872/0.169, allocations: 290.8 kB / 0.6279 GB, free: 456 kB / 0.5417 GB Notification: Performance of sort global known variables: time 8e-08/0.169, allocations: 0 / 0.6279 GB, free: 456 kB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0003098/0.1693, allocations: 111.7 kB / 0.628 GB, free: 344 kB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (boundary_fore.rear.m_flow,terminal_rear.p,terminal_fore.p) * 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 (13): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002606/0.1696, allocations: 194 kB / 0.6282 GB, free: 140 kB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0003648/0.1699, allocations: 276.7 kB / 0.6284 GB, free: 15.85 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.1699, allocations: 0 / 0.6284 GB, free: 15.85 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001765/0.1701, allocations: 233.3 kB / 0.6287 GB, free: 15.6 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005103/0.1706, allocations: 142.5 kB / 0.6288 GB, free: 15.47 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001287/0.1719, allocations: 0.7883 MB / 0.6296 GB, free: 14.64 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.329e-05/0.172, allocations: 105.3 kB / 0.6297 GB, free: 14.52 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0001333/0.1721, allocations: 51.14 kB / 0.6297 GB, free: 14.47 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.254e-05/0.1722, allocations: 36.48 kB / 0.6298 GB, free: 14.44 MB / 0.5573 GB Notification: Performance of SimCode: time 7.92e-07/0.1722, allocations: 4 kB / 0.6298 GB, free: 14.43 MB / 0.5573 GB Notification: Performance of Templates: time 0.008192/0.1804, allocations: 5.773 MB / 0.6354 GB, free: 8.812 MB / 0.5573 GB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.sim & ./ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries_ref.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.208528405055404]