Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_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.001128/0.001128, 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.001756/0.001756, allocations: 173 kB / 23.49 MB, free: 1.059 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.9685/0.9685, 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 1.4.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.0/package.mo): time 0.6882/0.6882, allocations: 118.6 MB / 378.9 MB, free: 1.52 MB / 346.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.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.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_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_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.323e-06/1.323e-06, allocations: 0 / 483.6 MB, free: 8.305 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.928e-05/3.06e-05, allocations: 3.516 kB / 483.6 MB, free: 8.301 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries): time 0.1271/0.1271, allocations: 140.6 MB / 0.6096 GB, free: 3.949 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.002846/0.13, allocations: 3.295 MB / 0.6128 GB, free: 0.6445 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003592/0.1303, allocations: 39.62 kB / 0.6129 GB, free: 0.6055 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0006196/0.1309, allocations: 222.3 kB / 0.6131 GB, free: 396 kB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0007768/0.1317, allocations: 433 kB / 0.6135 GB, free: 15.96 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008113/0.1325, allocations: 466 kB / 0.614 GB, free: 15.5 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.0006816/0.1332, allocations: 0.7618 MB / 0.6147 GB, free: 14.74 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001945/0.1334, allocations: 85.67 kB / 0.6148 GB, free: 14.65 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009958/0.1344, allocations: 0.6189 MB / 0.6154 GB, free: 14.03 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002996/0.1347, allocations: 275.2 kB / 0.6156 GB, free: 13.76 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 3.614e-05/0.1347, allocations: 28 kB / 0.6157 GB, free: 13.73 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006662/0.1354, allocations: 470.9 kB / 0.6161 GB, free: 13.27 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 7.779e-05/0.1355, allocations: 71.64 kB / 0.6162 GB, free: 13.2 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.0001189/0.1356, allocations: 151.5 kB / 0.6163 GB, free: 13.05 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.000707/0.1363, allocations: 0.576 MB / 0.6169 GB, free: 12.48 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.1363, allocations: 4 kB / 0.6169 GB, free: 12.47 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.242e-06/0.1363, allocations: 0 / 0.6169 GB, free: 12.47 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 7.714e-06/0.1363, allocations: 4 kB / 0.6169 GB, free: 12.47 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.0008997/0.1372, allocations: 0.8452 MB / 0.6177 GB, free: 11.59 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.406e-05/0.1373, allocations: 12.03 kB / 0.6177 GB, free: 11.57 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.628e-05/0.1374, allocations: 80.56 kB / 0.6178 GB, free: 11.5 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005024/0.1379, allocations: 446.3 kB / 0.6182 GB, free: 11.03 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.026e-05/0.1379, allocations: 21.03 kB / 0.6183 GB, free: 11.01 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.038e-05/0.1379, allocations: 28.38 kB / 0.6183 GB, free: 10.98 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003514/0.1383, allocations: 300.7 kB / 0.6186 GB, free: 10.64 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.1383, allocations: 3.938 kB / 0.6186 GB, free: 10.64 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.979e-05/0.1383, allocations: 12 kB / 0.6186 GB, free: 10.63 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.1e-05/0.1383, allocations: 12 kB / 0.6186 GB, free: 10.62 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001622/0.1385, allocations: 103.8 kB / 0.6187 GB, free: 10.52 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001273/0.1398, allocations: 1.761 MB / 0.6204 GB, free: 8.68 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003222/0.1401, allocations: 153.2 kB / 0.6206 GB, free: 8.492 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.9e-05/0.1401, allocations: 51.14 kB / 0.6206 GB, free: 8.43 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002447/0.1404, allocations: 59.92 kB / 0.6207 GB, free: 8.371 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.509e-05/0.1404, allocations: 45.33 kB / 0.6207 GB, free: 8.316 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=15): time 2.575e-06/0.1404, allocations: 0 / 0.6207 GB, free: 8.316 MB / 0.5417 GB Notification: Performance of matching and sorting (n=15): time 0.0004489/0.1409, allocations: 205 kB / 0.6209 GB, free: 8.105 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.437e-05/0.1409, allocations: 110.8 kB / 0.621 GB, free: 7.973 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002896/0.1412, allocations: 442.9 kB / 0.6214 GB, free: 7.523 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.434e-05/0.1412, allocations: 25.7 kB / 0.6215 GB, free: 7.492 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.000156/0.1414, allocations: 307.2 kB / 0.6218 GB, free: 7.188 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 3.221e-05/0.1414, allocations: 59.47 kB / 0.6218 GB, free: 7.129 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.572e-05/0.1414, allocations: 51.31 kB / 0.6219 GB, free: 7.07 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001383/0.1416, allocations: 0.5235 MB / 0.6224 GB, free: 6.535 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.335e-05/0.1416, allocations: 23.98 kB / 0.6224 GB, free: 6.512 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.004e-05/0.1417, allocations: 93.78 kB / 0.6225 GB, free: 6.391 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001447/0.1419, allocations: 129.7 kB / 0.6226 GB, free: 6.234 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.1419, allocations: 4 kB / 0.6226 GB, free: 6.23 MB / 0.5417 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002537/0.1421, allocations: 220.7 kB / 0.6228 GB, free: 6.004 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.1421, allocations: 4 kB / 0.6228 GB, free: 6 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.1421, allocations: 4 kB / 0.6228 GB, free: 5.996 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001467/0.1423, allocations: 27.8 kB / 0.6229 GB, free: 5.965 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001078/0.1424, allocations: 47.86 kB / 0.6229 GB, free: 5.918 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008312/0.1432, allocations: 1.736 MB / 0.6246 GB, free: 4.059 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.435e-05/0.1433, allocations: 27.78 kB / 0.6246 GB, free: 4.031 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.336e-05/0.1433, allocations: 8 kB / 0.6246 GB, free: 4.023 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.0001055/0.1434, allocations: 176.6 kB / 0.6248 GB, free: 3.84 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.256e-05/0.1435, allocations: 47.72 kB / 0.6248 GB, free: 3.793 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000294/0.1438, allocations: 194.8 kB / 0.625 GB, free: 3.594 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.1438, allocations: 4 kB / 0.625 GB, free: 3.59 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.1438, allocations: 3.938 kB / 0.625 GB, free: 3.586 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.1438, allocations: 7.984 kB / 0.625 GB, free: 3.578 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000282/0.1441, allocations: 280.4 kB / 0.6253 GB, free: 3.27 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.1441, allocations: 0 / 0.6253 GB, free: 3.27 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.496e-05/0.1442, allocations: 35.92 kB / 0.6253 GB, free: 3.234 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.046e-05/0.1443, allocations: 23.67 kB / 0.6254 GB, free: 3.207 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.621e-05/0.1443, allocations: 7.984 kB / 0.6254 GB, free: 3.199 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007136/0.145, allocations: 1.747 MB / 0.6271 GB, free: 1.332 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.145, allocations: 0 / 0.6271 GB, free: 1.332 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003177/0.1453, allocations: 470.1 kB / 0.6275 GB, free: 0.8438 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 6.313e-05/0.1454, allocations: 51.69 kB / 0.6276 GB, free: 0.793 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.226e-05/0.1454, allocations: 4 kB / 0.6276 GB, free: 0.7891 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.029e-05/0.1455, allocations: 8 kB / 0.6276 GB, free: 0.7812 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.164e-05/0.1455, allocations: 15.97 kB / 0.6276 GB, free: 0.7656 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.425e-06/0.1455, allocations: 4 kB / 0.6276 GB, free: 0.7617 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001884/0.1457, allocations: 294.9 kB / 0.6279 GB, free: 484 kB / 0.5417 GB Notification: Performance of sort global known variables: time 6.1e-08/0.1457, allocations: 4 kB / 0.6279 GB, free: 480 kB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0003409/0.1461, allocations: 115.7 kB / 0.628 GB, free: 364 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.0002452/0.1463, allocations: 194.9 kB / 0.6282 GB, free: 160 kB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0003543/0.1467, allocations: 267.1 kB / 0.6284 GB, free: 15.88 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.1467, allocations: 7.938 kB / 0.6285 GB, free: 15.87 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001729/0.1468, allocations: 225.4 kB / 0.6287 GB, free: 15.62 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005065/0.1474, allocations: 134.7 kB / 0.6288 GB, free: 15.5 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001283/0.1486, allocations: 0.7991 MB / 0.6296 GB, free: 14.66 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.934e-05/0.1487, allocations: 105.3 kB / 0.6297 GB, free: 14.54 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0001223/0.1488, allocations: 53.62 kB / 0.6297 GB, free: 14.5 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.023e-05/0.1489, allocations: 36.48 kB / 0.6298 GB, free: 14.46 MB / 0.5573 GB Notification: Performance of SimCode: time 1.152e-06/0.1489, allocations: 0 / 0.6298 GB, free: 14.46 MB / 0.5573 GB Notification: Performance of Templates: time 0.008355/0.1572, allocations: 5.768 MB / 0.6354 GB, free: 8.84 MB / 0.5573 GB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.pipe >> ../files/ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.sim & ./ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_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.1255523909348994]