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.001391/0.001391, allocations: 84.73 kB / 19.44 MB, free: 344 kB / 13.93 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.001595/0.001595, allocations: 157.7 kB / 22.75 MB, free: 1.672 MB / 18.57 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.467/1.467, allocations: 177.1 MB / 203.1 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.0/package.mo): time 1.07/1.07, allocations: 118.6 MB / 378.2 MB, free: 1.496 MB / 346.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.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: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 482.9 MB, free: 8.305 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.218e-05/2.357e-05, allocations: 6.141 kB / 482.9 MB, free: 8.301 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping): time 0.2167/0.2168, allocations: 151 MB / 0.6191 GB, free: 9.523 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.01836/0.2351, allocations: 10.69 MB / 0.6295 GB, free: 14.79 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002165/0.2373, allocations: 99.06 kB / 0.6296 GB, free: 14.7 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.002749/0.24, allocations: 0.8616 MB / 0.6305 GB, free: 13.83 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.005956/0.246, allocations: 1.917 MB / 0.6323 GB, free: 11.9 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.004412/0.2504, allocations: 1.405 MB / 0.6337 GB, free: 10.49 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.004809/0.2552, allocations: 2.921 MB / 0.6365 GB, free: 7.559 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005617/0.2558, allocations: 233.4 kB / 0.6368 GB, free: 7.312 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003845/0.2596, allocations: 1.955 MB / 0.6387 GB, free: 5.352 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001739/0.2613, allocations: 1.064 MB / 0.6397 GB, free: 4.285 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.0002073/0.2616, allocations: 112 kB / 0.6398 GB, free: 4.176 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00394/0.2655, allocations: 1.579 MB / 0.6414 GB, free: 2.594 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0006674/0.2662, allocations: 350.3 kB / 0.6417 GB, free: 2.25 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0007912/0.267, allocations: 0.5571 MB / 0.6422 GB, free: 1.691 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.3024/0.5693, allocations: 2.575 MB / 0.6448 GB, free: 18.9 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.5693, allocations: 0.5938 kB / 0.6448 GB, free: 18.9 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.292e-06/0.5693, allocations: 0 / 0.6448 GB, free: 18.9 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.176e-05/0.5694, allocations: 1.094 kB / 0.6448 GB, free: 18.9 MB / 0.5573 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.004184/0.5736, allocations: 2.145 MB / 0.6469 GB, free: 17.86 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.5736, allocations: 9.375 kB / 0.6469 GB, free: 17.86 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008087/0.5744, allocations: 339 kB / 0.6472 GB, free: 17.73 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002125/0.5765, allocations: 1.248 MB / 0.6484 GB, free: 17.34 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.517e-05/0.5766, allocations: 80.66 kB / 0.6485 GB, free: 17.34 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000177/0.5768, allocations: 119.2 kB / 0.6486 GB, free: 17.34 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001864/0.5786, allocations: 1.231 MB / 0.6498 GB, free: 17.09 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.615e-05/0.5787, allocations: 4.078 kB / 0.6498 GB, free: 17.09 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.223e-05/0.5788, allocations: 48.84 kB / 0.6498 GB, free: 17.08 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.373e-05/0.5788, allocations: 27.03 kB / 0.6499 GB, free: 17.08 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001514/0.5803, allocations: 1.09 MB / 0.6509 GB, free: 17.08 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005081/0.5854, allocations: 3.767 MB / 0.6546 GB, free: 15.64 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001268/0.5867, allocations: 0.7052 MB / 0.6553 GB, free: 15.57 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005117/0.5872, allocations: 382.2 kB / 0.6557 GB, free: 15.54 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002848/0.59, allocations: 1.507 MB / 0.6571 GB, free: 14.95 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.318e-05/0.59, allocations: 48.44 kB / 0.6572 GB, free: 14.91 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=108): time 2.745e-06/0.59, allocations: 0 / 0.6572 GB, free: 14.91 MB / 0.5573 GB Notification: Performance of matching and sorting (n=108): time 0.003041/0.5931, allocations: 1.477 MB / 0.6586 GB, free: 14.73 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.055e-05/0.5931, allocations: 120 kB / 0.6587 GB, free: 14.61 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001134/0.5943, allocations: 1.127 MB / 0.6598 GB, free: 14.43 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 5.9e-05/0.5943, allocations: 45.33 kB / 0.6599 GB, free: 14.4 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.000359/0.5947, allocations: 0.6749 MB / 0.6605 GB, free: 14.17 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001903/0.5949, allocations: 388.5 kB / 0.6609 GB, free: 13.91 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002564/0.5951, allocations: 203.9 kB / 0.6611 GB, free: 13.89 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 6.604e-05/0.5952, allocations: 343.4 kB / 0.6614 GB, free: 13.59 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004583/0.5956, allocations: 294.6 kB / 0.6617 GB, free: 13.59 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006115/0.5963, allocations: 0.636 MB / 0.6623 GB, free: 13.21 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00112/0.5974, allocations: 0.7942 MB / 0.6631 GB, free: 13.08 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.761e-06/0.5974, allocations: 3.375 kB / 0.6631 GB, free: 13.08 MB / 0.5573 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.002156/0.5995, allocations: 1.199 MB / 0.6643 GB, free: 12.9 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.05e-05/0.5996, allocations: 10.28 kB / 0.6643 GB, free: 12.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.145e-05/0.5996, allocations: 5 kB / 0.6643 GB, free: 12.9 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006035/0.6002, allocations: 165.4 kB / 0.6645 GB, free: 12.86 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007568/0.6009, allocations: 206.1 kB / 0.6647 GB, free: 12.86 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006122/0.6071, allocations: 6.617 MB / 0.6711 GB, free: 22.93 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00112/0.6082, allocations: 91.31 kB / 0.6712 GB, free: 22.89 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001196/0.6083, allocations: 51.27 kB / 0.6713 GB, free: 22.89 MB / 0.573 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.0006151/0.6089, allocations: 313.5 kB / 0.6716 GB, free: 22.77 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003924/0.6093, allocations: 195.1 kB / 0.6717 GB, free: 22.68 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002822/0.6121, allocations: 1.67 MB / 0.6734 GB, free: 22.3 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.053e-05/0.6121, allocations: 9.531 kB / 0.6734 GB, free: 22.3 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.842e-06/0.6121, allocations: 2.375 kB / 0.6734 GB, free: 22.3 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.245e-05/0.6122, allocations: 5.281 kB / 0.6734 GB, free: 22.3 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003299/0.6155, allocations: 1.992 MB / 0.6753 GB, free: 21.72 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.247e-06/0.6155, allocations: 3.719 kB / 0.6753 GB, free: 21.72 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005293/0.616, allocations: 123 kB / 0.6755 GB, free: 21.72 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005765/0.6166, allocations: 176.8 kB / 0.6756 GB, free: 21.68 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.019e-05/0.6166, allocations: 27.73 kB / 0.6757 GB, free: 21.68 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006259/0.6229, allocations: 6.629 MB / 0.6821 GB, free: 15.72 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.343e-06/0.6229, allocations: 11.19 kB / 0.6821 GB, free: 15.72 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003015/0.6259, allocations: 1.542 MB / 0.6836 GB, free: 15.18 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006136/0.6265, allocations: 242.8 kB / 0.6839 GB, free: 15.09 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002225/0.6268, allocations: 34.69 kB / 0.6839 GB, free: 15.08 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006101/0.6274, allocations: 20.12 kB / 0.6839 GB, free: 15.08 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001896/0.6276, allocations: 76.42 kB / 0.684 GB, free: 15.08 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.121e-05/0.6276, allocations: 34.34 kB / 0.684 GB, free: 15.08 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.001609/0.6292, allocations: 0.8531 MB / 0.6849 GB, free: 14.97 MB / 0.573 GB Notification: Performance of sort global known variables: time 9e-08/0.6292, allocations: 1.938 kB / 0.6849 GB, free: 14.97 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.002221/0.6315, allocations: 0.4945 MB / 0.6854 GB, free: 14.9 MB / 0.573 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.002235/0.6337, allocations: 0.7549 MB / 0.6861 GB, free: 14.72 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.002211/0.6359, allocations: 1.285 MB / 0.6873 GB, free: 14.15 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 5.039e-06/0.6359, allocations: 0 / 0.6873 GB, free: 14.15 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.001168/0.6371, allocations: 0.9093 MB / 0.6882 GB, free: 13.59 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002746/0.6398, allocations: 0.5692 MB / 0.6888 GB, free: 13.51 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004743/0.6446, allocations: 2.811 MB / 0.6915 GB, free: 12.27 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005943/0.6452, allocations: 0.6434 MB / 0.6922 GB, free: 12.14 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0009417/0.6461, allocations: 273.7 kB / 0.6924 GB, free: 12.1 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002696/0.6464, allocations: 133.3 kB / 0.6925 GB, free: 12.09 MB / 0.573 GB Notification: Performance of SimCode: time 8.02e-07/0.6464, allocations: 4.219 kB / 0.6926 GB, free: 12.09 MB / 0.573 GB Notification: Performance of Templates: time 0.03891/0.6853, allocations: 26.27 MB / 0.7182 GB, free: 5.578 MB / 0.573 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.258198612020351]