Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo", uses=false) [Timeout 90] Using package ThermofluidStream with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|basicControlValve.m_flow|flowResistance.m_flow|flowResistance1.m_flow|specificValveType.m_flow|tanValve.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping") translateModel(ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|basicControlValve.m_flow|flowResistance.m_flow|flowResistance1.m_flow|specificValveType.m_flow|tanValve.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01102/0.01102, allocations: 102 kB / 15.73 MB, free: 6.062 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001414/0.001414, allocations: 192.1 kB / 16.67 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.441/1.441, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7656/0.7656, allocations: 93.69 MB / 384.2 MB, free: 5.25 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002427/0.002427, allocations: 79.86 kB / 0.5204 GB, free: 0.5977 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2948/0.2972, allocations: 68.26 MB / 0.5871 GB, free: 10.28 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping): time 0.5858/0.8831, allocations: 172.4 MB / 0.7554 GB, free: 1.258 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01283/0.8959, allocations: 11.36 MB / 0.7665 GB, free: 1.16 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00208/0.8981, allocations: 69.94 kB / 0.7666 GB, free: 1.16 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002577/0.9007, allocations: 0.8945 MB / 0.7675 GB, free: 1.137 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00553/0.9063, allocations: 1.684 MB / 0.7691 GB, free: 1.086 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004664/0.9109, allocations: 1.307 MB / 0.7704 GB, free: 1.047 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004564/0.9155, allocations: 2.568 MB / 0.7729 GB, free: 1.035 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001092/0.9166, allocations: 389.5 kB / 0.7733 GB, free: 0.9141 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003617/0.9203, allocations: 1.375 MB / 0.7746 GB, free: 0.9023 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00236/0.9227, allocations: 1.138 MB / 0.7757 GB, free: 0.875 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.000575/0.9233, allocations: 113 kB / 0.7758 GB, free: 0.875 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004957/0.9283, allocations: 1.833 MB / 0.7776 GB, free: 0.8438 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0006616/0.9289, allocations: 334.6 kB / 0.7779 GB, free: 0.7734 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.00154/0.9305, allocations: 0.8049 MB / 0.7787 GB, free: 0.5 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.006395/0.9369, allocations: 2.507 MB / 0.7812 GB, free: 72 kB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/0.937, allocations: 0.8125 kB / 0.7812 GB, free: 72 kB / 0.5762 GB Notification: Performance of FrontEnd: time 1.954e-06/0.937, allocations: 0 / 0.7812 GB, free: 72 kB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.893e-05/0.937, allocations: 0.75 kB / 0.7812 GB, free: 72 kB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 266 * Number of variables: 266 Notification: Performance of Generate backend data structure: time 0.00454/0.9416, allocations: 2.159 MB / 0.7833 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.829e-05/0.9416, allocations: 15.12 kB / 0.7833 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003886/0.942, allocations: 209 kB / 0.7835 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002225/0.9443, allocations: 1.233 MB / 0.7847 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.202e-05/0.9444, allocations: 80.84 kB / 0.7848 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001608/0.9445, allocations: 117.3 kB / 0.7849 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001826/0.9464, allocations: 1.174 MB / 0.786 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.893e-05/0.9464, allocations: 2.094 kB / 0.786 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.828e-05/0.9465, allocations: 43.66 kB / 0.7861 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.285e-05/0.9465, allocations: 27.44 kB / 0.7861 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001521/0.9481, allocations: 1.072 MB / 0.7872 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006707/0.9548, allocations: 5.272 MB / 0.7923 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00129/0.9561, allocations: 0.7463 MB / 0.793 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005963/0.9567, allocations: 437.5 kB / 0.7935 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00472/0.9614, allocations: 3.9 MB / 0.7973 GB, free: 7.914 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.48e-05/0.9615, allocations: 45.38 kB / 0.7973 GB, free: 7.875 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=108): time 2.815e-06/0.9615, allocations: 0 / 0.7973 GB, free: 7.875 MB / 0.5919 GB Notification: Performance of matching and sorting (n=108): time 0.003399/0.9649, allocations: 1.849 MB / 0.7991 GB, free: 7.207 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.092e-05/0.965, allocations: 114.1 kB / 0.7992 GB, free: 7.082 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001424/0.9664, allocations: 1.289 MB / 0.8005 GB, free: 6.906 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.511e-05/0.9665, allocations: 47.86 kB / 0.8005 GB, free: 6.875 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004347/0.967, allocations: 0.6233 MB / 0.8011 GB, free: 6.699 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002996/0.9673, allocations: 390.4 kB / 0.8015 GB, free: 6.445 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002717/0.9676, allocations: 199.3 kB / 0.8017 GB, free: 6.422 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001624/0.9677, allocations: 342 kB / 0.802 GB, free: 6.117 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004783/0.9682, allocations: 303.8 kB / 0.8023 GB, free: 6.113 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006345/0.9689, allocations: 445.6 kB / 0.8027 GB, free: 5.984 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001184/0.97, allocations: 0.7692 MB / 0.8035 GB, free: 5.832 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.02e-06/0.9701, allocations: 6.094 kB / 0.8035 GB, free: 5.828 MB / 0.5919 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.002144/0.9722, allocations: 1.167 MB / 0.8046 GB, free: 5.324 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.021e-05/0.9722, allocations: 6.188 kB / 0.8046 GB, free: 5.324 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.348e-06/0.9723, allocations: 3.531 kB / 0.8046 GB, free: 5.324 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005512/0.9728, allocations: 156.8 kB / 0.8048 GB, free: 5.262 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006911/0.9735, allocations: 206 kB / 0.805 GB, free: 5.25 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005901/0.9794, allocations: 7.256 MB / 0.8121 GB, free: 14.05 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008738/0.9803, allocations: 112 kB / 0.8122 GB, free: 13.97 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001095/0.9804, allocations: 48.88 kB / 0.8122 GB, free: 13.96 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (117): * Single equations (assignments): 112 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005685/0.981, allocations: 316 kB / 0.8125 GB, free: 13.75 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000306/0.9813, allocations: 172.4 kB / 0.8127 GB, free: 13.65 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00289/0.9842, allocations: 1.718 MB / 0.8144 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.006e-05/0.9843, allocations: 8.031 kB / 0.8144 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.9843, allocations: 4.688 kB / 0.8144 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.046e-05/0.9843, allocations: 9.609 kB / 0.8144 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003803/0.9881, allocations: 2.392 MB / 0.8167 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.043e-06/0.9881, allocations: 1.906 kB / 0.8167 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004959/0.9886, allocations: 128.1 kB / 0.8169 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004933/0.9891, allocations: 171 kB / 0.817 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.86e-05/0.9892, allocations: 30.27 kB / 0.817 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00577/0.995, allocations: 7.264 MB / 0.8241 GB, free: 3.855 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.995, allocations: 2.938 kB / 0.8241 GB, free: 3.855 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002655/0.9977, allocations: 1.598 MB / 0.8257 GB, free: 2.805 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005885/0.9983, allocations: 341 kB / 0.826 GB, free: 2.512 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002038/0.9985, allocations: 35.41 kB / 0.8261 GB, free: 2.488 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005663/0.9991, allocations: 19.97 kB / 0.8261 GB, free: 2.477 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001493/0.9992, allocations: 78.47 kB / 0.8262 GB, free: 2.438 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.602e-05/0.9993, allocations: 33.47 kB / 0.8262 GB, free: 2.426 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001393/1.001, allocations: 0.9957 MB / 0.8272 GB, free: 1.676 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.51e-07/1.001, allocations: 0 / 0.8272 GB, free: 1.676 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001509/1.002, allocations: 464.3 kB / 0.8276 GB, free: 1.223 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 5 (flowResistance1.m_flow,flowResistance.m_flow,basicControlValve.m_flow,specificValveType.m_flow,tanValve.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 (74): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002438/1.005, allocations: 0.7594 MB / 0.8283 GB, free: 0.6562 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.00297/1.008, allocations: 1.354 MB / 0.8297 GB, free: 15.27 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.61e-06/1.008, allocations: 0 / 0.8297 GB, free: 15.27 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001474/1.009, allocations: 0.9438 MB / 0.8306 GB, free: 14.28 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002727/1.012, allocations: 482.2 kB / 0.8311 GB, free: 13.82 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006164/1.018, allocations: 2.877 MB / 0.8339 GB, free: 10.89 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009577/1.019, allocations: 1.213 MB / 0.835 GB, free: 9.645 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001032/1.02, allocations: 308.8 kB / 0.8353 GB, free: 9.359 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003394/1.02, allocations: 135.4 kB / 0.8355 GB, free: 9.227 MB / 0.6231 GB Notification: Performance of SimCode: time 9.92e-07/1.02, allocations: 0 / 0.8355 GB, free: 9.227 MB / 0.6231 GB Notification: Performance of Templates: time 0.04928/1.07, allocations: 25.01 MB / 0.8599 GB, free: 456 kB / 0.6387 GB make -j1 -f ThermofluidStream_dev_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping.sim & ./ThermofluidStream_dev_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] Reference file matches