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.001114/0.001114, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001402/0.002517, 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.001061/0.001061, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001287/0.002348, 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.8874/0.8874, allocations: 177.1 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08631/0.9737, allocations: 53.66 MB / 243.2 MB, free: 15.59 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.6952/0.6952, allocations: 118.7 MB / 362.6 MB, free: 1.184 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06422/0.7594, allocations: 35.84 MB / 398.4 MB, free: 13.26 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.Undirected.Boundaries.Tests.TestBoundaries,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="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="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.673e-06/1.673e-06, allocations: 0 / 399.7 MB, free: 11.98 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.157e-05/1.325e-05, allocations: 2.312 kB / 399.7 MB, free: 11.98 MB / 394.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries): time 0.3404/0.3404, allocations: 130.3 MB / 0.5176 GB, free: 1.824 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001565/0.342, allocations: 1.079 MB / 0.5186 GB, free: 0.7461 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002339/0.3422, allocations: 39.62 kB / 0.5187 GB, free: 0.707 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003414/0.3426, allocations: 145.8 kB / 0.5188 GB, free: 0.5664 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004842/0.3431, allocations: 315 kB / 0.5191 GB, free: 268 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003408/0.3434, allocations: 182.5 kB / 0.5193 GB, free: 88 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006255/0.344, allocations: 0.7556 MB / 0.52 GB, free: 15.33 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001661/0.3442, allocations: 91.66 kB / 0.5201 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005911/0.3448, allocations: 480.3 kB / 0.5206 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002643/0.345, allocations: 263.3 kB / 0.5208 GB, free: 14.51 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 3.253e-05/0.3451, allocations: 24 kB / 0.5209 GB, free: 14.49 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002462/0.3453, allocations: 147.6 kB / 0.521 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 5.795e-05/0.3454, allocations: 59.69 kB / 0.5211 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 9.427e-05/0.3455, allocations: 127.6 kB / 0.5212 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0004171/0.3459, allocations: 422.4 kB / 0.5216 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.558e-05/0.3459, allocations: 0 / 0.5216 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.273e-06/0.3459, allocations: 0 / 0.5216 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.469e-05/0.3459, allocations: 3.938 kB / 0.5216 GB, free: 13.74 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.0008648/0.3468, allocations: 0.8762 MB / 0.5224 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.14e-05/0.3468, allocations: 16.03 kB / 0.5225 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.255e-05/0.3469, allocations: 56.88 kB / 0.5225 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000427/0.3473, allocations: 419.5 kB / 0.5229 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.721e-05/0.3473, allocations: 25.03 kB / 0.5229 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.234e-05/0.3474, allocations: 24.38 kB / 0.523 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002532/0.3476, allocations: 274.3 kB / 0.5232 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.3476, allocations: 7.875 kB / 0.5232 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.472e-05/0.3476, allocations: 11.94 kB / 0.5232 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.3476, allocations: 11.98 kB / 0.5232 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.343e-05/0.3477, allocations: 77.45 kB / 0.5233 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001041/0.3488, allocations: 1.235 MB / 0.5245 GB, free: 10.57 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002061/0.349, allocations: 112.5 kB / 0.5246 GB, free: 10.43 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.489e-05/0.349, allocations: 34.56 kB / 0.5247 GB, free: 10.39 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001912/0.3492, allocations: 55.94 kB / 0.5247 GB, free: 10.33 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.958e-05/0.3492, allocations: 34.55 kB / 0.5248 GB, free: 10.29 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=15): time 2.164e-06/0.3492, allocations: 0 / 0.5248 GB, free: 10.29 MB / 0.4948 GB Notification: Performance of matching and sorting (n=15): time 0.0002964/0.3495, allocations: 162.2 kB / 0.5249 GB, free: 10.12 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.896e-05/0.3496, allocations: 102.8 kB / 0.525 GB, free: 9.996 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002003/0.3498, allocations: 375.2 kB / 0.5254 GB, free: 9.617 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.26e-05/0.3498, allocations: 25.7 kB / 0.5254 GB, free: 9.586 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 8.579e-05/0.3499, allocations: 205.8 kB / 0.5256 GB, free: 9.383 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.87e-05/0.3499, allocations: 63.47 kB / 0.5256 GB, free: 9.32 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.719e-05/0.3499, allocations: 49.67 kB / 0.5257 GB, free: 9.266 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 8.221e-05/0.35, allocations: 350.7 kB / 0.526 GB, free: 8.914 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.665e-05/0.35, allocations: 19.98 kB / 0.526 GB, free: 8.895 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.28e-05/0.3501, allocations: 68.11 kB / 0.5261 GB, free: 8.809 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.752e-05/0.3502, allocations: 101.9 kB / 0.5262 GB, free: 8.688 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.3502, allocations: 4 kB / 0.5262 GB, free: 8.684 MB / 0.4948 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001575/0.3503, allocations: 159.6 kB / 0.5264 GB, free: 8.52 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/0.3504, allocations: 4 kB / 0.5264 GB, free: 8.516 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.3504, allocations: 4 kB / 0.5264 GB, free: 8.512 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.93e-05/0.3505, allocations: 16.84 kB / 0.5264 GB, free: 8.492 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001367/0.3506, allocations: 65.86 kB / 0.5264 GB, free: 8.43 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005359/0.3511, allocations: 1.167 MB / 0.5276 GB, free: 7.172 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.274e-05/0.3512, allocations: 19.88 kB / 0.5276 GB, free: 7.152 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.059e-05/0.3512, allocations: 8 kB / 0.5276 GB, free: 7.145 MB / 0.4948 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 7.968e-05/0.3513, allocations: 128.5 kB / 0.5277 GB, free: 7.008 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.582e-05/0.3513, allocations: 27.97 kB / 0.5278 GB, free: 6.98 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001998/0.3515, allocations: 163 kB / 0.5279 GB, free: 6.812 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.3515, allocations: 11.92 kB / 0.5279 GB, free: 6.801 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/0.3515, allocations: 0 / 0.5279 GB, free: 6.801 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.3515, allocations: 3.938 kB / 0.5279 GB, free: 6.797 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001888/0.3517, allocations: 181.7 kB / 0.5281 GB, free: 6.602 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.3517, allocations: 0 / 0.5281 GB, free: 6.602 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001019/0.3518, allocations: 46.06 kB / 0.5282 GB, free: 6.559 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.017e-05/0.3519, allocations: 51.64 kB / 0.5282 GB, free: 6.508 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.272e-05/0.352, allocations: 20.84 kB / 0.5282 GB, free: 6.484 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.889e-06/0.352, allocations: 4 kB / 0.5282 GB, free: 6.48 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004714/0.3524, allocations: 1.171 MB / 0.5294 GB, free: 5.227 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.3524, allocations: 0 / 0.5294 GB, free: 5.227 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001904/0.3526, allocations: 317.6 kB / 0.5297 GB, free: 4.895 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.409e-05/0.3526, allocations: 13.62 kB / 0.5297 GB, free: 4.883 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.908e-05/0.3527, allocations: 7.984 kB / 0.5297 GB, free: 4.875 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.254e-05/0.3528, allocations: 11.98 kB / 0.5297 GB, free: 4.863 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.774e-06/0.3528, allocations: 7.984 kB / 0.5297 GB, free: 4.855 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001025/0.3529, allocations: 160.4 kB / 0.5299 GB, free: 4.695 MB / 0.4948 GB Notification: Performance of sort global known variables: time 3e-08/0.3529, allocations: 0 / 0.5299 GB, free: 4.695 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002404/0.3531, allocations: 99.78 kB / 0.53 GB, free: 4.598 MB / 0.4948 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.0001303/0.3532, allocations: 105.1 kB / 0.5301 GB, free: 4.488 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002217/0.3535, allocations: 197 kB / 0.5302 GB, free: 4.281 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.093e-05/0.3535, allocations: 11.98 kB / 0.5303 GB, free: 4.27 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.000274/0.3537, allocations: 159.7 kB / 0.5304 GB, free: 4.098 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004097/0.3542, allocations: 161.4 kB / 0.5306 GB, free: 3.953 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005081/0.3592, allocations: 0.7511 MB / 0.5313 GB, free: 3.168 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.399e-05/0.3593, allocations: 109.1 kB / 0.5314 GB, free: 3.039 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001275/0.3594, allocations: 53.78 kB / 0.5315 GB, free: 2.984 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000156/0.3596, allocations: 137.3 kB / 0.5316 GB, free: 2.848 MB / 0.4948 GB Notification: Performance of SimCode: time 9.02e-07/0.3596, allocations: 0 / 0.5316 GB, free: 2.848 MB / 0.4948 GB Notification: Performance of Templates: time 0.007427/0.367, allocations: 5.342 MB / 0.5368 GB, free: 13.69 MB / 0.5105 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 -ignoreHideResult -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.4852348351851106]