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.0009249/0.0009249, allocations: 86.05 kB / 19.87 MB, free: 4.617 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.0008945/0.0008945, allocations: 170 kB / 23.27 MB, free: 1.223 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.9338/0.9338, allocations: 177.1 MB / 203.7 MB, free: 5.516 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.6667/0.6667, allocations: 118.6 MB / 378.9 MB, free: 1.383 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.343e-06/1.343e-06, allocations: 0 / 484 MB, free: 8.156 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.158e-05/1.292e-05, allocations: 6.141 kB / 484.1 MB, free: 8.152 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries): time 0.117/0.117, allocations: 127.9 MB / 0.5976 GB, free: 80 kB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.001393/0.1184, allocations: 1.029 MB / 0.5987 GB, free: 15.05 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002366/0.1186, allocations: 39.62 kB / 0.5987 GB, free: 15.01 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0004425/0.1191, allocations: 142.8 kB / 0.5988 GB, free: 14.87 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.000524/0.1196, allocations: 317.8 kB / 0.5991 GB, free: 14.55 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003632/0.12, allocations: 191.4 kB / 0.5993 GB, free: 14.37 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0006596/0.1206, allocations: 0.758 MB / 0.6001 GB, free: 13.61 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001781/0.1208, allocations: 85.64 kB / 0.6001 GB, free: 13.52 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006168/0.1214, allocations: 434.8 kB / 0.6005 GB, free: 13.09 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003323/0.1218, allocations: 283.2 kB / 0.6008 GB, free: 12.82 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 4.024e-05/0.1218, allocations: 24 kB / 0.6008 GB, free: 12.79 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002571/0.1221, allocations: 147.6 kB / 0.601 GB, free: 12.65 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 7.26e-05/0.1221, allocations: 67.64 kB / 0.601 GB, free: 12.58 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0001215/0.1223, allocations: 143.6 kB / 0.6012 GB, free: 12.44 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0005438/0.1228, allocations: 446.2 kB / 0.6016 GB, free: 12 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.1228, allocations: 0 / 0.6016 GB, free: 12 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.262e-06/0.1228, allocations: 0 / 0.6016 GB, free: 12 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.589e-06/0.1228, allocations: 4 kB / 0.6016 GB, free: 12 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.0008222/0.1236, allocations: 0.8339 MB / 0.6024 GB, free: 11.13 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.365e-05/0.1237, allocations: 8.031 kB / 0.6024 GB, free: 11.12 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.352e-05/0.1237, allocations: 80.56 kB / 0.6025 GB, free: 11.04 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004192/0.1242, allocations: 454.3 kB / 0.6029 GB, free: 10.57 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.543e-05/0.1242, allocations: 17.03 kB / 0.603 GB, free: 10.56 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.549e-05/0.1242, allocations: 28.38 kB / 0.603 GB, free: 10.53 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002519/0.1245, allocations: 280.8 kB / 0.6033 GB, free: 10.21 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.1245, allocations: 7.875 kB / 0.6033 GB, free: 10.2 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.474e-05/0.1245, allocations: 12 kB / 0.6033 GB, free: 10.19 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.854e-06/0.1245, allocations: 8 kB / 0.6033 GB, free: 10.18 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.429e-05/0.1246, allocations: 83.8 kB / 0.6034 GB, free: 10.1 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001079/0.1257, allocations: 1.776 MB / 0.6051 GB, free: 8.246 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002276/0.1259, allocations: 149.3 kB / 0.6052 GB, free: 8.062 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.094e-05/0.1259, allocations: 43.14 kB / 0.6053 GB, free: 8.008 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000184/0.1261, allocations: 57.94 kB / 0.6053 GB, free: 7.957 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.687e-05/0.1261, allocations: 45.39 kB / 0.6054 GB, free: 7.902 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=15): time 1.553e-06/0.1261, allocations: 0 / 0.6054 GB, free: 7.902 MB / 0.5261 GB Notification: Performance of matching and sorting (n=15): time 0.000331/0.1265, allocations: 192.8 kB / 0.6056 GB, free: 7.703 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.011e-05/0.1265, allocations: 110.8 kB / 0.6057 GB, free: 7.57 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002357/0.1268, allocations: 430.4 kB / 0.6061 GB, free: 7.133 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.342e-05/0.1268, allocations: 29.7 kB / 0.6061 GB, free: 7.098 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001392/0.1269, allocations: 323.1 kB / 0.6064 GB, free: 6.777 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.18e-05/0.1269, allocations: 59.47 kB / 0.6065 GB, free: 6.719 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.534e-05/0.127, allocations: 59.16 kB / 0.6065 GB, free: 6.652 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001275/0.1271, allocations: 0.5234 MB / 0.607 GB, free: 6.117 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.177e-05/0.1272, allocations: 23.92 kB / 0.6071 GB, free: 6.094 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.01e-05/0.1272, allocations: 89.7 kB / 0.6071 GB, free: 5.977 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.928e-05/0.1273, allocations: 121.7 kB / 0.6073 GB, free: 5.828 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.1273, allocations: 0 / 0.6073 GB, free: 5.828 MB / 0.5261 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001944/0.1275, allocations: 204.8 kB / 0.6075 GB, free: 5.617 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.1275, allocations: 8 kB / 0.6075 GB, free: 5.609 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.1275, allocations: 0 / 0.6075 GB, free: 5.609 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.297e-05/0.1276, allocations: 27.66 kB / 0.6075 GB, free: 5.578 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.606e-05/0.1277, allocations: 48.05 kB / 0.6075 GB, free: 5.531 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006996/0.1284, allocations: 1.713 MB / 0.6092 GB, free: 3.703 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.516e-05/0.1285, allocations: 23.84 kB / 0.6092 GB, free: 3.68 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.868e-06/0.1285, allocations: 8 kB / 0.6092 GB, free: 3.672 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.71e-05/0.1286, allocations: 172.6 kB / 0.6094 GB, free: 3.492 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.558e-05/0.1287, allocations: 51.7 kB / 0.6095 GB, free: 3.441 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002354/0.1289, allocations: 192.1 kB / 0.6096 GB, free: 3.238 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.442e-06/0.1289, allocations: 0 / 0.6096 GB, free: 3.238 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.1289, allocations: 4 kB / 0.6096 GB, free: 3.234 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.1289, allocations: 3.938 kB / 0.6096 GB, free: 3.23 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002127/0.1291, allocations: 217 kB / 0.6099 GB, free: 2.992 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.1291, allocations: 4 kB / 0.6099 GB, free: 2.988 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.844e-05/0.1292, allocations: 31.92 kB / 0.6099 GB, free: 2.957 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.457e-05/0.1293, allocations: 23.67 kB / 0.6099 GB, free: 2.93 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.011e-05/0.1293, allocations: 4 kB / 0.6099 GB, free: 2.926 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000624/0.1299, allocations: 1.728 MB / 0.6116 GB, free: 1.09 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1299, allocations: 0 / 0.6116 GB, free: 1.09 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00026/0.1302, allocations: 450.1 kB / 0.612 GB, free: 0.6211 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 5.786e-05/0.1302, allocations: 55.62 kB / 0.6121 GB, free: 0.5664 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.23e-05/0.1302, allocations: 12.08 kB / 0.6121 GB, free: 0.5547 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.338e-05/0.1303, allocations: 7.984 kB / 0.6121 GB, free: 0.5469 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.927e-05/0.1304, allocations: 15.97 kB / 0.6121 GB, free: 0.5312 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.814e-06/0.1304, allocations: 7.984 kB / 0.6121 GB, free: 0.5234 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001399/0.1305, allocations: 278.7 kB / 0.6124 GB, free: 256 kB / 0.5261 GB Notification: Performance of sort global known variables: time 6e-08/0.1305, allocations: 4.062 kB / 0.6124 GB, free: 252 kB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002857/0.1308, allocations: 103.7 kB / 0.6125 GB, free: 148 kB / 0.5261 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.0001482/0.1309, allocations: 115.2 kB / 0.6126 GB, free: 24 kB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0002686/0.1312, allocations: 260.4 kB / 0.6129 GB, free: 15.75 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.1312, allocations: 4 kB / 0.6129 GB, free: 15.75 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001424/0.1314, allocations: 225.4 kB / 0.6131 GB, free: 15.5 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004757/0.1318, allocations: 137.6 kB / 0.6132 GB, free: 15.37 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001094/0.1329, allocations: 0.7846 MB / 0.614 GB, free: 14.55 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.409e-05/0.133, allocations: 101.3 kB / 0.6141 GB, free: 14.43 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0001185/0.1331, allocations: 51.2 kB / 0.6141 GB, free: 14.38 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001642/0.1333, allocations: 162.1 kB / 0.6143 GB, free: 14.22 MB / 0.5417 GB Notification: Performance of SimCode: time 7.92e-07/0.1333, allocations: 3.938 kB / 0.6143 GB, free: 14.21 MB / 0.5417 GB Notification: Performance of Templates: time 0.007868/0.1411, allocations: 5.125 MB / 0.6193 GB, free: 9.238 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.5349996550939977]