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.001631/0.001631, allocations: 109.2 kB / 18.94 MB, free: 2.949 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.002057/0.002057, allocations: 218.8 kB / 22.26 MB, free: 5.125 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.501/1.501, allocations: 230.6 MB / 256 MB, free: 7.973 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.7588/0.7588, allocations: 94.56 MB / 407 MB, free: 9.18 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.002644/0.002644, allocations: 90.36 kB / 0.5554 GB, free: 38.64 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1179/0.1206, allocations: 73.05 MB / 0.6268 GB, free: 15.97 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping): time 0.5374/0.658, allocations: 173.6 MB / 0.7963 GB, free: 1.699 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01322/0.6712, allocations: 11.57 MB / 0.8076 GB, free: 1.457 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002201/0.6734, allocations: 95.59 kB / 0.8077 GB, free: 1.457 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002319/0.6757, allocations: 0.8873 MB / 0.8086 GB, free: 1.438 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005245/0.681, allocations: 1.783 MB / 0.8103 GB, free: 1.359 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003889/0.6848, allocations: 1.364 MB / 0.8117 GB, free: 1.309 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003927/0.6888, allocations: 2.614 MB / 0.8142 GB, free: 1.203 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006311/0.6894, allocations: 247.3 kB / 0.8144 GB, free: 17.12 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003281/0.6927, allocations: 1.491 MB / 0.8159 GB, free: 16.64 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001793/0.6945, allocations: 1.162 MB / 0.817 GB, free: 16.21 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002112/0.6947, allocations: 109.7 kB / 0.8171 GB, free: 16.21 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004812/0.6995, allocations: 1.9 MB / 0.819 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003825/0.6999, allocations: 340.3 kB / 0.8193 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001138/0.701, allocations: 0.806 MB / 0.8201 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.005426/0.7064, allocations: 2.516 MB / 0.8226 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.7065, allocations: 0 / 0.8226 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.413e-06/0.7065, allocations: 6.531 kB / 0.8226 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.831e-05/0.7065, allocations: 4 kB / 0.8226 GB, free: 13.71 MB / 0.5919 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.004109/0.7106, allocations: 2.106 MB / 0.8246 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.7106, allocations: 7.75 kB / 0.8246 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003164/0.7109, allocations: 204.4 kB / 0.8248 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002309/0.7133, allocations: 1.138 MB / 0.8259 GB, free: 11.28 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.211e-05/0.7133, allocations: 82.41 kB / 0.826 GB, free: 11.24 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001448/0.7135, allocations: 115 kB / 0.8261 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001841/0.7153, allocations: 1.191 MB / 0.8273 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.715e-05/0.7153, allocations: 0 / 0.8273 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.18e-05/0.7154, allocations: 42.09 kB / 0.8273 GB, free: 10.4 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.797e-05/0.7154, allocations: 25.25 kB / 0.8274 GB, free: 10.4 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001678/0.7171, allocations: 1.108 MB / 0.8284 GB, free: 9.863 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007282/0.7244, allocations: 5.142 MB / 0.8335 GB, free: 5.391 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001455/0.7259, allocations: 0.6987 MB / 0.8341 GB, free: 4.984 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006343/0.7265, allocations: 393.8 kB / 0.8345 GB, free: 4.781 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003822/0.7303, allocations: 1.79 MB / 0.8363 GB, free: 3.41 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.304e-05/0.7304, allocations: 48.03 kB / 0.8363 GB, free: 3.359 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=108): time 3.286e-06/0.7304, allocations: 0 / 0.8363 GB, free: 3.359 MB / 0.5919 GB Notification: Performance of matching and sorting (n=108): time 0.003492/0.7338, allocations: 1.463 MB / 0.8377 GB, free: 2.609 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.266e-05/0.7339, allocations: 121.6 kB / 0.8379 GB, free: 2.477 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001651/0.7356, allocations: 1.297 MB / 0.8391 GB, free: 1.789 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 8.652e-05/0.7357, allocations: 46.61 kB / 0.8392 GB, free: 1.742 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005608/0.7362, allocations: 0.6203 MB / 0.8398 GB, free: 1.191 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003362/0.7366, allocations: 401.5 kB / 0.8402 GB, free: 0.8477 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002808/0.7368, allocations: 198.5 kB / 0.8403 GB, free: 0.7266 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001681/0.737, allocations: 341.7 kB / 0.8407 GB, free: 404 kB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005265/0.7375, allocations: 295 kB / 0.841 GB, free: 264 kB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007224/0.7383, allocations: 449.3 kB / 0.8414 GB, free: 15.95 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001372/0.7396, allocations: 0.7675 MB / 0.8421 GB, free: 15.51 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/0.7396, allocations: 1.281 kB / 0.8421 GB, free: 15.51 MB / 0.6075 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.002393/0.742, allocations: 1.167 MB / 0.8433 GB, free: 14.89 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/0.7421, allocations: 7.5 kB / 0.8433 GB, free: 14.89 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.748e-06/0.7421, allocations: 2.688 kB / 0.8433 GB, free: 14.89 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000544/0.7426, allocations: 154.8 kB / 0.8434 GB, free: 14.79 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007349/0.7433, allocations: 209.7 kB / 0.8436 GB, free: 14.74 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006065/0.7494, allocations: 6.751 MB / 0.8502 GB, free: 7.555 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001036/0.7504, allocations: 115.2 kB / 0.8503 GB, free: 7.441 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001407/0.7506, allocations: 43.98 kB / 0.8504 GB, free: 7.398 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.0006163/0.7512, allocations: 309.6 kB / 0.8507 GB, free: 7.086 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003981/0.7516, allocations: 170.9 kB / 0.8508 GB, free: 6.918 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003079/0.7547, allocations: 1.71 MB / 0.8525 GB, free: 5.145 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.154e-05/0.7547, allocations: 8 kB / 0.8525 GB, free: 5.137 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.837e-06/0.7547, allocations: 4 kB / 0.8525 GB, free: 5.133 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.122e-05/0.7547, allocations: 7.922 kB / 0.8525 GB, free: 5.125 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004048/0.7588, allocations: 2.364 MB / 0.8548 GB, free: 2.676 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.086e-06/0.7588, allocations: 8.062 kB / 0.8548 GB, free: 2.668 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005553/0.7593, allocations: 123.8 kB / 0.855 GB, free: 2.547 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005027/0.7598, allocations: 172.2 kB / 0.8551 GB, free: 2.363 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.144e-05/0.7599, allocations: 31.98 kB / 0.8551 GB, free: 2.332 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005983/0.7659, allocations: 6.746 MB / 0.8617 GB, free: 11.02 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/0.7659, allocations: 4.031 kB / 0.8617 GB, free: 11.02 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002844/0.7687, allocations: 1.592 MB / 0.8633 GB, free: 9.352 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006111/0.7693, allocations: 274.6 kB / 0.8636 GB, free: 9.082 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002037/0.7696, allocations: 31.78 kB / 0.8636 GB, free: 9.051 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000594/0.7701, allocations: 20 kB / 0.8636 GB, free: 9.031 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001483/0.7703, allocations: 83.8 kB / 0.8637 GB, free: 8.949 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.131e-05/0.7704, allocations: 31.98 kB / 0.8637 GB, free: 8.918 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.00147/0.7718, allocations: 1.001 MB / 0.8647 GB, free: 7.926 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.9e-07/0.7718, allocations: 0 / 0.8647 GB, free: 7.926 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001516/0.7733, allocations: 459.3 kB / 0.8651 GB, free: 7.477 MB / 0.6231 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.002011/0.7754, allocations: 0.7511 MB / 0.8659 GB, free: 6.895 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002266/0.7776, allocations: 1.297 MB / 0.8671 GB, free: 5.535 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.7776, allocations: 0 / 0.8671 GB, free: 5.535 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001309/0.7789, allocations: 0.9195 MB / 0.868 GB, free: 4.551 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002347/0.7813, allocations: 488.8 kB / 0.8685 GB, free: 4.086 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005686/0.787, allocations: 2.889 MB / 0.8713 GB, free: 1.129 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001/0.788, allocations: 1.217 MB / 0.8725 GB, free: 15.88 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0009426/0.7889, allocations: 304 kB / 0.8728 GB, free: 15.62 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003226/0.7892, allocations: 139.4 kB / 0.8729 GB, free: 15.49 MB / 0.6387 GB Notification: Performance of SimCode: time 8.42e-07/0.7892, allocations: 0 / 0.8729 GB, free: 15.49 MB / 0.6387 GB Notification: Performance of Templates: time 0.04821/0.8374, allocations: 25.73 MB / 0.8981 GB, free: 5.992 MB / 0.6544 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.104827388655394]