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.002359/0.002359, allocations: 81.5 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.002906/0.002906, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.56/1.56, allocations: 177.1 MB / 203.1 MB, free: 5.621 MB / 186.7 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 1.031/1.031, allocations: 118.6 MB / 378.2 MB, free: 1.445 MB / 346.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.4.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: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 482.9 MB, free: 8.281 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.02e-05/3.171e-05, allocations: 9.641 kB / 482.9 MB, free: 8.273 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping): time 0.2426/0.2426, allocations: 167.8 MB / 0.6354 GB, free: 8.711 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.3317/0.5743, allocations: 12.04 MB / 0.6472 GB, free: 12.08 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002326/0.5766, allocations: 101.2 kB / 0.6473 GB, free: 12.08 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0026/0.5792, allocations: 0.8571 MB / 0.6481 GB, free: 12.08 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.005237/0.5845, allocations: 1.919 MB / 0.65 GB, free: 12.04 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.003839/0.5883, allocations: 1.406 MB / 0.6513 GB, free: 12 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.004127/0.5924, allocations: 2.92 MB / 0.6542 GB, free: 11.45 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009012/0.5933, allocations: 235.7 kB / 0.6544 GB, free: 27.39 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003699/0.597, allocations: 1.951 MB / 0.6563 GB, free: 27.17 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001499/0.5985, allocations: 1.065 MB / 0.6574 GB, free: 27.06 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.0002027/0.5987, allocations: 109.4 kB / 0.6575 GB, free: 27.06 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00363/0.6024, allocations: 1.574 MB / 0.659 GB, free: 26.95 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0003056/0.6027, allocations: 352.2 kB / 0.6593 GB, free: 26.86 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.0007539/0.6034, allocations: 0.565 MB / 0.6599 GB, free: 26.78 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.004611/0.608, allocations: 2.579 MB / 0.6624 GB, free: 26.46 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.608, allocations: 0 / 0.6624 GB, free: 26.46 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.463e-06/0.608, allocations: 1 kB / 0.6624 GB, free: 26.46 MB / 0.573 GB Notification: Performance of Transformations before backend: time 3.614e-05/0.6081, allocations: 0.5625 kB / 0.6624 GB, free: 26.46 MB / 0.573 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.004594/0.6127, allocations: 2.373 MB / 0.6647 GB, free: 25.29 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/0.6127, allocations: 9.031 kB / 0.6647 GB, free: 25.29 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007335/0.6134, allocations: 342.6 kB / 0.6651 GB, free: 25.16 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002146/0.6156, allocations: 1.245 MB / 0.6663 GB, free: 24.77 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.678e-05/0.6157, allocations: 85.72 kB / 0.6664 GB, free: 24.76 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001575/0.6158, allocations: 116.1 kB / 0.6665 GB, free: 24.75 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001913/0.6177, allocations: 1.168 MB / 0.6676 GB, free: 24.45 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.044e-05/0.6178, allocations: 5.25 kB / 0.6676 GB, free: 24.45 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.162e-05/0.6178, allocations: 48.22 kB / 0.6677 GB, free: 24.45 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.287e-05/0.6179, allocations: 25.69 kB / 0.6677 GB, free: 24.45 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001538/0.6194, allocations: 0.7926 MB / 0.6685 GB, free: 24.45 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006949/0.6264, allocations: 4.647 MB / 0.673 GB, free: 22.36 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00159/0.628, allocations: 0.741 MB / 0.6737 GB, free: 22.25 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006645/0.6286, allocations: 394.4 kB / 0.6741 GB, free: 22.22 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003487/0.6321, allocations: 1.766 MB / 0.6758 GB, free: 21.37 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.382e-05/0.6322, allocations: 53.02 kB / 0.6759 GB, free: 21.32 MB / 0.573 GB Notification: Performance of pre-optimization done (n=108): time 3.226e-06/0.6322, allocations: 1.062 kB / 0.6759 GB, free: 21.32 MB / 0.573 GB Notification: Performance of matching and sorting (n=108): time 0.003583/0.6357, allocations: 1.497 MB / 0.6773 GB, free: 21.11 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001007/0.6358, allocations: 115.9 kB / 0.6775 GB, free: 20.98 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00149/0.6373, allocations: 1.341 MB / 0.6788 GB, free: 20.74 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 8.142e-05/0.6374, allocations: 44.89 kB / 0.6788 GB, free: 20.71 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004568/0.6379, allocations: 0.7782 MB / 0.6796 GB, free: 20.43 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002173/0.6381, allocations: 409 kB / 0.68 GB, free: 20.18 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002914/0.6384, allocations: 231.7 kB / 0.6802 GB, free: 20.14 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.000302/0.6387, allocations: 0.5322 MB / 0.6807 GB, free: 19.66 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000447/0.6391, allocations: 289.8 kB / 0.681 GB, free: 19.66 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007218/0.6398, allocations: 0.7055 MB / 0.6817 GB, free: 19.21 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001133/0.641, allocations: 0.8654 MB / 0.6825 GB, free: 19.01 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.963e-06/0.641, allocations: 3.125 kB / 0.6825 GB, free: 19.01 MB / 0.573 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.002105/0.6431, allocations: 1.204 MB / 0.6837 GB, free: 18.81 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.184e-05/0.6431, allocations: 5.875 kB / 0.6837 GB, free: 18.81 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/0.6431, allocations: 7 kB / 0.6837 GB, free: 18.81 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005766/0.6437, allocations: 182.3 kB / 0.6839 GB, free: 18.75 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007034/0.6444, allocations: 216.1 kB / 0.6841 GB, free: 18.75 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007495/0.6519, allocations: 9.246 MB / 0.6931 GB, free: 10.13 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001095/0.653, allocations: 90.59 kB / 0.6932 GB, free: 10.08 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001164/0.6531, allocations: 49.59 kB / 0.6932 GB, free: 10.08 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.0006528/0.6538, allocations: 307.6 kB / 0.6935 GB, free: 9.922 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003214/0.6541, allocations: 193.8 kB / 0.6937 GB, free: 9.836 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002918/0.657, allocations: 2.002 MB / 0.6957 GB, free: 9.305 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.822e-06/0.657, allocations: 6.844 kB / 0.6957 GB, free: 9.305 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.657, allocations: 5.406 kB / 0.6957 GB, free: 9.305 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.598e-06/0.657, allocations: 3.656 kB / 0.6957 GB, free: 9.305 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003522/0.6605, allocations: 2.418 MB / 0.698 GB, free: 8.516 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.46e-06/0.6606, allocations: 4.625 kB / 0.6981 GB, free: 8.516 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004657/0.661, allocations: 126.9 kB / 0.6982 GB, free: 8.512 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005203/0.6615, allocations: 187 kB / 0.6984 GB, free: 8.445 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.532e-05/0.6616, allocations: 30.53 kB / 0.6984 GB, free: 8.445 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007759/0.6694, allocations: 9.27 MB / 0.7074 GB, free: 15.79 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.412e-06/0.6694, allocations: 6.562 kB / 0.7074 GB, free: 15.79 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002885/0.6723, allocations: 1.716 MB / 0.7091 GB, free: 15.05 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006798/0.6729, allocations: 233.8 kB / 0.7093 GB, free: 14.96 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002176/0.6732, allocations: 34.22 kB / 0.7094 GB, free: 14.95 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005482/0.6737, allocations: 22.69 kB / 0.7094 GB, free: 14.95 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001644/0.6739, allocations: 78.66 kB / 0.7095 GB, free: 14.95 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.317e-05/0.6739, allocations: 33.28 kB / 0.7095 GB, free: 14.95 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.001154/0.6751, allocations: 0.8949 MB / 0.7104 GB, free: 14.79 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6751, allocations: 0.9375 kB / 0.7104 GB, free: 14.79 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.001795/0.6769, allocations: 0.4893 MB / 0.7109 GB, free: 14.73 MB / 0.5886 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.003148/0.68, allocations: 0.7535 MB / 0.7116 GB, free: 14.54 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.002633/0.6827, allocations: 1.632 MB / 0.7132 GB, free: 13.66 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 8.386e-06/0.6827, allocations: 0.7812 kB / 0.7132 GB, free: 13.66 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.00146/0.6841, allocations: 1.224 MB / 0.7144 GB, free: 12.79 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00305/0.6872, allocations: 0.5613 MB / 0.7149 GB, free: 12.72 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004552/0.6917, allocations: 2.721 MB / 0.7176 GB, free: 11.42 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006356/0.6924, allocations: 0.6375 MB / 0.7182 GB, free: 11.29 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.00106/0.6934, allocations: 279.5 kB / 0.7185 GB, free: 11.23 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002508/0.6937, allocations: 127.7 kB / 0.7186 GB, free: 11.22 MB / 0.5886 GB Notification: Performance of SimCode: time 2.214e-06/0.6937, allocations: 4 kB / 0.7186 GB, free: 11.22 MB / 0.5886 GB Notification: Performance of Templates: time 0.04606/0.7397, allocations: 26.33 MB / 0.7443 GB, free: 1.562 MB / 0.5886 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=240 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping.pipe 2>&1) [Timeout 240] 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: 7.467202538042329]