Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunction.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.0007626/0.0007626, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001051/0.001814, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0007006/0.0007006, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000868/0.001569, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.969/0.969, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09151/1.061, allocations: 53.65 MB / 243.2 MB, free: 15.6 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.1/package.mo): time 0.6618/0.6618, allocations: 118.6 MB / 362.6 MB, free: 1.191 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06089/0.7227, allocations: 35.85 MB / 398.4 MB, free: 13.25 MB / 394.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.1/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.Topology.Tests.TestJunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="junctionN.outlet.m_flow|source.outlet.m_flow|source1.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunction") translateModel(ThermofluidStream.Topology.Tests.TestJunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="junctionN.outlet.m_flow|source.outlet.m_flow|source1.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunction") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 399.7 MB, free: 11.99 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.579e-05/1.727e-05, allocations: 2.312 kB / 399.7 MB, free: 11.99 MB / 394.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestJunction): time 0.317/0.317, allocations: 129.5 MB / 0.5169 GB, free: 2.59 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.004846/0.3219, allocations: 1.382 MB / 0.5182 GB, free: 1.211 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004713/0.3223, allocations: 47.56 kB / 0.5183 GB, free: 1.164 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003111/0.3227, allocations: 113.2 kB / 0.5184 GB, free: 1.055 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005539/0.3232, allocations: 318 kB / 0.5187 GB, free: 0.75 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004865/0.3237, allocations: 227.1 kB / 0.5189 GB, free: 0.5273 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007758/0.3245, allocations: 0.8183 MB / 0.5197 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001737/0.3246, allocations: 83.5 kB / 0.5198 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003767/0.3284, allocations: 469.1 kB / 0.5202 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004513/0.3289, allocations: 359.2 kB / 0.5205 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 4.636e-05/0.3289, allocations: 28 kB / 0.5206 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003107/0.3292, allocations: 163.6 kB / 0.5207 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 8.793e-05/0.3293, allocations: 91.67 kB / 0.5208 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001334/0.3294, allocations: 127.7 kB / 0.5209 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0005617/0.33, allocations: 478.2 kB / 0.5214 GB, free: 13.94 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.299e-05/0.33, allocations: 0 / 0.5214 GB, free: 13.94 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.403e-06/0.33, allocations: 0 / 0.5214 GB, free: 13.94 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.791e-05/0.33, allocations: 0 / 0.5214 GB, free: 13.94 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.004213/0.3343, allocations: 0.9035 MB / 0.5223 GB, free: 13 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.072e-05/0.3343, allocations: 12.03 kB / 0.5223 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.457e-05/0.3344, allocations: 44.89 kB / 0.5223 GB, free: 12.94 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000597/0.335, allocations: 451.5 kB / 0.5228 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.849e-05/0.335, allocations: 12.88 kB / 0.5228 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.099e-05/0.335, allocations: 32.31 kB / 0.5228 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003186/0.3354, allocations: 257 kB / 0.5231 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.3354, allocations: 8 kB / 0.5231 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.156e-05/0.3354, allocations: 7.938 kB / 0.5231 GB, free: 12.15 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.954e-05/0.3354, allocations: 32.41 kB / 0.5231 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002375/0.3357, allocations: 134.2 kB / 0.5232 GB, free: 11.98 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001922/0.3376, allocations: 0.8727 MB / 0.5241 GB, free: 11.09 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002171/0.3378, allocations: 110.5 kB / 0.5242 GB, free: 10.97 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001172/0.3379, allocations: 84.11 kB / 0.5243 GB, free: 10.89 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 9.819e-05/0.338, allocations: 31.95 kB / 0.5243 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.118e-05/0.338, allocations: 30.56 kB / 0.5243 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=32): time 1.704e-06/0.338, allocations: 4 kB / 0.5243 GB, free: 10.81 MB / 0.4948 GB Notification: Performance of matching and sorting (n=33): time 0.001217/0.3393, allocations: 0.6681 MB / 0.525 GB, free: 10.11 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.046e-05/0.3393, allocations: 63.39 kB / 0.525 GB, free: 10.04 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004884/0.3398, allocations: 323.3 kB / 0.5253 GB, free: 9.707 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.576e-05/0.3398, allocations: 29.7 kB / 0.5254 GB, free: 9.672 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 7.191e-05/0.3399, allocations: 173.7 kB / 0.5255 GB, free: 9.5 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 7.864e-05/0.34, allocations: 122.9 kB / 0.5257 GB, free: 9.379 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.41e-05/0.34, allocations: 61.66 kB / 0.5257 GB, free: 9.312 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.615e-05/0.3401, allocations: 362.7 kB / 0.5261 GB, free: 8.949 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.273e-05/0.3402, allocations: 40.86 kB / 0.5261 GB, free: 8.91 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.249e-05/0.3403, allocations: 51.69 kB / 0.5262 GB, free: 8.859 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001791/0.3405, allocations: 140 kB / 0.5263 GB, free: 8.719 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.3405, allocations: 0 / 0.5263 GB, free: 8.719 MB / 0.4948 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003564/0.3408, allocations: 256.7 kB / 0.5265 GB, free: 8.457 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.3408, allocations: 4 kB / 0.5265 GB, free: 8.453 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.3408, allocations: 0 / 0.5265 GB, free: 8.453 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002345/0.3411, allocations: 92.75 kB / 0.5266 GB, free: 8.359 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001967/0.3413, allocations: 63.92 kB / 0.5267 GB, free: 8.297 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001354/0.3426, allocations: 1.748 MB / 0.5284 GB, free: 6.453 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000102/0.3427, allocations: 4.047 kB / 0.5284 GB, free: 6.449 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.303e-05/0.3427, allocations: 19.97 kB / 0.5284 GB, free: 6.43 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (25): * Single equations (assignments): 24 * 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 {(3,9,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001043/0.3428, allocations: 124.6 kB / 0.5285 GB, free: 6.297 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.143e-05/0.3429, allocations: 43.89 kB / 0.5286 GB, free: 6.254 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005251/0.3434, allocations: 458.5 kB / 0.529 GB, free: 5.77 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.3434, allocations: 0 / 0.529 GB, free: 5.77 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.3434, allocations: 4 kB / 0.529 GB, free: 5.766 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.3434, allocations: 0 / 0.529 GB, free: 5.766 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00024/0.3437, allocations: 214.2 kB / 0.5292 GB, free: 5.539 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.3437, allocations: 0 / 0.5292 GB, free: 5.539 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001251/0.3438, allocations: 39.94 kB / 0.5293 GB, free: 5.5 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.902e-05/0.3439, allocations: 48.89 kB / 0.5293 GB, free: 5.453 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002306/0.3441, allocations: 95.59 kB / 0.5294 GB, free: 5.355 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.52e-05/0.3441, allocations: 7.984 kB / 0.5294 GB, free: 5.348 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001286/0.3454, allocations: 1.727 MB / 0.5311 GB, free: 3.531 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.3454, allocations: 0 / 0.5311 GB, free: 3.531 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004222/0.3459, allocations: 319.8 kB / 0.5314 GB, free: 3.199 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.736e-05/0.3459, allocations: 11.92 kB / 0.5314 GB, free: 3.188 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.381e-05/0.346, allocations: 12 kB / 0.5314 GB, free: 3.176 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.974e-05/0.346, allocations: 15.95 kB / 0.5314 GB, free: 3.16 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.722e-05/0.346, allocations: 11.98 kB / 0.5314 GB, free: 3.148 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001244/0.3462, allocations: 152.7 kB / 0.5316 GB, free: 2.996 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4e-08/0.3462, allocations: 0 / 0.5316 GB, free: 2.996 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003609/0.3465, allocations: 104 kB / 0.5317 GB, free: 2.895 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (source.outlet.m_flow,source1.outlet.m_flow,source2.outlet.m_flow) * 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 {(4,8,62.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001638/0.3467, allocations: 116.3 kB / 0.5318 GB, free: 2.77 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0004694/0.3472, allocations: 330.1 kB / 0.5321 GB, free: 2.434 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.19e-05/0.3472, allocations: 8 kB / 0.5321 GB, free: 2.426 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005628/0.3477, allocations: 296 kB / 0.5324 GB, free: 2.121 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003745/0.3481, allocations: 169.5 kB / 0.5326 GB, free: 1.965 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00429/0.3524, allocations: 0.7764 MB / 0.5333 GB, free: 1.156 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.105e-05/0.3525, allocations: 121.2 kB / 0.5334 GB, free: 1.016 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001397/0.3526, allocations: 63.25 kB / 0.5335 GB, free: 0.9531 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001766/0.3528, allocations: 141.2 kB / 0.5336 GB, free: 0.8125 MB / 0.4948 GB Notification: Performance of SimCode: time 9.72e-07/0.3528, allocations: 0 / 0.5336 GB, free: 0.8125 MB / 0.4948 GB Notification: Performance of Templates: time 0.009227/0.362, allocations: 7.515 MB / 0.541 GB, free: 9.484 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunction.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunction.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunction.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunction.pipe >> ../files/ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunction.sim & ./ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunction -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunction.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunction_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Topology.Tests.TestJunction_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.716528559103608]