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.001119/0.001119, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.001662/0.001662, allocations: 169 kB / 23.02 MB, free: 1.551 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.9076/0.9076, allocations: 177.1 MB / 203.4 MB, free: 5.641 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.7178/0.7178, allocations: 118.6 MB / 378.6 MB, free: 1.504 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.763e-06/1.763e-06, allocations: 0 / 483.6 MB, free: 8.285 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.088e-05/2.264e-05, allocations: 4.172 kB / 483.6 MB, free: 8.281 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries): time 0.1238/0.1238, allocations: 130.9 MB / 0.6001 GB, free: 13.42 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.001237/0.125, allocations: 1.037 MB / 0.6011 GB, free: 12.38 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002321/0.1252, allocations: 35.69 kB / 0.6011 GB, free: 12.34 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0005173/0.1258, allocations: 142.8 kB / 0.6013 GB, free: 12.2 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0004763/0.1262, allocations: 313.8 kB / 0.6016 GB, free: 11.89 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.000296/0.1265, allocations: 195.4 kB / 0.6017 GB, free: 11.7 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0005519/0.1271, allocations: 0.7541 MB / 0.6025 GB, free: 10.95 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000188/0.1273, allocations: 89.69 kB / 0.6026 GB, free: 10.86 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005458/0.1278, allocations: 434.6 kB / 0.603 GB, free: 10.43 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002727/0.1281, allocations: 271.3 kB / 0.6032 GB, free: 10.16 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 3.855e-05/0.1281, allocations: 24 kB / 0.6033 GB, free: 10.14 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002136/0.1283, allocations: 147.7 kB / 0.6034 GB, free: 9.996 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 7.565e-05/0.1284, allocations: 75.58 kB / 0.6035 GB, free: 9.922 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0001046/0.1285, allocations: 143.6 kB / 0.6036 GB, free: 9.781 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.000446/0.129, allocations: 442.2 kB / 0.604 GB, free: 9.348 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.129, allocations: 0 / 0.604 GB, free: 9.348 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.605e-06/0.129, allocations: 4 kB / 0.604 GB, free: 9.344 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.851e-06/0.129, allocations: 0 / 0.604 GB, free: 9.344 MB / 0.5261 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.0007925/0.1298, allocations: 0.8223 MB / 0.6048 GB, free: 8.484 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/0.1298, allocations: 12.03 kB / 0.6049 GB, free: 8.473 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.588e-05/0.1299, allocations: 80.56 kB / 0.6049 GB, free: 8.395 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004424/0.1303, allocations: 462.2 kB / 0.6054 GB, free: 7.918 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.368e-05/0.1304, allocations: 21.03 kB / 0.6054 GB, free: 7.898 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.24e-05/0.1305, allocations: 24.38 kB / 0.6054 GB, free: 7.875 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003279/0.1308, allocations: 300.8 kB / 0.6057 GB, free: 7.535 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.1308, allocations: 7.938 kB / 0.6057 GB, free: 7.527 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.916e-05/0.1308, allocations: 15.94 kB / 0.6057 GB, free: 7.516 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.967e-06/0.1308, allocations: 4 kB / 0.6057 GB, free: 7.512 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000146/0.131, allocations: 104.3 kB / 0.6058 GB, free: 7.414 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001133/0.1321, allocations: 1.761 MB / 0.6075 GB, free: 5.574 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002675/0.1324, allocations: 153.2 kB / 0.6077 GB, free: 5.387 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.612e-05/0.1324, allocations: 51.14 kB / 0.6077 GB, free: 5.324 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002157/0.1326, allocations: 55.86 kB / 0.6078 GB, free: 5.27 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.082e-05/0.1327, allocations: 41.39 kB / 0.6078 GB, free: 5.219 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=15): time 1.824e-06/0.1327, allocations: 0 / 0.6078 GB, free: 5.219 MB / 0.5261 GB Notification: Performance of matching and sorting (n=15): time 0.0004059/0.1331, allocations: 200.9 kB / 0.608 GB, free: 5.012 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.01e-05/0.1331, allocations: 114.7 kB / 0.6081 GB, free: 4.875 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002666/0.1334, allocations: 430.7 kB / 0.6085 GB, free: 4.438 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.421e-05/0.1334, allocations: 29.7 kB / 0.6086 GB, free: 4.402 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001323/0.1335, allocations: 315.3 kB / 0.6089 GB, free: 4.09 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.046e-05/0.1336, allocations: 63.42 kB / 0.6089 GB, free: 4.027 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.069e-05/0.1336, allocations: 51.36 kB / 0.609 GB, free: 3.969 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001307/0.1337, allocations: 0.5235 MB / 0.6095 GB, free: 3.434 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.675e-05/0.1338, allocations: 23.98 kB / 0.6095 GB, free: 3.41 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.381e-05/0.1339, allocations: 93.78 kB / 0.6096 GB, free: 3.289 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001265/0.134, allocations: 129.7 kB / 0.6097 GB, free: 3.133 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.134, allocations: 4 kB / 0.6097 GB, free: 3.129 MB / 0.5261 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002324/0.1342, allocations: 221.2 kB / 0.6099 GB, free: 2.902 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.265e-05/0.1342, allocations: 7.938 kB / 0.61 GB, free: 2.895 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.1342, allocations: 4 kB / 0.61 GB, free: 2.891 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001294/0.1344, allocations: 23.67 kB / 0.61 GB, free: 2.863 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.982e-05/0.1345, allocations: 47.97 kB / 0.61 GB, free: 2.816 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007392/0.1352, allocations: 1.728 MB / 0.6117 GB, free: 0.9648 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.182e-05/0.1353, allocations: 27.78 kB / 0.6117 GB, free: 0.9375 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.17e-05/0.1353, allocations: 8 kB / 0.6117 GB, free: 0.9297 MB / 0.5261 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 9.347e-05/0.1354, allocations: 168.5 kB / 0.6119 GB, free: 0.7539 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.915e-05/0.1354, allocations: 47.72 kB / 0.612 GB, free: 0.707 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002675/0.1357, allocations: 211.9 kB / 0.6122 GB, free: 496 kB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.1357, allocations: 4 kB / 0.6122 GB, free: 492 kB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.1357, allocations: 3.938 kB / 0.6122 GB, free: 488 kB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.1357, allocations: 4 kB / 0.6122 GB, free: 484 kB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002953/0.136, allocations: 276.4 kB / 0.6124 GB, free: 172 kB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.136, allocations: 0 / 0.6124 GB, free: 172 kB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.457e-05/0.1361, allocations: 31.98 kB / 0.6125 GB, free: 140 kB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.177e-05/0.1362, allocations: 27.67 kB / 0.6125 GB, free: 108 kB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.114e-05/0.1362, allocations: 0 / 0.6125 GB, free: 108 kB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006776/0.1369, allocations: 1.751 MB / 0.6142 GB, free: 14.24 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.1369, allocations: 3.984 kB / 0.6142 GB, free: 14.23 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002781/0.1371, allocations: 469.8 kB / 0.6146 GB, free: 13.75 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 5.873e-05/0.1372, allocations: 55.64 kB / 0.6147 GB, free: 13.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.797e-05/0.1372, allocations: 0 / 0.6147 GB, free: 13.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.868e-05/0.1373, allocations: 11.98 kB / 0.6147 GB, free: 13.68 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.94e-05/0.1374, allocations: 15.91 kB / 0.6147 GB, free: 13.67 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.847e-06/0.1374, allocations: 15.94 kB / 0.6147 GB, free: 13.65 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001676/0.1375, allocations: 290.8 kB / 0.615 GB, free: 13.37 MB / 0.5417 GB Notification: Performance of sort global known variables: time 7e-08/0.1375, allocations: 0 / 0.615 GB, free: 13.37 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002648/0.1378, allocations: 91.78 kB / 0.6151 GB, free: 13.28 MB / 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.0001695/0.138, allocations: 115.2 kB / 0.6152 GB, free: 13.16 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0003076/0.1383, allocations: 275.1 kB / 0.6155 GB, free: 12.87 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.1383, allocations: 0 / 0.6155 GB, free: 12.87 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001572/0.1384, allocations: 229.7 kB / 0.6157 GB, free: 12.62 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004873/0.1389, allocations: 142.4 kB / 0.6158 GB, free: 12.48 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001137/0.1401, allocations: 0.7808 MB / 0.6166 GB, free: 11.66 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.842e-05/0.1401, allocations: 105.3 kB / 0.6167 GB, free: 11.54 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0001071/0.1402, allocations: 62.8 kB / 0.6168 GB, free: 11.48 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.098e-05/0.1403, allocations: 32.48 kB / 0.6168 GB, free: 11.45 MB / 0.5417 GB Notification: Performance of SimCode: time 5.41e-07/0.1403, allocations: 0 / 0.6168 GB, free: 11.45 MB / 0.5417 GB Notification: Performance of Templates: time 0.006957/0.1472, allocations: 4.637 MB / 0.6213 GB, free: 6.957 MB / 0.5417 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: 3.8419868359342217]