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.0008021/0.0008021, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001035/0.001837, allocations: 440 kB / 10.41 MB, free: 284 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.0006819/0.0006819, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009444/0.001626, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.9401/0.9401, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09145/1.032, allocations: 53.67 MB / 243.4 MB, free: 15.48 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.6698/0.6698, allocations: 118.7 MB / 362.9 MB, free: 1.043 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.05978/0.7296, allocations: 35.85 MB / 398.7 MB, free: 13.09 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.843e-06/1.843e-06, allocations: 0 / 400 MB, free: 11.8 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.573e-05/2.757e-05, allocations: 6.312 kB / 400 MB, free: 11.8 MB / 394.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestJunction): time 0.331/0.331, allocations: 129.6 MB / 0.5171 GB, free: 2.312 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001617/0.3326, allocations: 1.378 MB / 0.5185 GB, free: 0.9375 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002413/0.3329, allocations: 39.62 kB / 0.5185 GB, free: 0.8984 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003278/0.3332, allocations: 117.2 kB / 0.5186 GB, free: 0.7852 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005122/0.3337, allocations: 321.9 kB / 0.519 GB, free: 488 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004641/0.3342, allocations: 215.2 kB / 0.5192 GB, free: 272 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008652/0.3351, allocations: 0.8254 MB / 0.52 GB, free: 15.44 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001939/0.3352, allocations: 75.56 kB / 0.52 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009006/0.3361, allocations: 473.5 kB / 0.5205 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004647/0.3366, allocations: 363.1 kB / 0.5208 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 5.072e-05/0.3367, allocations: 32 kB / 0.5209 GB, free: 14.51 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003664/0.337, allocations: 151.7 kB / 0.521 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 8.483e-05/0.3371, allocations: 96.23 kB / 0.5211 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001043/0.3372, allocations: 127.7 kB / 0.5212 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0005402/0.3378, allocations: 474.2 kB / 0.5217 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.01e-05/0.3378, allocations: 0 / 0.5217 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.543e-06/0.3378, allocations: 0 / 0.5217 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.554e-05/0.3378, allocations: 0 / 0.5217 GB, free: 13.68 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.001233/0.339, allocations: 0.9074 MB / 0.5226 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.135e-05/0.339, allocations: 8.031 kB / 0.5226 GB, free: 12.72 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.584e-05/0.3391, allocations: 52.83 kB / 0.5226 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004814/0.3396, allocations: 443.5 kB / 0.523 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.71e-05/0.3396, allocations: 16.88 kB / 0.5231 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.5e-05/0.3397, allocations: 28.33 kB / 0.5231 GB, free: 12.17 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002807/0.3399, allocations: 264.9 kB / 0.5233 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.858e-06/0.34, allocations: 4 kB / 0.5233 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.133e-05/0.34, allocations: 19.92 kB / 0.5234 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.494e-05/0.34, allocations: 12.5 kB / 0.5234 GB, free: 11.85 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001739/0.3402, allocations: 146.1 kB / 0.5235 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001157/0.3413, allocations: 0.8683 MB / 0.5244 GB, free: 10.81 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000186/0.3415, allocations: 107.6 kB / 0.5245 GB, free: 10.7 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.324e-05/0.3416, allocations: 89.28 kB / 0.5245 GB, free: 10.61 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 8.732e-05/0.3417, allocations: 31.95 kB / 0.5246 GB, free: 10.58 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.505e-05/0.3417, allocations: 38.5 kB / 0.5246 GB, free: 10.53 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=32): time 1.703e-06/0.3417, allocations: 4 kB / 0.5246 GB, free: 10.53 MB / 0.4948 GB Notification: Performance of matching and sorting (n=33): time 0.001266/0.343, allocations: 0.7168 MB / 0.5253 GB, free: 9.777 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.182e-05/0.343, allocations: 59.39 kB / 0.5254 GB, free: 9.707 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001735/0.3432, allocations: 335.3 kB / 0.5257 GB, free: 9.367 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.237e-05/0.3432, allocations: 33.7 kB / 0.5257 GB, free: 9.328 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.199e-05/0.3433, allocations: 169.7 kB / 0.5259 GB, free: 9.16 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 6.791e-05/0.3434, allocations: 122.9 kB / 0.526 GB, free: 9.039 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.554e-05/0.3434, allocations: 61.66 kB / 0.5261 GB, free: 8.973 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.004e-05/0.3435, allocations: 354.7 kB / 0.5264 GB, free: 8.617 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.348e-05/0.3436, allocations: 40.86 kB / 0.5264 GB, free: 8.578 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002822/0.3439, allocations: 51.69 kB / 0.5265 GB, free: 8.527 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001375/0.344, allocations: 133.3 kB / 0.5266 GB, free: 8.395 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.344, allocations: 0 / 0.5266 GB, free: 8.395 MB / 0.4948 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0002739/0.3443, allocations: 264.7 kB / 0.5269 GB, free: 8.125 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.3443, allocations: 4 kB / 0.5269 GB, free: 8.121 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.3443, allocations: 0 / 0.5269 GB, free: 8.121 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002132/0.3445, allocations: 96.95 kB / 0.527 GB, free: 8.023 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001522/0.3447, allocations: 63.86 kB / 0.527 GB, free: 7.961 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001211/0.3459, allocations: 1.761 MB / 0.5287 GB, free: 6.105 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.129e-05/0.346, allocations: 4 kB / 0.5287 GB, free: 6.102 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.523e-05/0.346, allocations: 7.984 kB / 0.5288 GB, free: 6.094 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.0001028/0.3461, allocations: 124.7 kB / 0.5289 GB, free: 5.961 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.76e-05/0.3461, allocations: 43.89 kB / 0.5289 GB, free: 5.918 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004257/0.3465, allocations: 442.5 kB / 0.5293 GB, free: 5.449 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.3465, allocations: 4 kB / 0.5293 GB, free: 5.445 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.615e-06/0.3466, allocations: 0 / 0.5293 GB, free: 5.445 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.3466, allocations: 4 kB / 0.5293 GB, free: 5.441 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002124/0.3468, allocations: 217.6 kB / 0.5296 GB, free: 5.211 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-06/0.3468, allocations: 0.5625 kB / 0.5296 GB, free: 5.211 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.62e-05/0.3469, allocations: 39.88 kB / 0.5296 GB, free: 5.172 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.278e-05/0.3469, allocations: 51.69 kB / 0.5296 GB, free: 5.121 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001941/0.3471, allocations: 103.6 kB / 0.5297 GB, free: 5.016 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.174e-05/0.3471, allocations: 12.8 kB / 0.5298 GB, free: 5.004 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001082/0.3482, allocations: 1.722 MB / 0.5314 GB, free: 3.195 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.3482, allocations: 0 / 0.5314 GB, free: 3.195 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003514/0.3486, allocations: 318.3 kB / 0.5317 GB, free: 2.863 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.971e-05/0.3486, allocations: 12 kB / 0.5318 GB, free: 2.852 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.994e-05/0.3487, allocations: 4 kB / 0.5318 GB, free: 2.848 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.131e-05/0.3487, allocations: 19.95 kB / 0.5318 GB, free: 2.828 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.869e-05/0.3487, allocations: 9.172 kB / 0.5318 GB, free: 2.82 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001056/0.3489, allocations: 160.7 kB / 0.5319 GB, free: 2.66 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.3489, allocations: 0 / 0.5319 GB, free: 2.66 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.000299/0.3491, allocations: 108 kB / 0.532 GB, free: 2.555 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.0001746/0.3493, allocations: 112.5 kB / 0.5321 GB, free: 2.434 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0004166/0.3497, allocations: 334.2 kB / 0.5325 GB, free: 2.094 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.178e-05/0.3498, allocations: 7.984 kB / 0.5325 GB, free: 2.086 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.000279/0.35, allocations: 300.6 kB / 0.5328 GB, free: 1.777 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006815/0.3507, allocations: 0.9579 MB / 0.5337 GB, free: 0.6523 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004518/0.3552, allocations: 0.7743 MB / 0.5345 GB, free: 15.85 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001049/0.3553, allocations: 117.3 kB / 0.5346 GB, free: 15.71 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0002171/0.3556, allocations: 63.27 kB / 0.5346 GB, free: 15.64 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002188/0.3558, allocations: 145.3 kB / 0.5348 GB, free: 15.5 MB / 0.5105 GB Notification: Performance of SimCode: time 2.354e-06/0.3558, allocations: 0 / 0.5348 GB, free: 15.5 MB / 0.5105 GB Notification: Performance of Templates: time 0.01145/0.3672, allocations: 7.646 MB / 0.5422 GB, free: 8.051 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.662003339268267]