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.001078/0.001078, allocations: 93.06 kB / 19.65 MB, free: 280 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.001964/0.001964, allocations: 173.3 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.9344/0.9344, 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.7033/0.7033, allocations: 118.6 MB / 378.6 MB, free: 1.516 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.232e-06/1.232e-06, allocations: 0 / 483.6 MB, free: 8.266 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.472e-05/1.595e-05, allocations: 5.547 kB / 483.6 MB, free: 8.262 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries): time 0.1182/0.1182, allocations: 130.9 MB / 0.6001 GB, free: 13.41 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.001355/0.1196, allocations: 1.041 MB / 0.6011 GB, free: 12.37 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000214/0.1198, allocations: 35.69 kB / 0.6011 GB, free: 12.34 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.000428/0.1202, allocations: 138.8 kB / 0.6013 GB, free: 12.2 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0004697/0.1207, allocations: 317.7 kB / 0.6016 GB, free: 11.89 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003318/0.121, allocations: 191.4 kB / 0.6017 GB, free: 11.7 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0005634/0.1216, allocations: 0.7619 MB / 0.6025 GB, free: 10.93 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001641/0.1218, allocations: 81.7 kB / 0.6026 GB, free: 10.85 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005202/0.1223, allocations: 434.7 kB / 0.603 GB, free: 10.43 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002808/0.1226, allocations: 275.3 kB / 0.6032 GB, free: 10.16 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 3.48e-05/0.1226, allocations: 28 kB / 0.6033 GB, free: 10.13 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002197/0.1228, allocations: 143.6 kB / 0.6034 GB, free: 9.988 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 6.473e-05/0.1229, allocations: 79.56 kB / 0.6035 GB, free: 9.91 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0001023/0.123, allocations: 135.6 kB / 0.6036 GB, free: 9.777 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0004513/0.1234, allocations: 454.2 kB / 0.604 GB, free: 9.332 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.1234, allocations: 0 / 0.604 GB, free: 9.332 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.223e-06/0.1234, allocations: 0 / 0.604 GB, free: 9.332 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.344e-06/0.1235, allocations: 0 / 0.604 GB, free: 9.332 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.000874/0.1243, allocations: 0.8263 MB / 0.6049 GB, free: 8.469 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/0.1244, allocations: 12.03 kB / 0.6049 GB, free: 8.457 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.639e-05/0.1245, allocations: 84.55 kB / 0.6049 GB, free: 8.375 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000452/0.1249, allocations: 446.3 kB / 0.6054 GB, free: 7.914 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.686e-05/0.1249, allocations: 24.97 kB / 0.6054 GB, free: 7.891 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.668e-05/0.125, allocations: 24.38 kB / 0.6054 GB, free: 7.867 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003291/0.1253, allocations: 296.8 kB / 0.6057 GB, free: 7.531 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.1253, allocations: 3.938 kB / 0.6057 GB, free: 7.527 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.948e-05/0.1253, allocations: 12 kB / 0.6057 GB, free: 7.516 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.388e-06/0.1253, allocations: 8 kB / 0.6057 GB, free: 7.508 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001489/0.1255, allocations: 97.5 kB / 0.6058 GB, free: 7.414 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001156/0.1266, allocations: 1.777 MB / 0.6076 GB, free: 5.559 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002756/0.1269, allocations: 149.2 kB / 0.6077 GB, free: 5.375 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.642e-05/0.127, allocations: 51.3 kB / 0.6077 GB, free: 5.312 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002111/0.1272, allocations: 51.92 kB / 0.6078 GB, free: 5.262 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.433e-05/0.1272, allocations: 45.33 kB / 0.6078 GB, free: 5.207 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=15): time 1.724e-06/0.1272, allocations: 3.938 kB / 0.6078 GB, free: 5.203 MB / 0.5261 GB Notification: Performance of matching and sorting (n=15): time 0.0004102/0.1276, allocations: 208.9 kB / 0.608 GB, free: 4.988 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.177e-05/0.1277, allocations: 110.8 kB / 0.6081 GB, free: 4.855 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002761/0.1279, allocations: 434.7 kB / 0.6086 GB, free: 4.414 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.222e-05/0.1279, allocations: 25.7 kB / 0.6086 GB, free: 4.383 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001353/0.1281, allocations: 315.2 kB / 0.6089 GB, free: 4.07 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.287e-05/0.1281, allocations: 67.47 kB / 0.6089 GB, free: 4.004 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.179e-05/0.1282, allocations: 51.36 kB / 0.609 GB, free: 3.945 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001245/0.1283, allocations: 0.5157 MB / 0.6095 GB, free: 3.418 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.115e-05/0.1283, allocations: 23.98 kB / 0.6095 GB, free: 3.395 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.6e-05/0.1284, allocations: 97.78 kB / 0.6096 GB, free: 3.27 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001343/0.1286, allocations: 129.7 kB / 0.6097 GB, free: 3.113 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.1286, allocations: 0 / 0.6097 GB, free: 3.113 MB / 0.5261 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002397/0.1288, allocations: 216.8 kB / 0.6099 GB, free: 2.891 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.1288, allocations: 8 kB / 0.61 GB, free: 2.883 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.1288, allocations: 0 / 0.61 GB, free: 2.883 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001212/0.1289, allocations: 23.67 kB / 0.61 GB, free: 2.855 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001041/0.129, allocations: 48.05 kB / 0.61 GB, free: 2.809 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009205/0.13, allocations: 1.736 MB / 0.6117 GB, free: 0.9492 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.512e-05/0.13, allocations: 27.77 kB / 0.6117 GB, free: 0.9219 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.152e-05/0.1301, allocations: 8 kB / 0.6118 GB, free: 0.9141 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.0001069/0.1302, allocations: 168.5 kB / 0.6119 GB, free: 0.7383 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.949e-05/0.1302, allocations: 47.72 kB / 0.612 GB, free: 0.6914 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002893/0.1305, allocations: 211.3 kB / 0.6122 GB, free: 480 kB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.1305, allocations: 0 / 0.6122 GB, free: 480 kB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.1305, allocations: 7.938 kB / 0.6122 GB, free: 472 kB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.469e-06/0.1305, allocations: 0 / 0.6122 GB, free: 472 kB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000286/0.1308, allocations: 272.4 kB / 0.6124 GB, free: 164 kB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.1308, allocations: 4 kB / 0.6124 GB, free: 160 kB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.541e-05/0.1309, allocations: 32.05 kB / 0.6125 GB, free: 128 kB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.72e-05/0.131, allocations: 31.66 kB / 0.6125 GB, free: 92 kB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.631e-05/0.131, allocations: 8 kB / 0.6125 GB, free: 84 kB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007929/0.1318, allocations: 1.735 MB / 0.6142 GB, free: 14.23 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1318, allocations: 0 / 0.6142 GB, free: 14.23 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003174/0.1321, allocations: 470.1 kB / 0.6146 GB, free: 13.74 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 6.293e-05/0.1322, allocations: 59.62 kB / 0.6147 GB, free: 13.68 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.63e-05/0.1322, allocations: 0 / 0.6147 GB, free: 13.68 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.657e-05/0.1323, allocations: 8 kB / 0.6147 GB, free: 13.68 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.164e-05/0.1324, allocations: 20.11 kB / 0.6147 GB, free: 13.66 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.825e-06/0.1324, allocations: 7.984 kB / 0.6147 GB, free: 13.65 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001842/0.1326, allocations: 294.8 kB / 0.615 GB, free: 13.36 MB / 0.5417 GB Notification: Performance of sort global known variables: time 9e-08/0.1326, allocations: 0 / 0.615 GB, free: 13.36 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002884/0.1328, allocations: 95.78 kB / 0.6151 GB, free: 13.27 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.0001846/0.133, allocations: 119.2 kB / 0.6152 GB, free: 13.14 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0003539/0.1334, allocations: 275 kB / 0.6155 GB, free: 12.85 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.1334, allocations: 0 / 0.6155 GB, free: 12.85 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001674/0.1335, allocations: 237.3 kB / 0.6157 GB, free: 12.6 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005024/0.1341, allocations: 133.9 kB / 0.6158 GB, free: 12.47 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001329/0.1354, allocations: 0.7808 MB / 0.6166 GB, free: 11.65 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.864e-05/0.1355, allocations: 105.3 kB / 0.6167 GB, free: 11.53 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.000123/0.1356, allocations: 51.05 kB / 0.6167 GB, free: 11.48 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.356e-05/0.1356, allocations: 40.48 kB / 0.6168 GB, free: 11.44 MB / 0.5417 GB Notification: Performance of SimCode: time 7.11e-07/0.1356, allocations: 0 / 0.6168 GB, free: 11.44 MB / 0.5417 GB Notification: Performance of Templates: time 0.007393/0.143, allocations: 5.026 MB / 0.6217 GB, free: 6.582 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.7450761888176203]