Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Undirected.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.001529/0.001529, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.00192/0.00192, allocations: 210.1 kB / 22.24 MB, free: 5.262 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.506/1.506, allocations: 230.6 MB / 256 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.7905/0.7905, allocations: 94.62 MB / 407 MB, free: 8.848 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.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_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_ThermofluidStream.Undirected.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.002869/0.002869, allocations: 89.09 kB / 0.5554 GB, free: 38.31 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1184/0.1212, allocations: 73.05 MB / 0.6268 GB, free: 15.67 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping): time 0.5332/0.6544, allocations: 150.2 MB / 0.7734 GB, free: 3.285 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01466/0.6691, allocations: 10.52 MB / 0.7837 GB, free: 3.18 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002195/0.6713, allocations: 97.19 kB / 0.7838 GB, free: 3.18 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002782/0.6741, allocations: 0.8318 MB / 0.7846 GB, free: 3.156 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006013/0.6801, allocations: 1.734 MB / 0.7863 GB, free: 3.098 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004169/0.6843, allocations: 1.353 MB / 0.7876 GB, free: 3.066 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004133/0.6884, allocations: 2.598 MB / 0.7902 GB, free: 3.051 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008614/0.6893, allocations: 235.5 kB / 0.7904 GB, free: 2.98 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003651/0.6929, allocations: 1.493 MB / 0.7919 GB, free: 2.965 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002105/0.695, allocations: 1.088 MB / 0.7929 GB, free: 2.859 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0004983/0.6955, allocations: 109.5 kB / 0.793 GB, free: 2.859 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004352/0.6999, allocations: 1.555 MB / 0.7945 GB, free: 2.824 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0006002/0.7005, allocations: 339.9 kB / 0.7949 GB, free: 2.75 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001482/0.7019, allocations: 0.6452 MB / 0.7955 GB, free: 2.543 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.005773/0.7077, allocations: 2.478 MB / 0.7979 GB, free: 2.113 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 8.135e-06/0.7077, allocations: 4.531 kB / 0.7979 GB, free: 2.113 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.134e-06/0.7077, allocations: 0 / 0.7979 GB, free: 2.113 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001042/0.7078, allocations: 0.9688 kB / 0.7979 GB, free: 2.113 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: 266 * Number of variables: 266 Notification: Performance of Generate backend data structure: time 0.005285/0.7131, allocations: 2.091 MB / 0.8 GB, free: 17.06 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.296e-05/0.7132, allocations: 9.781 kB / 0.8 GB, free: 17.06 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007845/0.7139, allocations: 229.2 kB / 0.8002 GB, free: 16.95 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002736/0.7167, allocations: 1.134 MB / 0.8013 GB, free: 16.56 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.855e-05/0.7168, allocations: 78.53 kB / 0.8014 GB, free: 16.56 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002805/0.717, allocations: 122.9 kB / 0.8015 GB, free: 16.55 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002491/0.7195, allocations: 1.235 MB / 0.8027 GB, free: 16.3 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.686e-05/0.7196, allocations: 0.8438 kB / 0.8027 GB, free: 16.3 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001083/0.7197, allocations: 42.56 kB / 0.8027 GB, free: 16.3 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.305e-05/0.7197, allocations: 29.34 kB / 0.8028 GB, free: 16.3 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001716/0.7214, allocations: 1.089 MB / 0.8038 GB, free: 16.29 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006846/0.7283, allocations: 3.691 MB / 0.8074 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001543/0.7298, allocations: 0.7124 MB / 0.8081 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000691/0.7305, allocations: 381 kB / 0.8085 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003762/0.7343, allocations: 1.499 MB / 0.81 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.311e-05/0.7343, allocations: 45.06 kB / 0.81 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=108): time 4.067e-06/0.7343, allocations: 0.875 kB / 0.81 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of matching and sorting (n=108): time 0.003738/0.738, allocations: 1.428 MB / 0.8114 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.025e-05/0.7381, allocations: 121.8 kB / 0.8115 GB, free: 13.03 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001652/0.7398, allocations: 1.075 MB / 0.8126 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001516/0.7399, allocations: 47.78 kB / 0.8126 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006211/0.7405, allocations: 0.6552 MB / 0.8133 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004959/0.741, allocations: 389.1 kB / 0.8136 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003658/0.7414, allocations: 195.6 kB / 0.8138 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001784/0.7416, allocations: 345 kB / 0.8141 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005919/0.7422, allocations: 294.5 kB / 0.8144 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007852/0.743, allocations: 0.5123 MB / 0.8149 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001364/0.7443, allocations: 0.8036 MB / 0.8157 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.327e-06/0.7443, allocations: 0.9375 kB / 0.8157 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.002558/0.7469, allocations: 1.143 MB / 0.8168 GB, free: 9.938 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.453e-05/0.7469, allocations: 11.47 kB / 0.8168 GB, free: 9.938 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.3e-05/0.7469, allocations: 2.188 kB / 0.8168 GB, free: 9.938 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005858/0.7475, allocations: 161 kB / 0.817 GB, free: 9.871 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007876/0.7483, allocations: 209.4 kB / 0.8172 GB, free: 9.859 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006063/0.7544, allocations: 6.617 MB / 0.8236 GB, free: 3.484 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001001/0.7554, allocations: 82.23 kB / 0.8237 GB, free: 3.426 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002156/0.7556, allocations: 47.53 kB / 0.8238 GB, free: 3.414 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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.0007766/0.7564, allocations: 306.4 kB / 0.8241 GB, free: 3.211 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004645/0.7568, allocations: 150.6 kB / 0.8242 GB, free: 3.129 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0031/0.7599, allocations: 1.679 MB / 0.8258 GB, free: 2.258 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.909e-06/0.7599, allocations: 8.719 kB / 0.8259 GB, free: 2.258 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.214e-05/0.7599, allocations: 3.156 kB / 0.8259 GB, free: 2.258 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.213e-05/0.76, allocations: 6.141 kB / 0.8259 GB, free: 2.258 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003845/0.7638, allocations: 1.974 MB / 0.8278 GB, free: 1.184 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.849e-06/0.7638, allocations: 2.938 kB / 0.8278 GB, free: 1.184 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005084/0.7643, allocations: 119.8 kB / 0.8279 GB, free: 1.18 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005248/0.7648, allocations: 163.9 kB / 0.8281 GB, free: 1.117 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001001/0.7649, allocations: 32.28 kB / 0.8281 GB, free: 1.105 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005865/0.7708, allocations: 6.609 MB / 0.8346 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.7708, allocations: 4.688 kB / 0.8346 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00291/0.7737, allocations: 1.533 MB / 0.8361 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007045/0.7744, allocations: 228.1 kB / 0.8363 GB, free: 9.676 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003075/0.7747, allocations: 41.06 kB / 0.8363 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006698/0.7754, allocations: 16.62 kB / 0.8363 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001814/0.7756, allocations: 83.19 kB / 0.8364 GB, free: 9.625 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.129e-05/0.7757, allocations: 29.16 kB / 0.8364 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001307/0.777, allocations: 0.8273 MB / 0.8372 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of sort global known variables: time 7e-08/0.777, allocations: 0 / 0.8372 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001824/0.7788, allocations: 467.9 kB / 0.8377 GB, free: 9.16 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 (70): * Single equations (assignments): 65 * 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.002194/0.781, allocations: 0.7403 MB / 0.8384 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002567/0.7836, allocations: 1.291 MB / 0.8397 GB, free: 8.016 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 7.804e-06/0.7836, allocations: 0.9688 kB / 0.8397 GB, free: 8.016 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001402/0.785, allocations: 0.9033 MB / 0.8406 GB, free: 7.285 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002282/0.7872, allocations: 330.3 kB / 0.8409 GB, free: 7.113 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006728/0.794, allocations: 2.846 MB / 0.8436 GB, free: 5.34 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009224/0.7949, allocations: 0.6285 MB / 0.8443 GB, free: 4.988 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.00108/0.796, allocations: 265.7 kB / 0.8445 GB, free: 4.895 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003434/0.7963, allocations: 116.1 kB / 0.8446 GB, free: 4.863 MB / 0.6075 GB Notification: Performance of SimCode: time 1.123e-06/0.7963, allocations: 0 / 0.8446 GB, free: 4.863 MB / 0.6075 GB Notification: Performance of Templates: time 0.04456/0.8409, allocations: 22.97 MB / 0.8671 GB, free: 15.68 MB / 0.6387 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping.pipe >> ../files/ThermofluidStream_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping.sim & ./ThermofluidStream_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_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_ThermofluidStream.Undirected.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.101209107786417]