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.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.001585/0.001585, allocations: 103.6 kB / 18.95 MB, free: 2.688 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.001793/0.001793, allocations: 216.8 kB / 22.24 MB, free: 5.242 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.439/1.439, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo): time 0.7846/0.7846, allocations: 100.9 MB / 413.3 MB, free: 2.863 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/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_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: 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.002547/0.002547, allocations: 89.72 kB / 0.5646 GB, free: 35.45 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1192/0.1218, allocations: 74.62 MB / 0.6374 GB, free: 5.977 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping): time 0.4642/0.586, allocations: 150.2 MB / 0.7841 GB, free: 3.102 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01222/0.5982, allocations: 10.54 MB / 0.7944 GB, free: 2.934 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002077/0.6003, allocations: 97.69 kB / 0.7945 GB, free: 2.934 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001988/0.6022, allocations: 0.8285 MB / 0.7953 GB, free: 2.914 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004329/0.6066, allocations: 1.736 MB / 0.797 GB, free: 2.855 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003191/0.6098, allocations: 1.353 MB / 0.7983 GB, free: 2.82 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003047/0.6128, allocations: 2.595 MB / 0.8008 GB, free: 2.809 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004926/0.6133, allocations: 236.7 kB / 0.8011 GB, free: 2.734 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002518/0.6158, allocations: 1.496 MB / 0.8025 GB, free: 2.656 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001314/0.6171, allocations: 1.083 MB / 0.8036 GB, free: 2.449 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001918/0.6173, allocations: 110.8 kB / 0.8037 GB, free: 2.449 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003256/0.6206, allocations: 1.558 MB / 0.8052 GB, free: 2.414 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003347/0.6209, allocations: 335.3 kB / 0.8055 GB, free: 2.34 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0008982/0.6218, allocations: 0.6471 MB / 0.8062 GB, free: 2.133 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003974/0.6258, allocations: 2.487 MB / 0.8086 GB, free: 1.43 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.6258, allocations: 0.9062 kB / 0.8086 GB, free: 1.43 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.194e-06/0.6258, allocations: 0 / 0.8086 GB, free: 1.43 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.291e-05/0.6258, allocations: 0 / 0.8086 GB, free: 1.43 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.00322/0.629, allocations: 2.095 MB / 0.8106 GB, free: 16.14 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.613e-05/0.6291, allocations: 14.09 kB / 0.8106 GB, free: 16.14 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004715/0.6296, allocations: 228 kB / 0.8109 GB, free: 16.04 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001941/0.6315, allocations: 1.135 MB / 0.812 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.175e-05/0.6316, allocations: 80.97 kB / 0.812 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001539/0.6317, allocations: 115.1 kB / 0.8122 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001745/0.6335, allocations: 1.237 MB / 0.8134 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.528e-05/0.6335, allocations: 0 / 0.8134 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.64e-05/0.6336, allocations: 48.62 kB / 0.8134 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.712e-05/0.6336, allocations: 25.75 kB / 0.8134 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001498/0.6351, allocations: 1.086 MB / 0.8145 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005518/0.6406, allocations: 3.695 MB / 0.8181 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001419/0.642, allocations: 0.7034 MB / 0.8188 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006049/0.6426, allocations: 392.6 kB / 0.8192 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003085/0.6457, allocations: 1.486 MB / 0.8206 GB, free: 10.65 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.597e-05/0.6458, allocations: 48.95 kB / 0.8207 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=108): time 3.186e-06/0.6458, allocations: 1.156 kB / 0.8207 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of matching and sorting (n=108): time 0.003141/0.6489, allocations: 1.436 MB / 0.8221 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.777e-05/0.649, allocations: 113.5 kB / 0.8222 GB, free: 9.914 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001203/0.6502, allocations: 1.076 MB / 0.8232 GB, free: 9.496 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.95e-05/0.6502, allocations: 45.89 kB / 0.8233 GB, free: 9.453 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005085/0.6508, allocations: 0.6583 MB / 0.8239 GB, free: 8.934 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003028/0.6511, allocations: 388.2 kB / 0.8243 GB, free: 8.633 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000266/0.6513, allocations: 195.2 kB / 0.8245 GB, free: 8.539 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001546/0.6515, allocations: 347.2 kB / 0.8248 GB, free: 8.219 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004956/0.652, allocations: 295.2 kB / 0.8251 GB, free: 8.105 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006865/0.6527, allocations: 0.5154 MB / 0.8256 GB, free: 7.75 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001206/0.6539, allocations: 0.7949 MB / 0.8264 GB, free: 7.305 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.509e-06/0.6539, allocations: 0.9062 kB / 0.8264 GB, free: 7.305 MB / 0.5919 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.002017/0.6559, allocations: 1.143 MB / 0.8275 GB, free: 6.82 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/0.6559, allocations: 9.344 kB / 0.8275 GB, free: 6.82 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/0.6559, allocations: 1.969 kB / 0.8275 GB, free: 6.82 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005061/0.6564, allocations: 157.7 kB / 0.8276 GB, free: 6.758 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007011/0.6571, allocations: 208.1 kB / 0.8278 GB, free: 6.746 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005414/0.6625, allocations: 6.614 MB / 0.8343 GB, free: 240 kB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008881/0.6634, allocations: 86.86 kB / 0.8344 GB, free: 172 kB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001132/0.6635, allocations: 56.5 kB / 0.8344 GB, free: 148 kB / 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.0006148/0.6641, allocations: 307.5 kB / 0.8347 GB, free: 15.94 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002873/0.6644, allocations: 151.5 kB / 0.8349 GB, free: 15.86 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002583/0.667, allocations: 1.662 MB / 0.8365 GB, free: 14.72 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.624e-06/0.667, allocations: 9.531 kB / 0.8365 GB, free: 14.72 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.667, allocations: 2.625 kB / 0.8365 GB, free: 14.72 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.104e-05/0.667, allocations: 7.516 kB / 0.8365 GB, free: 14.72 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002926/0.67, allocations: 1.979 MB / 0.8384 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-06/0.67, allocations: 2.906 kB / 0.8384 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004515/0.6704, allocations: 119.5 kB / 0.8386 GB, free: 13.37 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004504/0.6709, allocations: 172.1 kB / 0.8387 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.766e-05/0.6709, allocations: 28.58 kB / 0.8388 GB, free: 13.24 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005184/0.6761, allocations: 6.613 MB / 0.8452 GB, free: 6.688 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.6761, allocations: 10.03 kB / 0.8452 GB, free: 6.684 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002412/0.6785, allocations: 1.515 MB / 0.8467 GB, free: 5.688 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005483/0.6791, allocations: 230.6 kB / 0.8469 GB, free: 5.516 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001739/0.6793, allocations: 39.98 kB / 0.847 GB, free: 5.488 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005281/0.6798, allocations: 20.19 kB / 0.847 GB, free: 5.477 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001456/0.6799, allocations: 74.19 kB / 0.847 GB, free: 5.434 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.905e-05/0.68, allocations: 37.22 kB / 0.8471 GB, free: 5.418 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001056/0.681, allocations: 0.8228 MB / 0.8479 GB, free: 4.98 MB / 0.6075 GB Notification: Performance of sort global known variables: time 9e-08/0.681, allocations: 0.9062 kB / 0.8479 GB, free: 4.98 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001412/0.6825, allocations: 469.9 kB / 0.8483 GB, free: 4.852 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.001987/0.6844, allocations: 0.7579 MB / 0.8491 GB, free: 4.582 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002281/0.6867, allocations: 1.283 MB / 0.8503 GB, free: 3.688 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 6.362e-06/0.6867, allocations: 8 kB / 0.8503 GB, free: 3.68 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001225/0.688, allocations: 0.9051 MB / 0.8512 GB, free: 2.949 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001728/0.6897, allocations: 329.1 kB / 0.8515 GB, free: 2.766 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005596/0.6953, allocations: 2.847 MB / 0.8543 GB, free: 0.832 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007232/0.696, allocations: 0.621 MB / 0.8549 GB, free: 176 kB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0009197/0.6969, allocations: 261 kB / 0.8552 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002761/0.6972, allocations: 127.4 kB / 0.8553 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of SimCode: time 1.232e-06/0.6972, allocations: 0 / 0.8553 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of Templates: time 0.04021/0.7374, allocations: 22.94 MB / 0.8777 GB, free: 9.332 MB / 0.6387 GB " [Timeout remaining time 659] 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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.695318868383765]