Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.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.0008424/0.0008424, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 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.001323/0.001323, allocations: 165.9 kB / 22.45 MB, free: 2.109 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 0.8628/0.8628, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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.6209/0.6209, allocations: 116 MB / 375.2 MB, free: 4.184 MB / 346.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.3.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: "" <> buildModelFMU(ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Undirected_Boundaries_Tests_TestBoundaries",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Undirected_Boundaries_Tests_TestBoundaries",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 0.5533 GB, free: 13.32 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.772e-05/1.917e-05, allocations: 5.938 kB / 0.5533 GB, free: 13.31 MB / 490.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries): time 0.4044/0.4044, allocations: 127 MB / 0.6773 GB, free: 6.355 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.002899/0.4073, allocations: 2.898 MB / 0.6801 GB, free: 6.125 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000353/0.4077, allocations: 39.69 kB / 0.6802 GB, free: 6.102 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0006174/0.4083, allocations: 223.6 kB / 0.6804 GB, free: 6.031 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0008341/0.4091, allocations: 414.9 kB / 0.6808 GB, free: 5.977 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008149/0.4099, allocations: 476.7 kB / 0.6812 GB, free: 5.93 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0006583/0.4106, allocations: 0.7534 MB / 0.682 GB, free: 5.926 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000166/0.4108, allocations: 93.66 kB / 0.6821 GB, free: 5.902 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000969/0.4117, allocations: 0.616 MB / 0.6827 GB, free: 5.793 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000249/0.412, allocations: 269.4 kB / 0.6829 GB, free: 5.766 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 3.789e-05/0.412, allocations: 25.59 kB / 0.6829 GB, free: 5.766 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007015/0.4127, allocations: 477.1 kB / 0.6834 GB, free: 5.715 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 6.973e-05/0.4128, allocations: 77.09 kB / 0.6835 GB, free: 5.691 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0001023/0.4129, allocations: 143.1 kB / 0.6836 GB, free: 5.668 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0007565/0.4137, allocations: 0.6827 MB / 0.6843 GB, free: 5.582 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.4137, allocations: 0 / 0.6843 GB, free: 5.582 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.773e-06/0.4137, allocations: 1.188 kB / 0.6843 GB, free: 5.582 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 6.983e-06/0.4137, allocations: 0 / 0.6843 GB, free: 5.582 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.0009219/0.4146, allocations: 0.7331 MB / 0.685 GB, free: 5.105 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/0.4146, allocations: 9.688 kB / 0.685 GB, free: 5.105 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.609e-05/0.4147, allocations: 63.03 kB / 0.6851 GB, free: 5.066 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.072e-05/0.4147, allocations: 59.69 kB / 0.6851 GB, free: 5.035 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005744/0.4153, allocations: 406.6 kB / 0.6855 GB, free: 4.816 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.826e-05/0.4153, allocations: 25.47 kB / 0.6855 GB, free: 4.812 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.867e-05/0.4154, allocations: 26.47 kB / 0.6855 GB, free: 4.812 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003574/0.4157, allocations: 321 kB / 0.6859 GB, free: 4.699 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.118e-06/0.4157, allocations: 3.938 kB / 0.6859 GB, free: 4.695 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.923e-05/0.4158, allocations: 15 kB / 0.6859 GB, free: 4.695 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/0.4158, allocations: 15.45 kB / 0.6859 GB, free: 4.688 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002536/0.416, allocations: 195 kB / 0.6861 GB, free: 4.68 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001108/0.4171, allocations: 1.409 MB / 0.6874 GB, free: 3.707 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003236/0.4175, allocations: 163.6 kB / 0.6876 GB, free: 3.629 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.964e-05/0.4175, allocations: 68.59 kB / 0.6877 GB, free: 3.605 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002617/0.4178, allocations: 69.34 kB / 0.6877 GB, free: 3.605 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.493e-05/0.4178, allocations: 39.97 kB / 0.6878 GB, free: 3.566 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=15): time 1.763e-06/0.4178, allocations: 0 / 0.6878 GB, free: 3.566 MB / 0.5573 GB Notification: Performance of matching and sorting (n=15): time 0.0005509/0.4184, allocations: 290.3 kB / 0.6881 GB, free: 3.484 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.859e-05/0.4184, allocations: 105.2 kB / 0.6882 GB, free: 3.359 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003246/0.4187, allocations: 449.3 kB / 0.6886 GB, free: 3.234 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.029e-05/0.4187, allocations: 31.89 kB / 0.6886 GB, free: 3.203 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.000105/0.4188, allocations: 242.6 kB / 0.6888 GB, free: 3.09 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.424e-05/0.4189, allocations: 60.2 kB / 0.6889 GB, free: 3.051 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.9e-05/0.4189, allocations: 48.7 kB / 0.6889 GB, free: 3.031 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 5.967e-05/0.419, allocations: 357 kB / 0.6893 GB, free: 2.719 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001199/0.4191, allocations: 56.39 kB / 0.6893 GB, free: 2.719 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001432/0.4192, allocations: 114.2 kB / 0.6894 GB, free: 2.656 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001866/0.4194, allocations: 177 kB / 0.6896 GB, free: 2.594 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.4194, allocations: 0 / 0.6896 GB, free: 2.594 MB / 0.5573 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003061/0.4197, allocations: 275.9 kB / 0.6899 GB, free: 2.512 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.4197, allocations: 9.594 kB / 0.6899 GB, free: 2.512 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.4197, allocations: 1.469 kB / 0.6899 GB, free: 2.512 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001212/0.4199, allocations: 23.14 kB / 0.6899 GB, free: 2.5 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001036/0.42, allocations: 50.52 kB / 0.69 GB, free: 2.496 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005749/0.4205, allocations: 1.281 MB / 0.6912 GB, free: 1.266 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001165/0.4207, allocations: 31.64 kB / 0.6912 GB, free: 1.25 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.691e-05/0.4207, allocations: 14.81 kB / 0.6913 GB, free: 1.246 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001011/0.4208, allocations: 150.4 kB / 0.6914 GB, free: 1.129 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.753e-05/0.4208, allocations: 54.48 kB / 0.6915 GB, free: 1.098 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003425/0.4212, allocations: 253.5 kB / 0.6917 GB, free: 1.031 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.4212, allocations: 6.219 kB / 0.6917 GB, free: 1.027 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.826e-06/0.4212, allocations: 1.125 kB / 0.6917 GB, free: 1.027 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.4212, allocations: 3.328 kB / 0.6917 GB, free: 1.027 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000285/0.4215, allocations: 303.2 kB / 0.692 GB, free: 0.8672 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.4215, allocations: 1.062 kB / 0.692 GB, free: 0.8672 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.712e-05/0.4216, allocations: 31.69 kB / 0.692 GB, free: 0.8672 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001705/0.4217, allocations: 22.03 kB / 0.692 GB, free: 0.8594 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.582e-05/0.4218, allocations: 12.28 kB / 0.6921 GB, free: 0.8555 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005078/0.4223, allocations: 1.278 MB / 0.6933 GB, free: 15.63 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.4223, allocations: 5.844 kB / 0.6933 GB, free: 15.62 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004094/0.4227, allocations: 462.8 kB / 0.6938 GB, free: 15.36 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 8.084e-05/0.4228, allocations: 63.03 kB / 0.6938 GB, free: 15.33 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.274e-05/0.4228, allocations: 4.109 kB / 0.6938 GB, free: 15.33 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.56e-05/0.4229, allocations: 11.69 kB / 0.6938 GB, free: 15.33 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.167e-05/0.4229, allocations: 19.61 kB / 0.6938 GB, free: 15.33 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.234e-06/0.4229, allocations: 4.75 kB / 0.6938 GB, free: 15.33 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0002303/0.4232, allocations: 314.9 kB / 0.6942 GB, free: 15.24 MB / 0.573 GB Notification: Performance of sort global known variables: time 7e-08/0.4232, allocations: 0 / 0.6942 GB, free: 15.24 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0004358/0.4236, allocations: 107.8 kB / 0.6943 GB, free: 15.23 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (boundary_fore.rear.m_flow,terminal_rear.p,terminal_fore.p) * 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 (13): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000897/0.4245, allocations: 1.086 MB / 0.6953 GB, free: 14.41 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0004055/0.4249, allocations: 262.2 kB / 0.6956 GB, free: 14.3 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.4249, allocations: 3.938 kB / 0.6956 GB, free: 14.29 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001913/0.4251, allocations: 187.7 kB / 0.6957 GB, free: 14.18 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006164/0.4257, allocations: 160.9 kB / 0.6959 GB, free: 14.14 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003251/0.429, allocations: 3.485 MB / 0.6993 GB, free: 12.34 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001523/0.4291, allocations: 209.1 kB / 0.6995 GB, free: 12.24 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0002243/0.4293, allocations: 55.55 kB / 0.6996 GB, free: 12.23 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001874/0.4295, allocations: 159.1 kB / 0.6997 GB, free: 12.21 MB / 0.573 GB Notification: Performance of SimCode: time 1.753e-06/0.4295, allocations: 0 / 0.6997 GB, free: 12.21 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02816/0.4577, allocations: 12.58 MB / 0.712 GB, free: 6.918 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.02/7.477, allocations: 7.922 kB / 0.712 GB, free: 6.91 MB / 0.573 GB " [Timeout remaining time 652] (rm -f ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries_res.mat --tempDir=temp_ThermofluidStream_dev_ThermofluidStream_Undirected_Boundaries_Tests_TestBoundaries_fmu --startTime=0 --stopTime=10 --stepSize=0.01 --timeout=1200 --tolerance=1e-06 ThermofluidStream_dev_ThermofluidStream_Undirected_Boundaries_Tests_TestBoundaries.fmu > ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.pipe 2>&1) [Timeout 1260.0] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.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: 9.997758191078901]