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.001333/0.001333, allocations: 104.4 kB / 19.7 MB, free: 2.125 MB / 14.72 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.00148/0.00148, allocations: 216.9 kB / 22.99 MB, free: 4.945 MB / 14.72 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 1.459/1.459, allocations: 230.6 MB / 256.8 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo): time 0.7272/0.7272, allocations: 94.63 MB / 407.8 MB, free: 8.832 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.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: ThermofluidStream requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ThermofluidStream requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002513/0.002513, allocations: 93.97 kB / 0.5562 GB, free: 38.15 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1035/0.106, allocations: 73.05 MB / 0.6275 GB, free: 15.66 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Interfaces.Tests.Test_p_out_clipping): time 0.4631/0.5691, allocations: 140.6 MB / 0.7648 GB, free: 3.383 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01302/0.5821, allocations: 11.74 MB / 0.7763 GB, free: 3.246 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001059/0.5832, allocations: 51.91 kB / 0.7764 GB, free: 3.246 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001636/0.5848, allocations: 0.6147 MB / 0.777 GB, free: 3.227 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0031/0.5879, allocations: 1.203 MB / 0.7781 GB, free: 3.188 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00261/0.5905, allocations: 0.9071 MB / 0.779 GB, free: 3.16 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002119/0.5926, allocations: 1.929 MB / 0.7809 GB, free: 3.156 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003779/0.593, allocations: 213 kB / 0.7811 GB, free: 3.109 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001346/0.5944, allocations: 0.8986 MB / 0.782 GB, free: 3.105 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001352/0.5957, allocations: 1.064 MB / 0.783 GB, free: 3.105 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001781/0.5959, allocations: 127.7 kB / 0.7831 GB, free: 3.105 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0027/0.5986, allocations: 1.322 MB / 0.7844 GB, free: 3.078 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002922/0.5989, allocations: 393 kB / 0.7848 GB, free: 3.074 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0005926/0.5995, allocations: 0.5911 MB / 0.7854 GB, free: 3.004 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002868/0.6023, allocations: 2.193 MB / 0.7875 GB, free: 2.664 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.6023, allocations: 0 / 0.7875 GB, free: 2.664 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.633e-06/0.6023, allocations: 0.9062 kB / 0.7875 GB, free: 2.664 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.779e-05/0.6024, allocations: 0 / 0.7875 GB, free: 2.664 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 237 * Number of variables: 237 Notification: Performance of Generate backend data structure: time 0.004141/0.6065, allocations: 1.994 MB / 0.7895 GB, free: 17.79 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.492e-05/0.6065, allocations: 7.656 kB / 0.7895 GB, free: 17.79 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004013/0.6069, allocations: 182.6 kB / 0.7897 GB, free: 17.7 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001518/0.6085, allocations: 0.9021 MB / 0.7905 GB, free: 17.41 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001023/0.6086, allocations: 122.8 kB / 0.7906 GB, free: 17.34 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001568/0.6087, allocations: 100.1 kB / 0.7907 GB, free: 17.34 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001908/0.6106, allocations: 1.56 MB / 0.7923 GB, free: 17.17 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.754e-05/0.6107, allocations: 1.875 kB / 0.7923 GB, free: 17.17 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.209e-05/0.6107, allocations: 32.53 kB / 0.7923 GB, free: 17.17 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.321e-05/0.6108, allocations: 55.3 kB / 0.7924 GB, free: 17.16 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002505/0.6133, allocations: 2.066 MB / 0.7944 GB, free: 17.15 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006819/0.6201, allocations: 3.979 MB / 0.7983 GB, free: 16.59 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001582/0.6217, allocations: 1.235 MB / 0.7995 GB, free: 16.56 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000928/0.6226, allocations: 0.8255 MB / 0.8003 GB, free: 16.54 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003074/0.6257, allocations: 1.593 MB / 0.8018 GB, free: 16.21 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.798e-05/0.6257, allocations: 47.62 kB / 0.8019 GB, free: 16.17 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=120): time 3.086e-06/0.6257, allocations: 0 / 0.8019 GB, free: 16.17 MB / 0.5919 GB Notification: Performance of matching and sorting (n=122): time 0.007905/0.6336, allocations: 4.711 MB / 0.8065 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.716e-05/0.6337, allocations: 67.38 kB / 0.8065 GB, free: 14.56 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009455/0.6346, allocations: 0.7962 MB / 0.8073 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001045/0.6347, allocations: 47.08 kB / 0.8074 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003845/0.6351, allocations: 484.7 kB / 0.8078 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003679/0.6355, allocations: 451.9 kB / 0.8083 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003593/0.6358, allocations: 235.1 kB / 0.8085 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001726/0.636, allocations: 354.6 kB / 0.8088 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009425/0.637, allocations: 0.6299 MB / 0.8094 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001106/0.6381, allocations: 0.8233 MB / 0.8102 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002194/0.6403, allocations: 1.493 MB / 0.8117 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.111e-06/0.6403, allocations: 3.938 kB / 0.8117 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.003307/0.6436, allocations: 1.976 MB / 0.8136 GB, free: 10.94 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.091e-05/0.6436, allocations: 13.25 kB / 0.8136 GB, free: 10.94 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.954e-05/0.6436, allocations: 11.94 kB / 0.8136 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008322/0.6445, allocations: 337.2 kB / 0.814 GB, free: 10.87 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009554/0.6454, allocations: 239.1 kB / 0.8142 GB, free: 10.85 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005035/0.6504, allocations: 3.69 MB / 0.8178 GB, free: 8.457 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008965/0.6513, allocations: 32.58 kB / 0.8178 GB, free: 8.441 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001248/0.6515, allocations: 61.73 kB / 0.8179 GB, free: 8.43 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (112): * Single equations (assignments): 110 * 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.0006135/0.6521, allocations: 334.1 kB / 0.8182 GB, free: 8.219 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003103/0.6524, allocations: 127.9 kB / 0.8183 GB, free: 8.152 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004054/0.6564, allocations: 2.755 MB / 0.821 GB, free: 6.781 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.307e-06/0.6565, allocations: 8.938 kB / 0.821 GB, free: 6.781 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.594e-06/0.6565, allocations: 7.844 kB / 0.821 GB, free: 6.781 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.507e-05/0.6565, allocations: 8.359 kB / 0.821 GB, free: 6.777 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00462/0.6611, allocations: 2.858 MB / 0.8238 GB, free: 5.113 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-05/0.6611, allocations: 7.266 kB / 0.8238 GB, free: 5.109 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008958/0.662, allocations: 169.7 kB / 0.824 GB, free: 5.062 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009867/0.663, allocations: 400.9 kB / 0.8244 GB, free: 4.871 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000118/0.6631, allocations: 44.69 kB / 0.8244 GB, free: 4.84 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005375/0.6685, allocations: 3.703 MB / 0.828 GB, free: 2.113 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.604e-06/0.6685, allocations: 0 / 0.828 GB, free: 2.113 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004687/0.6732, allocations: 2.808 MB / 0.8308 GB, free: 0.5234 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007421/0.6739, allocations: 267.2 kB / 0.831 GB, free: 348 kB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002519/0.6742, allocations: 31.7 kB / 0.8311 GB, free: 324 kB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000746/0.6749, allocations: 31.3 kB / 0.8311 GB, free: 304 kB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001929/0.6751, allocations: 99.25 kB / 0.8312 GB, free: 240 kB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001018/0.6752, allocations: 47.5 kB / 0.8312 GB, free: 216 kB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0008788/0.6761, allocations: 0.6107 MB / 0.8318 GB, free: 15.87 MB / 0.6075 GB Notification: Performance of sort global known variables: time 9e-08/0.6761, allocations: 0 / 0.8318 GB, free: 15.87 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001518/0.6776, allocations: 476.3 kB / 0.8323 GB, free: 15.6 MB / 0.6075 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.002006/0.6796, allocations: 0.7328 MB / 0.833 GB, free: 15.12 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.003529/0.6831, allocations: 1.834 MB / 0.8348 GB, free: 13.3 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.6831, allocations: 0 / 0.8348 GB, free: 13.3 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.002146/0.6853, allocations: 1.146 MB / 0.8359 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001588/0.6869, allocations: 331.7 kB / 0.8362 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005894/0.6928, allocations: 3.102 MB / 0.8393 GB, free: 8.715 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006999/0.6935, allocations: 0.5824 MB / 0.8398 GB, free: 8.098 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005848/0.6941, allocations: 155.2 kB / 0.84 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of SimCode: time 1.082e-06/0.6941, allocations: 0 / 0.84 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of Templates: time 0.04126/0.7353, allocations: 28.04 MB / 0.8674 GB, free: 12.02 MB / 0.6387 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/jenkins1/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: 10.375974812079221]