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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001699/0.001699, allocations: 108.2 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001881/0.001881, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.65/1.65, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0-main/package.mo): time 0.9148/0.9148, allocations: 94.59 MB / 397.3 MB, free: 368 kB / 302.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-main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping,fileNamePrefix="ThermofluidStream_ThermofluidStream_Undirected_Interfaces_Tests_Test_p_out_clipping",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping,fileNamePrefix="ThermofluidStream_ThermofluidStream_Undirected_Interfaces_Tests_Test_p_out_clipping",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00245/0.00245, allocations: 84.39 kB / 0.5416 GB, free: 42.27 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1811/0.1836, allocations: 71.86 MB / 0.6118 GB, free: 10.12 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping): time 0.7008/0.8844, allocations: 173.1 MB / 0.7808 GB, free: 2.055 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01516/0.8996, allocations: 11.4 MB / 0.7919 GB, free: 1.898 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003054/0.9026, allocations: 68.22 kB / 0.792 GB, free: 1.898 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002983/0.9056, allocations: 0.8929 MB / 0.7929 GB, free: 1.871 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006573/0.9122, allocations: 1.725 MB / 0.7946 GB, free: 1.82 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004974/0.9172, allocations: 1.31 MB / 0.7958 GB, free: 1.785 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004286/0.9215, allocations: 2.557 MB / 0.7983 GB, free: 1.781 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006345/0.9221, allocations: 245.8 kB / 0.7986 GB, free: 1.707 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003566/0.9257, allocations: 1.455 MB / 0.8 GB, free: 1.633 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00231/0.928, allocations: 1.159 MB / 0.8011 GB, free: 1.426 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003092/0.9283, allocations: 110.2 kB / 0.8012 GB, free: 1.426 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005057/0.9333, allocations: 1.869 MB / 0.8031 GB, free: 1.391 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004339/0.9338, allocations: 339.4 kB / 0.8034 GB, free: 1.316 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001353/0.9351, allocations: 0.7962 MB / 0.8042 GB, free: 1.043 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.006253/0.9414, allocations: 2.522 MB / 0.8066 GB, free: 0.6055 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.9414, allocations: 0 / 0.8066 GB, free: 0.6055 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.034e-06/0.9414, allocations: 0.9688 kB / 0.8066 GB, free: 0.6055 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.042e-05/0.9414, allocations: 0 / 0.8066 GB, free: 0.6055 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.004624/0.946, allocations: 2.164 MB / 0.8087 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.145e-05/0.9461, allocations: 13.47 kB / 0.8087 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001643/0.9463, allocations: 160 kB / 0.8089 GB, free: 15.42 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005593/0.9468, allocations: 208.9 kB / 0.8091 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002419/0.9492, allocations: 1.231 MB / 0.8103 GB, free: 14.87 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.035e-05/0.9493, allocations: 85.05 kB / 0.8104 GB, free: 14.87 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000152/0.9494, allocations: 117.2 kB / 0.8105 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001883/0.9513, allocations: 1.173 MB / 0.8116 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.674e-05/0.9514, allocations: 4.656 kB / 0.8116 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.507e-05/0.9515, allocations: 43.72 kB / 0.8117 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.757e-05/0.9515, allocations: 24.81 kB / 0.8117 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001735/0.9532, allocations: 1.07 MB / 0.8128 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008116/0.9613, allocations: 5.269 MB / 0.8179 GB, free: 10.63 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001617/0.9629, allocations: 0.6882 MB / 0.8186 GB, free: 10.31 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006136/0.9635, allocations: 394.5 kB / 0.8189 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00557/0.9691, allocations: 3.904 MB / 0.8228 GB, free: 6.281 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.902e-05/0.9692, allocations: 51.92 kB / 0.8228 GB, free: 6.23 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=108): time 3.526e-06/0.9692, allocations: 1.844 kB / 0.8228 GB, free: 6.23 MB / 0.5919 GB Notification: Performance of matching and sorting (n=108): time 0.003886/0.973, allocations: 1.836 MB / 0.8246 GB, free: 5.035 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.79e-05/0.9731, allocations: 121.2 kB / 0.8247 GB, free: 4.906 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001995/0.9751, allocations: 1.29 MB / 0.826 GB, free: 4.223 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.875e-05/0.9752, allocations: 40.61 kB / 0.826 GB, free: 4.18 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007089/0.9759, allocations: 0.624 MB / 0.8266 GB, free: 3.625 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004278/0.9764, allocations: 397.2 kB / 0.827 GB, free: 3.285 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002917/0.9766, allocations: 200.2 kB / 0.8272 GB, free: 3.168 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002054/0.9769, allocations: 341.6 kB / 0.8275 GB, free: 2.836 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005277/0.9774, allocations: 300.7 kB / 0.8278 GB, free: 2.691 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008473/0.9782, allocations: 445.7 kB / 0.8282 GB, free: 2.395 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001332/0.9796, allocations: 0.7705 MB / 0.829 GB, free: 1.965 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.9796, allocations: 0 / 0.829 GB, free: 1.965 MB / 0.5919 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.002304/0.9819, allocations: 1.167 MB / 0.8301 GB, free: 1.371 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.293e-05/0.9819, allocations: 7.719 kB / 0.8301 GB, free: 1.371 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.163e-05/0.9819, allocations: 3.219 kB / 0.8301 GB, free: 1.371 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005355/0.9824, allocations: 158.5 kB / 0.8303 GB, free: 1.281 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008685/0.9833, allocations: 208.9 kB / 0.8305 GB, free: 1.242 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006672/0.99, allocations: 7.246 MB / 0.8376 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001362/0.9913, allocations: 110.9 kB / 0.8377 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001676/0.9915, allocations: 47.08 kB / 0.8377 GB, free: 9.781 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.0008298/0.9923, allocations: 310.6 kB / 0.838 GB, free: 9.562 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004039/0.9927, allocations: 178.1 kB / 0.8382 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00336/0.9961, allocations: 1.712 MB / 0.8399 GB, free: 8.316 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-05/0.9961, allocations: 9.688 kB / 0.8399 GB, free: 8.316 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/0.9961, allocations: 6.594 kB / 0.8399 GB, free: 8.312 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.151e-05/0.9961, allocations: 5.953 kB / 0.8399 GB, free: 8.309 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004463/1.001, allocations: 2.401 MB / 0.8422 GB, free: 6.117 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.868e-06/1.001, allocations: 4 kB / 0.8422 GB, free: 6.113 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005538/1.001, allocations: 124.7 kB / 0.8423 GB, free: 6 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005011/1.002, allocations: 175.8 kB / 0.8425 GB, free: 5.82 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.515e-05/1.002, allocations: 32.78 kB / 0.8425 GB, free: 5.789 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00658/1.008, allocations: 7.252 MB / 0.8496 GB, free: 13.89 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.498e-06/1.008, allocations: 8.016 kB / 0.8496 GB, free: 13.89 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003337/1.012, allocations: 1.582 MB / 0.8512 GB, free: 12.25 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000811/1.012, allocations: 347.7 kB / 0.8515 GB, free: 11.89 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001951/1.013, allocations: 35.91 kB / 0.8515 GB, free: 11.85 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006702/1.013, allocations: 27.98 kB / 0.8516 GB, free: 11.82 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001398/1.013, allocations: 76.91 kB / 0.8516 GB, free: 11.75 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.092e-05/1.014, allocations: 31.98 kB / 0.8517 GB, free: 11.72 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001574/1.015, allocations: 0.9928 MB / 0.8526 GB, free: 10.74 MB / 0.6231 GB Notification: Performance of sort global known variables: time 7e-08/1.015, allocations: 0 / 0.8526 GB, free: 10.74 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001619/1.017, allocations: 463.3 kB / 0.8531 GB, free: 10.29 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.005009/1.022, allocations: 2.784 MB / 0.8558 GB, free: 7.629 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002712/1.024, allocations: 1.293 MB / 0.8571 GB, free: 6.293 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/1.024, allocations: 0 / 0.8571 GB, free: 6.293 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001468/1.026, allocations: 0.9242 MB / 0.858 GB, free: 5.324 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002711/1.029, allocations: 498.5 kB / 0.8584 GB, free: 4.855 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01943/1.048, allocations: 10.96 MB / 0.8691 GB, free: 9.625 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008982/1.049, allocations: 1.209 MB / 0.8703 GB, free: 8.387 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001236/1.05, allocations: 307.5 kB / 0.8706 GB, free: 8.125 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008049/1.051, allocations: 0.6008 MB / 0.8712 GB, free: 7.523 MB / 0.6387 GB Notification: Performance of SimCode: time 3.547e-06/1.051, allocations: 6.625 kB / 0.8712 GB, free: 7.52 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.111/1.162, allocations: 39.72 MB / 0.91 GB, free: 100 kB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.94/17.1, allocations: 7.969 kB / 0.91 GB, free: 92 kB / 0.67 GB " [Timeout remaining time 643] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_Undirected_Interfaces_Tests_Test_p_out_clipping_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_Undirected_Interfaces_Tests_Test_p_out_clipping.fmu > ThermofluidStream_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping.pipe 2>&1) [Timeout 1260.0] 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 21.54190923087299]