Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Interfaces.Tests.Test_p_out_clipping.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.0007815/0.0007815, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001161/0.001942, 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.0007191/0.0007191, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001024/0.001743, 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.9354/0.9354, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08977/1.025, allocations: 53.67 MB / 243.4 MB, free: 15.49 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.6445/0.6445, allocations: 118.8 MB / 362.9 MB, free: 1.156 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06093/0.7054, 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.Interfaces.Tests.Test_p_out_clipping,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="basicControlValve.m_flow|fan.m_flow|fan.omega|fan.phi|flowResistance.m_flow|nozzle.m_flow|specificValveType.m_flow|tanValve.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Interfaces.Tests.Test_p_out_clipping") translateModel(ThermofluidStream.Interfaces.Tests.Test_p_out_clipping,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="basicControlValve.m_flow|fan.m_flow|fan.omega|fan.phi|flowResistance.m_flow|nozzle.m_flow|specificValveType.m_flow|tanValve.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Interfaces.Tests.Test_p_out_clipping") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.342e-06/1.342e-06, allocations: 0 / 400 MB, free: 11.92 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.127e-05/2.261e-05, allocations: 2.312 kB / 400 MB, free: 11.91 MB / 394.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Interfaces.Tests.Test_p_out_clipping): time 0.3472/0.3472, allocations: 133.3 MB / 0.5208 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.005681/0.3529, allocations: 4.035 MB / 0.5247 GB, free: 10.75 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008374/0.3538, allocations: 55.5 kB / 0.5248 GB, free: 10.7 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.000738/0.3545, allocations: 413.5 kB / 0.5252 GB, free: 10.29 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.001661/0.3562, allocations: 0.8886 MB / 0.5261 GB, free: 9.395 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001502/0.3577, allocations: 0.6396 MB / 0.5267 GB, free: 8.754 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.002192/0.3598, allocations: 2.212 MB / 0.5288 GB, free: 6.539 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004286/0.3603, allocations: 223.2 kB / 0.5291 GB, free: 6.309 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002477/0.3628, allocations: 1.403 MB / 0.5304 GB, free: 4.922 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001365/0.3641, allocations: 1.076 MB / 0.5315 GB, free: 3.844 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.0003312/0.3644, allocations: 128 kB / 0.5316 GB, free: 3.719 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009867/0.3654, allocations: 471.3 kB / 0.532 GB, free: 3.258 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002491/0.3657, allocations: 311 kB / 0.5323 GB, free: 2.953 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0005088/0.3662, allocations: 443.1 kB / 0.5328 GB, free: 2.52 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.001738/0.3679, allocations: 1.487 MB / 0.5342 GB, free: 1.027 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 8.967e-06/0.3679, allocations: 0 / 0.5342 GB, free: 1.027 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.403e-06/0.3679, allocations: 4 kB / 0.5342 GB, free: 1.023 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 2.393e-05/0.368, allocations: 4 kB / 0.5342 GB, free: 1.02 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: 238 * Number of variables: 238 Notification: Performance of Generate backend data structure: time 0.002653/0.3706, allocations: 2.344 MB / 0.5365 GB, free: 14.62 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.022e-05/0.3706, allocations: 12.03 kB / 0.5365 GB, free: 14.61 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003423/0.371, allocations: 200.6 kB / 0.5367 GB, free: 14.42 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001008/0.372, allocations: 0.8308 MB / 0.5375 GB, free: 13.53 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.098e-05/0.3721, allocations: 126.2 kB / 0.5376 GB, free: 13.4 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001181/0.3722, allocations: 107.9 kB / 0.5377 GB, free: 13.29 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008929/0.3731, allocations: 0.9189 MB / 0.5386 GB, free: 12.34 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.725e-05/0.3731, allocations: 0 / 0.5386 GB, free: 12.34 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.999e-05/0.3732, allocations: 36 kB / 0.5387 GB, free: 12.3 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.471e-05/0.3732, allocations: 45.98 kB / 0.5387 GB, free: 12.26 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007721/0.374, allocations: 0.6054 MB / 0.5393 GB, free: 11.65 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003685/0.3777, allocations: 2.712 MB / 0.542 GB, free: 8.902 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006531/0.3783, allocations: 0.6103 MB / 0.5426 GB, free: 8.285 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003279/0.3786, allocations: 334.7 kB / 0.5429 GB, free: 7.957 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001632/0.3803, allocations: 1.089 MB / 0.5439 GB, free: 6.852 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.504e-05/0.3803, allocations: 44.44 kB / 0.544 GB, free: 6.801 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=120): time 2.895e-06/0.3803, allocations: 4 kB / 0.544 GB, free: 6.797 MB / 0.5105 GB Notification: Performance of matching and sorting (n=122): time 0.003944/0.3843, allocations: 2.525 MB / 0.5465 GB, free: 4.242 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.171e-05/0.3843, allocations: 64.41 kB / 0.5465 GB, free: 4.168 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005016/0.3848, allocations: 0.7354 MB / 0.5472 GB, free: 3.414 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 6.042e-05/0.3849, allocations: 45.7 kB / 0.5473 GB, free: 3.363 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001644/0.385, allocations: 363.6 kB / 0.5476 GB, free: 3.004 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002159/0.3852, allocations: 452 kB / 0.5481 GB, free: 2.559 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002317/0.3855, allocations: 238.7 kB / 0.5483 GB, free: 2.316 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001052/0.3856, allocations: 357.8 kB / 0.5486 GB, free: 1.961 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002414/0.3858, allocations: 174.5 kB / 0.5488 GB, free: 1.793 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004074/0.3862, allocations: 0.4981 MB / 0.5493 GB, free: 1.207 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006869/0.3869, allocations: 0.6248 MB / 0.5499 GB, free: 0.5547 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.147e-06/0.3869, allocations: 3.938 kB / 0.5499 GB, free: 0.5508 MB / 0.5105 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.001195/0.3881, allocations: 0.863 MB / 0.5507 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.565e-05/0.3881, allocations: 12.75 kB / 0.5507 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.662e-05/0.3882, allocations: 4 kB / 0.5508 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005557/0.3887, allocations: 279.2 kB / 0.551 GB, free: 15.39 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007177/0.3894, allocations: 300.5 kB / 0.5513 GB, free: 15.09 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002471/0.3919, allocations: 2.474 MB / 0.5537 GB, free: 12.52 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005297/0.3924, allocations: 37.86 kB / 0.5538 GB, free: 12.49 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.879e-05/0.3925, allocations: 48.62 kB / 0.5538 GB, free: 12.44 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (113): * Single equations (assignments): 111 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 {(7,23,57.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00029/0.3928, allocations: 168.4 kB / 0.554 GB, free: 12.27 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000207/0.393, allocations: 119.9 kB / 0.5541 GB, free: 12.15 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001395/0.3944, allocations: 1.291 MB / 0.5553 GB, free: 10.87 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.606e-06/0.3944, allocations: 12 kB / 0.5553 GB, free: 10.86 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.3944, allocations: 4 kB / 0.5554 GB, free: 10.85 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.198e-06/0.3944, allocations: 7.969 kB / 0.5554 GB, free: 10.84 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002207/0.3966, allocations: 1.803 MB / 0.5571 GB, free: 8.961 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.035e-05/0.3966, allocations: 8 kB / 0.5571 GB, free: 8.953 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005277/0.3972, allocations: 245.6 kB / 0.5574 GB, free: 8.715 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003337/0.3975, allocations: 191.6 kB / 0.5575 GB, free: 8.527 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005162/0.398, allocations: 339.4 kB / 0.5579 GB, free: 8.191 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.485e-05/0.3981, allocations: 47.94 kB / 0.5579 GB, free: 8.145 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002146/0.4002, allocations: 2.512 MB / 0.5604 GB, free: 5.531 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.069e-06/0.4002, allocations: 5.812 kB / 0.5604 GB, free: 5.527 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001495/0.4017, allocations: 1.379 MB / 0.5617 GB, free: 4.07 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001261/0.4019, allocations: 28 kB / 0.5617 GB, free: 4.043 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003798/0.4022, allocations: 27.98 kB / 0.5618 GB, free: 4.016 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001463/0.4024, allocations: 116.6 kB / 0.5619 GB, free: 3.898 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.664e-05/0.4024, allocations: 39.94 kB / 0.5619 GB, free: 3.859 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0003047/0.4027, allocations: 381 kB / 0.5623 GB, free: 3.477 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.01e-07/0.4027, allocations: 0 / 0.5623 GB, free: 3.477 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0009733/0.4037, allocations: 431.7 kB / 0.5627 GB, free: 3.055 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 8 (flowResistance.m_flow,fan.m_flow,fan.phi,fan.omega,basicControlValve.m_flow,specificValveType.m_flow,tanValve.m_flow,nozzle.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 (90): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 {(7,23,57.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001304/0.405, allocations: 0.5945 MB / 0.5633 GB, free: 2.699 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001434/0.4065, allocations: 1.072 MB / 0.5643 GB, free: 1.609 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.602e-05/0.4065, allocations: 23.97 kB / 0.5643 GB, free: 1.586 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0008926/0.4074, allocations: 0.8436 MB / 0.5652 GB, free: 0.7227 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002013/0.4094, allocations: 2.596 MB / 0.5677 GB, free: 13.69 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01473/0.4241, allocations: 2.444 MB / 0.5701 GB, free: 11.15 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000291/0.4244, allocations: 290.4 kB / 0.5704 GB, free: 10.84 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.000937/0.4254, allocations: 228.9 kB / 0.5706 GB, free: 10.61 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007756/0.4261, allocations: 405 kB / 0.571 GB, free: 10.21 MB / 0.5417 GB Notification: Performance of SimCode: time 1.533e-06/0.4261, allocations: 0 / 0.571 GB, free: 10.21 MB / 0.5417 GB Notification: Performance of Templates: time 0.03225/0.4584, allocations: 28.13 MB / 0.5984 GB, free: 14.51 MB / 0.573 GB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_dev_ThermofluidStream.Interfaces.Tests.Test_p_out_clipping.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.Interfaces.Tests.Test_p_out_clipping.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Interfaces.Tests.Test_p_out_clipping.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Interfaces.Tests.Test_p_out_clipping.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Interfaces.Tests.Test_p_out_clipping.sim & ./ThermofluidStream_dev_ThermofluidStream.Interfaces.Tests.Test_p_out_clipping -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Interfaces.Tests.Test_p_out_clipping.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.Interfaces.Tests.Test_p_out_clipping_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Interfaces.Tests.Test_p_out_clipping_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: 4.204210072755814]