Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.SourceSink.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.0008172/0.0008172, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001072/0.00189, 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.000724/0.000724, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009505/0.001674, 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.911/0.911, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09416/1.005, 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.7202/0.7202, allocations: 118.8 MB / 362.9 MB, free: 1.141 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.05593/0.7761, allocations: 35.85 MB / 398.8 MB, free: 13.2 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.Boundaries.Tests.SourceSink,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="source.outlet.m_flow|source1.outlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.SourceSink") translateModel(ThermofluidStream.Boundaries.Tests.SourceSink,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="source.outlet.m_flow|source1.outlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.SourceSink") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 400.1 MB, free: 11.9 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.007e-05/2.147e-05, allocations: 2.312 kB / 400.1 MB, free: 11.89 MB / 394.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Boundaries.Tests.SourceSink): time 0.2986/0.2986, allocations: 129.1 MB / 0.5167 GB, free: 2.973 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009561/0.2995, allocations: 0.7817 MB / 0.5175 GB, free: 2.195 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001721/0.2997, allocations: 31.69 kB / 0.5175 GB, free: 2.164 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002636/0.3, allocations: 82.3 kB / 0.5176 GB, free: 2.086 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003223/0.3003, allocations: 186.7 kB / 0.5178 GB, free: 1.902 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002468/0.3005, allocations: 117.8 kB / 0.5179 GB, free: 1.789 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004072/0.3009, allocations: 434 kB / 0.5183 GB, free: 1.363 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001293/0.3011, allocations: 41.97 kB / 0.5183 GB, free: 1.328 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004444/0.3015, allocations: 288.1 kB / 0.5186 GB, free: 1.051 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001419/0.3017, allocations: 115.7 kB / 0.5187 GB, free: 0.9375 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.921e-05/0.3017, allocations: 12 kB / 0.5187 GB, free: 0.9258 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001475/0.3018, allocations: 71.88 kB / 0.5188 GB, free: 0.8555 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 4.732e-05/0.3019, allocations: 35.25 kB / 0.5188 GB, free: 0.8242 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 5.032e-05/0.3019, allocations: 59.81 kB / 0.5189 GB, free: 0.7656 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003094/0.3022, allocations: 248.8 kB / 0.5191 GB, free: 0.5234 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.037e-05/0.3022, allocations: 0 / 0.5191 GB, free: 0.5234 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.3022, allocations: 4 kB / 0.5191 GB, free: 0.5195 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.102e-05/0.3023, allocations: 0 / 0.5191 GB, free: 0.5195 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0006155/0.3029, allocations: 0.6348 MB / 0.5198 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 2.854e-05/0.3029, allocations: 8.031 kB / 0.5198 GB, free: 15.83 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.601e-05/0.3029, allocations: 34.28 kB / 0.5198 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003845/0.3033, allocations: 364.3 kB / 0.5201 GB, free: 15.42 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.468e-05/0.3033, allocations: 16.59 kB / 0.5202 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.323e-05/0.3034, allocations: 8.375 kB / 0.5202 GB, free: 15.4 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001364/0.3035, allocations: 124.4 kB / 0.5203 GB, free: 15.26 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.3035, allocations: 0 / 0.5203 GB, free: 15.26 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.247e-06/0.3035, allocations: 7.938 kB / 0.5203 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.3035, allocations: 4 kB / 0.5203 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.867e-05/0.3036, allocations: 37.64 kB / 0.5203 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004616/0.304, allocations: 0.5241 MB / 0.5208 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 7.978e-05/0.3041, allocations: 57.14 kB / 0.5209 GB, free: 14.58 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.578e-05/0.3041, allocations: 29.88 kB / 0.5209 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 5.299e-05/0.3042, allocations: 7.938 kB / 0.5209 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.103e-05/0.3042, allocations: 34.56 kB / 0.521 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=8): time 1.282e-06/0.3042, allocations: 0 / 0.521 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of matching and sorting (n=8): time 0.0003464/0.3046, allocations: 139.2 kB / 0.5211 GB, free: 14.35 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.516e-05/0.3046, allocations: 85.05 kB / 0.5212 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001699/0.3048, allocations: 287.4 kB / 0.5215 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002882/0.3051, allocations: 29.7 kB / 0.5215 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.784e-05/0.3051, allocations: 141.1 kB / 0.5216 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3e-05/0.3051, allocations: 35.72 kB / 0.5217 GB, free: 13.74 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.481e-05/0.3052, allocations: 29.64 kB / 0.5217 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 8.701e-05/0.3053, allocations: 346.7 kB / 0.522 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.351e-05/0.3053, allocations: 8 kB / 0.522 GB, free: 13.35 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.835e-05/0.3053, allocations: 31.42 kB / 0.5221 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.662e-05/0.3054, allocations: 60.25 kB / 0.5221 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.3054, allocations: 0 / 0.5221 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001302/0.3055, allocations: 107.2 kB / 0.5222 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.3055, allocations: 9.406 kB / 0.5222 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/0.3055, allocations: 0 / 0.5222 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001274/0.3056, allocations: 35.83 kB / 0.5223 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.441e-05/0.3057, allocations: 15.98 kB / 0.5223 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001052/0.3068, allocations: 2.318 MB / 0.5245 GB, free: 10.56 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.457e-05/0.3068, allocations: 3.953 kB / 0.5245 GB, free: 10.56 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.598e-06/0.3068, allocations: 8 kB / 0.5245 GB, free: 10.55 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 7.427e-05/0.3069, allocations: 116.6 kB / 0.5247 GB, free: 10.43 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.268e-05/0.3069, allocations: 28.12 kB / 0.5247 GB, free: 10.4 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001563/0.3071, allocations: 138.9 kB / 0.5248 GB, free: 10.24 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-06/0.3071, allocations: 0 / 0.5248 GB, free: 10.24 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.3071, allocations: 1.188 kB / 0.5248 GB, free: 10.24 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.618e-06/0.3071, allocations: 7.938 kB / 0.5248 GB, free: 10.23 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002441/0.3073, allocations: 385.2 kB / 0.5252 GB, free: 9.816 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.3073, allocations: 0 / 0.5252 GB, free: 9.816 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.318e-06/0.3073, allocations: 12.11 kB / 0.5252 GB, free: 9.805 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.98e-05/0.3074, allocations: 29.55 kB / 0.5252 GB, free: 9.777 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.017e-05/0.3074, allocations: 37.69 kB / 0.5253 GB, free: 9.734 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.444e-06/0.3074, allocations: 4 kB / 0.5253 GB, free: 9.73 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008559/0.3083, allocations: 2.322 MB / 0.5275 GB, free: 7.238 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.3083, allocations: 0 / 0.5275 GB, free: 7.238 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000181/0.3085, allocations: 294 kB / 0.5278 GB, free: 6.922 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.68e-05/0.3085, allocations: 9.406 kB / 0.5278 GB, free: 6.914 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.331e-05/0.3086, allocations: 4 kB / 0.5278 GB, free: 6.91 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.537e-05/0.3086, allocations: 11.86 kB / 0.5278 GB, free: 6.898 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.946e-06/0.3086, allocations: 4 kB / 0.5278 GB, free: 6.895 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 8.475e-05/0.3087, allocations: 116.7 kB / 0.528 GB, free: 6.781 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.3087, allocations: 0 / 0.528 GB, free: 6.781 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002426/0.3089, allocations: 55.88 kB / 0.528 GB, free: 6.727 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (sink1.inlet.m_flow,sink.inlet.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 (4): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (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.0001477/0.3091, allocations: 88.42 kB / 0.5281 GB, free: 6.633 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002339/0.3093, allocations: 273.7 kB / 0.5284 GB, free: 6.34 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 9.649e-06/0.3093, allocations: 4 kB / 0.5284 GB, free: 6.336 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002307/0.3095, allocations: 262.5 kB / 0.5286 GB, free: 6.051 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004512/0.31, allocations: 0.5929 MB / 0.5292 GB, free: 5.352 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002881/0.3129, allocations: 0.5298 MB / 0.5297 GB, free: 4.789 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.451e-05/0.3129, allocations: 84.31 kB / 0.5298 GB, free: 4.688 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 5.656e-05/0.313, allocations: 22.28 kB / 0.5298 GB, free: 4.668 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.263e-05/0.3131, allocations: 99.34 kB / 0.5299 GB, free: 4.574 MB / 0.4948 GB Notification: Performance of SimCode: time 1.232e-06/0.3131, allocations: 0 / 0.5299 GB, free: 4.574 MB / 0.4948 GB Notification: Performance of Templates: time 0.005137/0.3182, allocations: 3.293 MB / 0.5331 GB, free: 1.371 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.SourceSink.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.SourceSink.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.SourceSink.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.SourceSink.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.SourceSink.sim & ./ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.SourceSink -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.SourceSink.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.SourceSink_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Boundaries.Tests.SourceSink_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.529800033196807]