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.001235/0.001235, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002175/0.00341, 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.001139/0.001139, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001512/0.002651, 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.9452/0.9452, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1018/1.047, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.1-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.1-main/package.mo): time 0.6405/0.6405, allocations: 118.8 MB / 362.9 MB, free: 1.141 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07011/0.7106, allocations: 35.85 MB / 398.8 MB, free: 13.19 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-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="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="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 2.114e-06/2.114e-06, allocations: 0 / 400.1 MB, free: 11.89 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.667e-05/2.878e-05, allocations: 6.25 kB / 400.1 MB, free: 11.88 MB / 394.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries): time 0.2935/0.2935, allocations: 130.3 MB / 0.5179 GB, free: 1.734 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001355/0.2949, allocations: 1.083 MB / 0.519 GB, free: 0.6523 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002252/0.2951, allocations: 39.62 kB / 0.519 GB, free: 0.6133 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003179/0.2954, allocations: 141.8 kB / 0.5192 GB, free: 488 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004375/0.2959, allocations: 315 kB / 0.5195 GB, free: 176 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003061/0.2962, allocations: 174.5 kB / 0.5196 GB, free: 4 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006166/0.2968, allocations: 0.7658 MB / 0.5204 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001525/0.297, allocations: 91.66 kB / 0.5205 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005441/0.2975, allocations: 486 kB / 0.5209 GB, free: 14.67 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002598/0.2978, allocations: 255.3 kB / 0.5212 GB, free: 14.42 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 3.112e-05/0.2978, allocations: 24 kB / 0.5212 GB, free: 14.4 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002278/0.298, allocations: 151.6 kB / 0.5213 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 5.938e-05/0.2981, allocations: 67.62 kB / 0.5214 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 8.605e-05/0.2982, allocations: 123.7 kB / 0.5215 GB, free: 14.06 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0004131/0.2986, allocations: 422.3 kB / 0.5219 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.087e-05/0.2986, allocations: 0 / 0.5219 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.863e-06/0.2986, allocations: 0 / 0.5219 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.113e-05/0.2986, allocations: 0 / 0.5219 GB, free: 13.65 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.001064/0.2997, allocations: 0.8761 MB / 0.5228 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 2.872e-05/0.2997, allocations: 15.97 kB / 0.5228 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.172e-05/0.2998, allocations: 56.89 kB / 0.5229 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004325/0.3002, allocations: 419.5 kB / 0.5233 GB, free: 12.22 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.645e-05/0.3002, allocations: 25.03 kB / 0.5233 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.299e-05/0.3002, allocations: 24.38 kB / 0.5233 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000259/0.3005, allocations: 278.3 kB / 0.5236 GB, free: 11.87 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.3005, allocations: 0 / 0.5236 GB, free: 11.87 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.582e-05/0.3005, allocations: 15.94 kB / 0.5236 GB, free: 11.85 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.293e-06/0.3005, allocations: 4 kB / 0.5236 GB, free: 11.85 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.441e-05/0.3006, allocations: 88.31 kB / 0.5237 GB, free: 11.76 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008808/0.3015, allocations: 1.226 MB / 0.5249 GB, free: 10.48 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001959/0.3017, allocations: 115.9 kB / 0.525 GB, free: 10.34 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.323e-05/0.3017, allocations: 38.59 kB / 0.525 GB, free: 10.29 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001747/0.3019, allocations: 47.94 kB / 0.5251 GB, free: 10.25 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.988e-05/0.3019, allocations: 42.56 kB / 0.5251 GB, free: 10.2 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=15): time 1.233e-06/0.3019, allocations: 0 / 0.5251 GB, free: 10.2 MB / 0.4948 GB Notification: Performance of matching and sorting (n=15): time 0.0002858/0.3022, allocations: 154.2 kB / 0.5252 GB, free: 10.04 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.965e-05/0.3023, allocations: 102.8 kB / 0.5253 GB, free: 9.91 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001898/0.3024, allocations: 375.2 kB / 0.5257 GB, free: 9.531 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.328e-05/0.3025, allocations: 29.7 kB / 0.5257 GB, free: 9.496 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 8.756e-05/0.3025, allocations: 205.8 kB / 0.5259 GB, free: 9.293 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.854e-05/0.3026, allocations: 59.47 kB / 0.526 GB, free: 9.234 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.429e-05/0.3026, allocations: 45.69 kB / 0.526 GB, free: 9.184 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.054e-05/0.3027, allocations: 362.7 kB / 0.5264 GB, free: 8.82 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.631e-05/0.3027, allocations: 19.98 kB / 0.5264 GB, free: 8.801 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.771e-05/0.3028, allocations: 65.92 kB / 0.5265 GB, free: 8.715 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.25e-05/0.3029, allocations: 103.3 kB / 0.5266 GB, free: 8.594 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.3029, allocations: 4 kB / 0.5266 GB, free: 8.59 MB / 0.4948 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001563/0.303, allocations: 158.2 kB / 0.5267 GB, free: 8.426 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/0.303, allocations: 4 kB / 0.5267 GB, free: 8.422 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.3031, allocations: 4.562 kB / 0.5267 GB, free: 8.418 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.761e-05/0.3032, allocations: 16.84 kB / 0.5267 GB, free: 8.398 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001495/0.3033, allocations: 62.16 kB / 0.5268 GB, free: 8.34 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005315/0.3038, allocations: 1.164 MB / 0.5279 GB, free: 7.086 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.3e-05/0.3039, allocations: 19.83 kB / 0.5279 GB, free: 7.066 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.136e-05/0.3039, allocations: 15.98 kB / 0.528 GB, free: 7.051 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 8.144e-05/0.304, allocations: 128.5 kB / 0.5281 GB, free: 6.914 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.618e-05/0.304, allocations: 27.97 kB / 0.5281 GB, free: 6.887 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002087/0.3043, allocations: 171.7 kB / 0.5283 GB, free: 6.715 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.3043, allocations: 8.031 kB / 0.5283 GB, free: 6.707 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-06/0.3043, allocations: 0 / 0.5283 GB, free: 6.707 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.3043, allocations: 7.922 kB / 0.5283 GB, free: 6.699 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001843/0.3045, allocations: 177.7 kB / 0.5285 GB, free: 6.508 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.3045, allocations: 0 / 0.5285 GB, free: 6.508 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.731e-05/0.3045, allocations: 43.91 kB / 0.5285 GB, free: 6.465 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.082e-05/0.3046, allocations: 51.62 kB / 0.5286 GB, free: 6.414 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.812e-05/0.3047, allocations: 20.84 kB / 0.5286 GB, free: 6.391 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.199e-05/0.3047, allocations: 9.188 kB / 0.5286 GB, free: 6.383 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006704/0.3053, allocations: 1.159 MB / 0.5297 GB, free: 5.141 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.3053, allocations: 3.984 kB / 0.5297 GB, free: 5.137 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001854/0.3055, allocations: 320.5 kB / 0.53 GB, free: 4.801 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.102e-05/0.3055, allocations: 11.94 kB / 0.53 GB, free: 4.789 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.805e-05/0.3056, allocations: 4 kB / 0.53 GB, free: 4.785 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.609e-05/0.3057, allocations: 15.97 kB / 0.5301 GB, free: 4.77 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.851e-06/0.3057, allocations: 4 kB / 0.5301 GB, free: 4.766 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001002/0.3058, allocations: 164.4 kB / 0.5302 GB, free: 4.602 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4e-08/0.3058, allocations: 0 / 0.5302 GB, free: 4.602 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002422/0.306, allocations: 99.78 kB / 0.5303 GB, free: 4.504 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.0001402/0.3062, allocations: 105.1 kB / 0.5304 GB, free: 4.395 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002118/0.3064, allocations: 195.7 kB / 0.5306 GB, free: 4.191 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 9.007e-06/0.3064, allocations: 4 kB / 0.5306 GB, free: 4.188 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001286/0.3065, allocations: 184.4 kB / 0.5308 GB, free: 3.992 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006267/0.3071, allocations: 0.9029 MB / 0.5317 GB, free: 2.938 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004893/0.312, allocations: 0.7336 MB / 0.5324 GB, free: 2.168 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.473e-05/0.3121, allocations: 109.1 kB / 0.5325 GB, free: 2.039 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001115/0.3122, allocations: 53.56 kB / 0.5325 GB, free: 1.988 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001538/0.3124, allocations: 137.3 kB / 0.5327 GB, free: 1.852 MB / 0.4948 GB Notification: Performance of SimCode: time 7.21e-07/0.3124, allocations: 0 / 0.5327 GB, free: 1.852 MB / 0.4948 GB Notification: Performance of Templates: time 0.007905/0.3203, allocations: 5.367 MB / 0.5379 GB, free: 12.66 MB / 0.5105 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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.4581658132374287]