Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_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.0009097/0.0009097, allocations: 76.5 kB / 19.93 MB, free: 4.621 MB / 18.57 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.0008694/0.0008694, allocations: 177.9 kB / 23.21 MB, free: 1.34 MB / 18.57 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.9031/0.9031, allocations: 177.1 MB / 203.5 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.0/package.mo): time 0.535/0.535, allocations: 80.17 MB / 340.1 MB, free: 7.543 MB / 314.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.3.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.0/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="Time|basicControlValve.m_flow|fan.m_flow|fan.omega|fan.phi|flowResistance.m_flow|nozzle.m_flow|specificValveType.m_flow|tanValve.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Interfaces.Tests.Test_p_out_clipping") translateModel(ThermofluidStream.Interfaces.Tests.Test_p_out_clipping,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|basicControlValve.m_flow|fan.m_flow|fan.omega|fan.phi|flowResistance.m_flow|nozzle.m_flow|specificValveType.m_flow|tanValve.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Interfaces.Tests.Test_p_out_clipping") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.184e-06/2.184e-06, allocations: 0 / 0.4936 GB, free: 6.363 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.035e-05/3.253e-05, allocations: 4.672 kB / 0.4936 GB, free: 6.359 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Interfaces.Tests.Test_p_out_clipping): time 0.1259/0.126, allocations: 141.8 MB / 0.6321 GB, free: 9.645 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.2677/0.3937, allocations: 10.97 MB / 0.6428 GB, free: 4.387 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000974/0.3947, allocations: 52.25 kB / 0.6429 GB, free: 4.387 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.001444/0.3961, allocations: 0.6253 MB / 0.6435 GB, free: 4.387 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.003002/0.3991, allocations: 1.319 MB / 0.6448 GB, free: 4.371 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.002294/0.4014, allocations: 0.9204 MB / 0.6457 GB, free: 4.344 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.002918/0.4043, allocations: 2.119 MB / 0.6477 GB, free: 4.234 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004652/0.4048, allocations: 209.6 kB / 0.6479 GB, free: 4.199 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001977/0.4068, allocations: 1.227 MB / 0.6491 GB, free: 4.094 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001263/0.4081, allocations: 1.002 MB / 0.6501 GB, free: 4.023 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 0.0003262/0.4084, allocations: 128.3 kB / 0.6502 GB, free: 4.023 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002889/0.4113, allocations: 1.343 MB / 0.6515 GB, free: 3.93 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.0003255/0.4116, allocations: 406.8 kB / 0.6519 GB, free: 3.867 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.0008995/0.4125, allocations: 0.5264 MB / 0.6524 GB, free: 3.805 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.003429/0.4159, allocations: 2.301 MB / 0.6547 GB, free: 3.562 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.4159, allocations: 0.9375 kB / 0.6547 GB, free: 3.562 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.893e-06/0.4159, allocations: 0 / 0.6547 GB, free: 3.562 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 2.248e-05/0.416, allocations: 1.094 kB / 0.6547 GB, free: 3.562 MB / 0.5417 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.002958/0.4189, allocations: 2.005 MB / 0.6566 GB, free: 2.691 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/0.4189, allocations: 13.19 kB / 0.6567 GB, free: 2.691 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003186/0.4193, allocations: 176.8 kB / 0.6568 GB, free: 2.605 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001112/0.4204, allocations: 0.9185 MB / 0.6577 GB, free: 2.277 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.436e-05/0.4205, allocations: 126.8 kB / 0.6578 GB, free: 2.215 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001321/0.4206, allocations: 101.2 kB / 0.6579 GB, free: 2.211 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001694/0.4223, allocations: 1.573 MB / 0.6595 GB, free: 2.027 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.188e-05/0.4223, allocations: 0 / 0.6595 GB, free: 2.027 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.995e-05/0.4224, allocations: 34.41 kB / 0.6595 GB, free: 2.027 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.302e-05/0.4224, allocations: 54.33 kB / 0.6596 GB, free: 2.027 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001987/0.4244, allocations: 2.066 MB / 0.6616 GB, free: 2.02 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004703/0.4291, allocations: 4.099 MB / 0.6656 GB, free: 1.391 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001164/0.4303, allocations: 1.239 MB / 0.6668 GB, free: 1.355 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006868/0.431, allocations: 0.8186 MB / 0.6676 GB, free: 1.34 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002031/0.433, allocations: 1.587 MB / 0.6691 GB, free: 1.031 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.096e-05/0.433, allocations: 50.59 kB / 0.6692 GB, free: 0.9922 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=120): time 2.936e-06/0.433, allocations: 0 / 0.6692 GB, free: 0.9922 MB / 0.5417 GB Notification: Performance of matching and sorting (n=122): time 0.00546/0.4385, allocations: 4.715 MB / 0.6738 GB, free: 0.4922 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.328e-05/0.4385, allocations: 67.41 kB / 0.6739 GB, free: 440 kB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007111/0.4392, allocations: 0.8149 MB / 0.6747 GB, free: 280 kB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 5.782e-05/0.4393, allocations: 50.2 kB / 0.6747 GB, free: 248 kB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.000179/0.4395, allocations: 493 kB / 0.6752 GB, free: 48 kB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002498/0.4397, allocations: 443 kB / 0.6756 GB, free: 15.75 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002276/0.4399, allocations: 247.8 kB / 0.6758 GB, free: 15.73 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 9.941e-05/0.44, allocations: 348.3 kB / 0.6762 GB, free: 15.42 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005914/0.4406, allocations: 0.6379 MB / 0.6768 GB, free: 15.42 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007222/0.4414, allocations: 0.8243 MB / 0.6776 GB, free: 15.26 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00155/0.4429, allocations: 1.503 MB / 0.6791 GB, free: 15.16 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.4429, allocations: 0 / 0.6791 GB, free: 15.16 MB / 0.5573 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.002099/0.445, allocations: 1.99 MB / 0.681 GB, free: 15.02 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/0.445, allocations: 6.156 kB / 0.681 GB, free: 15.02 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.585e-05/0.445, allocations: 5.016 kB / 0.681 GB, free: 15.02 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005567/0.4456, allocations: 350.4 kB / 0.6813 GB, free: 15 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005404/0.4461, allocations: 234 kB / 0.6816 GB, free: 15 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003168/0.4493, allocations: 3.699 MB / 0.6852 GB, free: 13.59 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000559/0.4499, allocations: 32.61 kB / 0.6852 GB, free: 13.59 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.96e-05/0.45, allocations: 64.52 kB / 0.6853 GB, free: 13.59 MB / 0.5573 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.0005125/0.4505, allocations: 333.5 kB / 0.6856 GB, free: 13.47 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002162/0.4507, allocations: 138.2 kB / 0.6857 GB, free: 13.4 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002557/0.4532, allocations: 2.741 MB / 0.6884 GB, free: 13.12 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.823e-06/0.4532, allocations: 9.844 kB / 0.6884 GB, free: 13.12 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.4533, allocations: 4.906 kB / 0.6884 GB, free: 13.12 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.546e-06/0.4533, allocations: 11.34 kB / 0.6884 GB, free: 13.12 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002937/0.4562, allocations: 2.86 MB / 0.6912 GB, free: 12.56 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.737e-06/0.4562, allocations: 2.688 kB / 0.6912 GB, free: 12.56 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000459/0.4567, allocations: 180.2 kB / 0.6914 GB, free: 12.55 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000553/0.4572, allocations: 398.7 kB / 0.6918 GB, free: 12.46 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.85e-05/0.4573, allocations: 49.14 kB / 0.6918 GB, free: 12.44 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003357/0.4606, allocations: 3.696 MB / 0.6954 GB, free: 10.04 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.4606, allocations: 0 / 0.6954 GB, free: 10.04 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003088/0.4637, allocations: 2.813 MB / 0.6982 GB, free: 8.824 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004883/0.4642, allocations: 268.1 kB / 0.6984 GB, free: 8.695 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001235/0.4643, allocations: 24.41 kB / 0.6985 GB, free: 8.68 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003685/0.4647, allocations: 26.53 kB / 0.6985 GB, free: 8.668 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001332/0.4648, allocations: 102.8 kB / 0.6986 GB, free: 8.656 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.902e-05/0.4649, allocations: 50.62 kB / 0.6986 GB, free: 8.648 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0005919/0.4655, allocations: 0.6226 MB / 0.6992 GB, free: 8.391 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.61e-07/0.4655, allocations: 0 / 0.6992 GB, free: 8.391 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001115/0.4666, allocations: 498.9 kB / 0.6997 GB, free: 8.293 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (78): * Single equations (assignments): 76 * 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.001086/0.4677, allocations: 0.7444 MB / 0.7004 GB, free: 8.051 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.002234/0.4699, allocations: 1.84 MB / 0.7022 GB, free: 7.316 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.4699, allocations: 7.938 kB / 0.7022 GB, free: 7.309 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.001277/0.4712, allocations: 1.14 MB / 0.7034 GB, free: 6.809 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001311/0.4725, allocations: 484.2 kB / 0.7038 GB, free: 6.668 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003642/0.4762, allocations: 2.833 MB / 0.7066 GB, free: 5.32 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004423/0.4766, allocations: 0.5876 MB / 0.7072 GB, free: 5.168 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003969/0.477, allocations: 161 kB / 0.7073 GB, free: 5.141 MB / 0.5573 GB Notification: Performance of SimCode: time 1.322e-06/0.477, allocations: 0 / 0.7073 GB, free: 5.141 MB / 0.5573 GB Notification: Performance of Templates: time 0.02903/0.506, allocations: 29.26 MB / 0.7359 GB, free: 11.29 MB / 0.5886 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_ThermofluidStream.Interfaces.Tests.Test_p_out_clipping.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.Interfaces.Tests.Test_p_out_clipping.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Interfaces.Tests.Test_p_out_clipping.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Interfaces.Tests.Test_p_out_clipping.pipe >> ../files/ThermofluidStream_ThermofluidStream.Interfaces.Tests.Test_p_out_clipping.sim & ./ThermofluidStream_ThermofluidStream.Interfaces.Tests.Test_p_out_clipping -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Interfaces.Tests.Test_p_out_clipping.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_ThermofluidStream.Interfaces.Tests.Test_p_out_clipping_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Interfaces.Tests.Test_p_out_clipping_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Interfaces.Tests.Test_p_out_clipping.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.163873144425452]