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.001108/0.001108, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.001254/0.001254, allocations: 177.9 kB / 23.21 MB, free: 1.352 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.8436/0.8436, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.0/package.mo): time 0.4814/0.4814, allocations: 80.17 MB / 340.1 MB, free: 7.559 MB / 314.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.3.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.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.373e-06/1.373e-06, allocations: 0 / 0.4936 GB, free: 6.312 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.158e-05/2.295e-05, allocations: 2.281 kB / 0.4936 GB, free: 6.309 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries): time 0.1111/0.1112, allocations: 127 MB / 0.6176 GB, free: 8.496 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.002217/0.1134, allocations: 2.89 MB / 0.6205 GB, free: 5.598 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002131/0.1136, allocations: 39.62 kB / 0.6205 GB, free: 5.559 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0007813/0.1144, allocations: 230.4 kB / 0.6207 GB, free: 5.332 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0005167/0.1149, allocations: 421.1 kB / 0.6211 GB, free: 4.918 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005087/0.1154, allocations: 470 kB / 0.6216 GB, free: 4.457 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0004716/0.1159, allocations: 0.758 MB / 0.6223 GB, free: 3.695 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001648/0.116, allocations: 89.58 kB / 0.6224 GB, free: 3.602 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007126/0.1167, allocations: 0.6149 MB / 0.623 GB, free: 2.984 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002355/0.117, allocations: 271.2 kB / 0.6233 GB, free: 2.719 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 3.115e-05/0.117, allocations: 24 kB / 0.6233 GB, free: 2.695 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004483/0.1175, allocations: 475 kB / 0.6237 GB, free: 2.23 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 7.161e-05/0.1175, allocations: 79.55 kB / 0.6238 GB, free: 2.152 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 9.275e-05/0.1176, allocations: 139.6 kB / 0.6239 GB, free: 2.016 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0005726/0.1182, allocations: 0.6775 MB / 0.6246 GB, free: 1.336 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.1182, allocations: 0 / 0.6246 GB, free: 1.336 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.285e-06/0.1182, allocations: 0 / 0.6246 GB, free: 1.336 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.941e-06/0.1182, allocations: 0 / 0.6246 GB, free: 1.336 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.001063/0.1193, allocations: 0.734 MB / 0.6253 GB, free: 0.5703 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.644e-05/0.1193, allocations: 13.47 kB / 0.6253 GB, free: 0.5586 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.224e-05/0.1194, allocations: 56.61 kB / 0.6254 GB, free: 0.5039 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004923/0.1199, allocations: 407.4 kB / 0.6258 GB, free: 84 kB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.796e-05/0.1199, allocations: 21.03 kB / 0.6258 GB, free: 60 kB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.676e-05/0.1199, allocations: 28.38 kB / 0.6258 GB, free: 32 kB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003632/0.1203, allocations: 318.8 kB / 0.6261 GB, free: 15.68 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/0.1203, allocations: 7.922 kB / 0.6261 GB, free: 15.68 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.95e-05/0.1203, allocations: 12 kB / 0.6261 GB, free: 15.66 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.845e-06/0.1203, allocations: 4 kB / 0.6262 GB, free: 15.66 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002561/0.1206, allocations: 213.7 kB / 0.6264 GB, free: 15.45 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00126/0.1218, allocations: 1.342 MB / 0.6277 GB, free: 14.05 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000297/0.1221, allocations: 163.7 kB / 0.6278 GB, free: 13.87 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.29e-05/0.1222, allocations: 74.58 kB / 0.6279 GB, free: 13.79 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002446/0.1225, allocations: 67.91 kB / 0.628 GB, free: 13.72 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.063e-05/0.1225, allocations: 38.55 kB / 0.628 GB, free: 13.67 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=15): time 2.114e-06/0.1225, allocations: 0 / 0.628 GB, free: 13.67 MB / 0.5417 GB Notification: Performance of matching and sorting (n=15): time 0.0005013/0.123, allocations: 290.1 kB / 0.6283 GB, free: 13.38 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.113e-05/0.123, allocations: 106.8 kB / 0.6284 GB, free: 13.25 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002608/0.1233, allocations: 378 kB / 0.6287 GB, free: 12.87 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.876e-05/0.1233, allocations: 29.7 kB / 0.6288 GB, free: 12.84 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001243/0.1234, allocations: 264.2 kB / 0.629 GB, free: 12.57 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 3.145e-05/0.1235, allocations: 55.48 kB / 0.6291 GB, free: 12.52 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.956e-05/0.1235, allocations: 45.7 kB / 0.6291 GB, free: 12.47 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 8.747e-05/0.1236, allocations: 350.8 kB / 0.6294 GB, free: 12.12 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.835e-05/0.1237, allocations: 63.95 kB / 0.6295 GB, free: 12.05 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001015/0.1238, allocations: 112.1 kB / 0.6296 GB, free: 11.93 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001928/0.124, allocations: 177.8 kB / 0.6298 GB, free: 11.73 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.124, allocations: 3.938 kB / 0.6298 GB, free: 11.73 MB / 0.5417 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002964/0.1243, allocations: 266 kB / 0.63 GB, free: 11.46 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.1243, allocations: 8 kB / 0.63 GB, free: 11.45 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.1243, allocations: 0 / 0.63 GB, free: 11.45 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001174/0.1244, allocations: 28.78 kB / 0.6301 GB, free: 11.42 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.98e-05/0.1245, allocations: 44.11 kB / 0.6301 GB, free: 11.38 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006459/0.1252, allocations: 1.263 MB / 0.6313 GB, free: 10.01 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.981e-05/0.1252, allocations: 31.84 kB / 0.6314 GB, free: 9.977 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.222e-05/0.1253, allocations: 4 kB / 0.6314 GB, free: 9.973 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.0001128/0.1254, allocations: 165.8 kB / 0.6315 GB, free: 9.801 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.129e-05/0.1254, allocations: 43.72 kB / 0.6316 GB, free: 9.758 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003275/0.1257, allocations: 234.4 kB / 0.6318 GB, free: 9.52 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.1257, allocations: 7.938 kB / 0.6318 GB, free: 9.512 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.1258, allocations: 3.938 kB / 0.6318 GB, free: 9.508 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.1258, allocations: 4 kB / 0.6318 GB, free: 9.504 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000235/0.126, allocations: 269.1 kB / 0.6321 GB, free: 9.211 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/0.126, allocations: 4 kB / 0.6321 GB, free: 9.207 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.449e-05/0.1261, allocations: 27.98 kB / 0.6321 GB, free: 9.18 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.915e-05/0.1261, allocations: 24.84 kB / 0.6321 GB, free: 9.152 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.118e-05/0.1261, allocations: 64 / 0.6321 GB, free: 9.152 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000559/0.1267, allocations: 1.276 MB / 0.6334 GB, free: 7.777 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1267, allocations: 0 / 0.6334 GB, free: 7.777 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003592/0.1271, allocations: 452.1 kB / 0.6338 GB, free: 7.312 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 2.897e-05/0.1271, allocations: 35.72 kB / 0.6338 GB, free: 7.277 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.895e-05/0.1271, allocations: 4.047 kB / 0.6338 GB, free: 7.273 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.618e-05/0.1272, allocations: 16.08 kB / 0.6339 GB, free: 7.258 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.353e-05/0.1273, allocations: 15.97 kB / 0.6339 GB, free: 7.242 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.736e-06/0.1273, allocations: 8 kB / 0.6339 GB, free: 7.234 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001727/0.1274, allocations: 267.1 kB / 0.6341 GB, free: 6.977 MB / 0.5417 GB Notification: Performance of sort global known variables: time 6e-08/0.1274, allocations: 0 / 0.6341 GB, free: 6.977 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002763/0.1277, allocations: 107.7 kB / 0.6342 GB, free: 6.871 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.0004918/0.1282, allocations: 212.2 kB / 0.6344 GB, free: 6.66 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0003491/0.1286, allocations: 254.8 kB / 0.6347 GB, free: 6.398 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.1286, allocations: 0 / 0.6347 GB, free: 6.398 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001669/0.1287, allocations: 186.6 kB / 0.6349 GB, free: 6.203 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004828/0.1292, allocations: 137.7 kB / 0.635 GB, free: 6.074 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008207/0.13, allocations: 0.7779 MB / 0.6358 GB, free: 5.258 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001339/0.1302, allocations: 215.1 kB / 0.636 GB, free: 5.027 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.136e-05/0.1302, allocations: 36.5 kB / 0.636 GB, free: 4.992 MB / 0.5417 GB Notification: Performance of SimCode: time 4.81e-07/0.1302, allocations: 0 / 0.636 GB, free: 4.992 MB / 0.5417 GB Notification: Performance of Templates: time 0.172/0.3022, allocations: 7.986 MB / 0.6438 GB, free: 148.9 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=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.417910071089864]