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.0009418/0.0009418, 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.0009021/0.0009021, allocations: 173 kB / 23.03 MB, free: 1.543 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.8973/0.8973, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.6956/0.6956, allocations: 118.6 MB / 378.6 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.653e-06/1.653e-06, allocations: 0 / 483.6 MB, free: 8.293 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.533e-05/2.698e-05, allocations: 2.312 kB / 483.6 MB, free: 8.289 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries): time 0.1229/0.1229, allocations: 130.8 MB / 0.6001 GB, free: 13.41 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.001613/0.1246, allocations: 1.041 MB / 0.6011 GB, free: 12.37 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003293/0.1249, allocations: 43.62 kB / 0.6011 GB, free: 12.33 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0005557/0.1254, allocations: 138.9 kB / 0.6013 GB, free: 12.19 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0005547/0.126, allocations: 317.8 kB / 0.6016 GB, free: 11.88 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004187/0.1264, allocations: 195.4 kB / 0.6017 GB, free: 11.69 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0007465/0.1272, allocations: 0.7541 MB / 0.6025 GB, free: 10.93 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001982/0.1274, allocations: 77.7 kB / 0.6026 GB, free: 10.85 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007418/0.1281, allocations: 442.7 kB / 0.603 GB, free: 10.42 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003375/0.1284, allocations: 279.2 kB / 0.6032 GB, free: 10.14 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 4.267e-05/0.1285, allocations: 24 kB / 0.6033 GB, free: 10.12 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002932/0.1288, allocations: 143.7 kB / 0.6034 GB, free: 9.98 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 7.548e-05/0.1289, allocations: 67.64 kB / 0.6035 GB, free: 9.914 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0001139/0.129, allocations: 147.5 kB / 0.6036 GB, free: 9.77 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0005465/0.1295, allocations: 446.3 kB / 0.604 GB, free: 9.332 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.1295, allocations: 0 / 0.604 GB, free: 9.332 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.183e-06/0.1295, allocations: 7.938 kB / 0.604 GB, free: 9.324 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 8.445e-06/0.1295, allocations: 0 / 0.604 GB, free: 9.324 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.0009438/0.1305, allocations: 0.8223 MB / 0.6048 GB, free: 8.465 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.1305, allocations: 12.03 kB / 0.6049 GB, free: 8.453 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.719e-05/0.1306, allocations: 80.56 kB / 0.6049 GB, free: 8.375 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005082/0.1311, allocations: 454.2 kB / 0.6054 GB, free: 7.906 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.808e-05/0.1311, allocations: 21.03 kB / 0.6054 GB, free: 7.887 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.906e-05/0.1312, allocations: 24.38 kB / 0.6054 GB, free: 7.863 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003548/0.1315, allocations: 304.8 kB / 0.6057 GB, free: 7.52 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.1315, allocations: 3.938 kB / 0.6057 GB, free: 7.516 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.075e-05/0.1316, allocations: 19.98 kB / 0.6057 GB, free: 7.496 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.198e-05/0.1316, allocations: 8 kB / 0.6057 GB, free: 7.488 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001605/0.1317, allocations: 99.05 kB / 0.6058 GB, free: 7.395 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001267/0.133, allocations: 1.765 MB / 0.6075 GB, free: 5.551 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002998/0.1333, allocations: 153.2 kB / 0.6077 GB, free: 5.363 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.681e-05/0.1334, allocations: 51.14 kB / 0.6077 GB, free: 5.301 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002292/0.1336, allocations: 47.92 kB / 0.6078 GB, free: 5.254 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.372e-05/0.1336, allocations: 45.33 kB / 0.6078 GB, free: 5.199 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=15): time 2.605e-06/0.1336, allocations: 0 / 0.6078 GB, free: 5.199 MB / 0.5261 GB Notification: Performance of matching and sorting (n=15): time 0.000432/0.134, allocations: 205 kB / 0.608 GB, free: 4.988 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.252e-05/0.1341, allocations: 114.8 kB / 0.6081 GB, free: 4.852 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002843/0.1344, allocations: 438.6 kB / 0.6086 GB, free: 4.406 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.519e-05/0.1344, allocations: 25.7 kB / 0.6086 GB, free: 4.375 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001422/0.1345, allocations: 311.2 kB / 0.6089 GB, free: 4.066 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.789e-05/0.1346, allocations: 59.48 kB / 0.6089 GB, free: 4.008 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.926e-05/0.1346, allocations: 63.17 kB / 0.609 GB, free: 3.938 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001373/0.1348, allocations: 0.5196 MB / 0.6095 GB, free: 3.406 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.948e-05/0.1348, allocations: 23.97 kB / 0.6095 GB, free: 3.383 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.61e-05/0.1349, allocations: 97.78 kB / 0.6096 GB, free: 3.258 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001363/0.135, allocations: 137.7 kB / 0.6097 GB, free: 3.094 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.135, allocations: 3.938 kB / 0.6097 GB, free: 3.09 MB / 0.5261 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002454/0.1353, allocations: 205.2 kB / 0.6099 GB, free: 2.879 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.1353, allocations: 10.34 kB / 0.61 GB, free: 2.871 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.1353, allocations: 3.938 kB / 0.61 GB, free: 2.867 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001375/0.1354, allocations: 31.8 kB / 0.61 GB, free: 2.832 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001093/0.1355, allocations: 44.09 kB / 0.61 GB, free: 2.789 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000853/0.1364, allocations: 1.732 MB / 0.6117 GB, free: 0.9336 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.447e-05/0.1365, allocations: 23.78 kB / 0.6117 GB, free: 0.9102 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.124e-05/0.1365, allocations: 8.125 kB / 0.6118 GB, free: 0.9023 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 0.0001244/0.1366, allocations: 172.5 kB / 0.6119 GB, free: 0.7227 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.023e-05/0.1367, allocations: 47.72 kB / 0.612 GB, free: 0.6758 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002896/0.137, allocations: 208.3 kB / 0.6122 GB, free: 468 kB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.584e-06/0.137, allocations: 0 / 0.6122 GB, free: 468 kB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.137, allocations: 7.938 kB / 0.6122 GB, free: 460 kB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.137, allocations: 4 kB / 0.6122 GB, free: 456 kB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002802/0.1373, allocations: 276.4 kB / 0.6124 GB, free: 144 kB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.1373, allocations: 4 kB / 0.6124 GB, free: 140 kB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.282e-05/0.1374, allocations: 36.05 kB / 0.6125 GB, free: 104 kB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.26e-05/0.1374, allocations: 19.67 kB / 0.6125 GB, free: 80 kB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.528e-05/0.1374, allocations: 8 kB / 0.6125 GB, free: 72 kB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007566/0.1382, allocations: 1.743 MB / 0.6142 GB, free: 14.21 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.1382, allocations: 0 / 0.6142 GB, free: 14.21 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003248/0.1385, allocations: 466 kB / 0.6146 GB, free: 13.73 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 6.501e-05/0.1386, allocations: 55.64 kB / 0.6147 GB, free: 13.67 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.296e-05/0.1386, allocations: 4 kB / 0.6147 GB, free: 13.67 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.622e-05/0.1387, allocations: 7.984 kB / 0.6147 GB, free: 13.66 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.68e-05/0.1388, allocations: 19.97 kB / 0.6147 GB, free: 13.64 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.995e-06/0.1388, allocations: 12.03 kB / 0.6147 GB, free: 13.63 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001818/0.139, allocations: 290.8 kB / 0.615 GB, free: 13.34 MB / 0.5417 GB Notification: Performance of sort global known variables: time 6e-08/0.139, allocations: 0 / 0.615 GB, free: 13.34 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0003169/0.1393, allocations: 99.78 kB / 0.6151 GB, free: 13.25 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.0001887/0.1395, allocations: 115.2 kB / 0.6152 GB, free: 13.12 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0003697/0.1398, allocations: 276.8 kB / 0.6155 GB, free: 12.84 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.1398, allocations: 0 / 0.6155 GB, free: 12.84 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001686/0.14, allocations: 233.4 kB / 0.6157 GB, free: 12.59 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005103/0.1405, allocations: 129.7 kB / 0.6158 GB, free: 12.46 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001287/0.1418, allocations: 0.788 MB / 0.6166 GB, free: 11.63 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.673e-05/0.1419, allocations: 101.3 kB / 0.6167 GB, free: 11.52 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0001361/0.142, allocations: 58.58 kB / 0.6168 GB, free: 11.46 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.717e-05/0.1421, allocations: 40.48 kB / 0.6168 GB, free: 11.42 MB / 0.5417 GB Notification: Performance of SimCode: time 1.392e-06/0.1421, allocations: 0 / 0.6168 GB, free: 11.42 MB / 0.5417 GB Notification: Performance of Templates: time 0.008614/0.1507, allocations: 5.023 MB / 0.6217 GB, free: 6.551 MB / 0.5417 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: 3.6576833273284137]