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.001803/0.001803, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.00217/0.00217, allocations: 216.8 kB / 23.04 MB, free: 5.078 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.421/1.421, allocations: 230.6 MB / 256.8 MB, free: 8.008 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.7498/0.7498, allocations: 100.3 MB / 413.5 MB, free: 3.703 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: "" <> buildModelFMU(ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Undirected_Boundaries_Tests_TestBoundaries",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Undirected_Boundaries_Tests_TestBoundaries",fmuType="cs",version="2.0",platforms={"static"}) [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.002415/0.002415, allocations: 84.7 kB / 0.564 GB, free: 35.66 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1219/0.1243, allocations: 74.46 MB / 0.6367 GB, free: 7.695 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries): time 0.4649/0.5892, allocations: 147.6 MB / 0.7809 GB, free: 56 kB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003738/0.593, allocations: 3.158 MB / 0.784 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005383/0.5935, allocations: 35.34 kB / 0.784 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0007684/0.5943, allocations: 240.9 kB / 0.7842 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001023/0.5953, allocations: 393.5 kB / 0.7846 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001103/0.5964, allocations: 479.4 kB / 0.7851 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0007576/0.5972, allocations: 0.6898 MB / 0.7857 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002285/0.5974, allocations: 84.34 kB / 0.7858 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001068/0.5984, allocations: 0.5034 MB / 0.7863 GB, free: 15.28 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004125/0.5989, allocations: 296.8 kB / 0.7866 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 6.242e-05/0.5989, allocations: 25.44 kB / 0.7866 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001204/0.6001, allocations: 0.5838 MB / 0.7872 GB, free: 15.22 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 9.034e-05/0.6002, allocations: 72.23 kB / 0.7873 GB, free: 15.22 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002342/0.6004, allocations: 218.8 kB / 0.7875 GB, free: 15.22 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0009254/0.6014, allocations: 0.6957 MB / 0.7881 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.6014, allocations: 1.25 kB / 0.7881 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.322e-06/0.6014, allocations: 0 / 0.7881 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 8.627e-06/0.6014, allocations: 0 / 0.7881 GB, free: 15.16 MB / 0.5919 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.001145/0.6025, allocations: 0.7254 MB / 0.7889 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.686e-05/0.6026, allocations: 10.19 kB / 0.7889 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.216e-05/0.6026, allocations: 11.66 kB / 0.7889 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.668e-05/0.6026, allocations: 67.97 kB / 0.7889 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.449e-05/0.6027, allocations: 58.88 kB / 0.789 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006909/0.6034, allocations: 402.8 kB / 0.7894 GB, free: 14.4 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.145e-05/0.6034, allocations: 18.75 kB / 0.7894 GB, free: 14.4 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.725e-05/0.6035, allocations: 32.12 kB / 0.7894 GB, free: 14.4 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004962/0.604, allocations: 326 kB / 0.7897 GB, free: 14.28 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.422e-05/0.604, allocations: 3.938 kB / 0.7897 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.466e-05/0.604, allocations: 13.81 kB / 0.7898 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.897e-06/0.604, allocations: 7.312 kB / 0.7898 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003821/0.6044, allocations: 195.5 kB / 0.79 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00178/0.6062, allocations: 1.72 MB / 0.7916 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004376/0.6066, allocations: 169.2 kB / 0.7918 GB, free: 12.9 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001421/0.6068, allocations: 65.75 kB / 0.7919 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004386/0.6072, allocations: 74.66 kB / 0.7919 GB, free: 12.87 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.904e-05/0.6072, allocations: 39.67 kB / 0.792 GB, free: 12.83 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=15): time 1.523e-06/0.6072, allocations: 0 / 0.792 GB, free: 12.83 MB / 0.5919 GB Notification: Performance of matching and sorting (n=15): time 0.000817/0.6081, allocations: 280.4 kB / 0.7922 GB, free: 12.76 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.855e-05/0.6081, allocations: 110.9 kB / 0.7923 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004523/0.6086, allocations: 442.2 kB / 0.7928 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.547e-05/0.6086, allocations: 30.58 kB / 0.7928 GB, free: 12.47 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001601/0.6088, allocations: 247.6 kB / 0.793 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.796e-05/0.6088, allocations: 57.2 kB / 0.7931 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.143e-05/0.6089, allocations: 47.28 kB / 0.7931 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001603/0.6091, allocations: 357.8 kB / 0.7935 GB, free: 11.99 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001492/0.6092, allocations: 58.8 kB / 0.7935 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001776/0.6094, allocations: 110.5 kB / 0.7936 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003097/0.6097, allocations: 180.3 kB / 0.7938 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.6097, allocations: 1.031 kB / 0.7938 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004987/0.6102, allocations: 265.5 kB / 0.7941 GB, free: 11.78 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.6102, allocations: 7.719 kB / 0.7941 GB, free: 11.78 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.6102, allocations: 2.734 kB / 0.7941 GB, free: 11.78 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001486/0.6104, allocations: 34.22 kB / 0.7941 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001778/0.6106, allocations: 48.42 kB / 0.7941 GB, free: 11.76 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001044/0.6116, allocations: 1.285 MB / 0.7954 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000207/0.6118, allocations: 36.94 kB / 0.7954 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.804e-05/0.6118, allocations: 7.906 kB / 0.7954 GB, free: 10.52 MB / 0.5919 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.0001661/0.612, allocations: 151.5 kB / 0.7956 GB, free: 10.4 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001051/0.6121, allocations: 52.02 kB / 0.7956 GB, free: 10.37 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005394/0.6126, allocations: 251.1 kB / 0.7959 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.6126, allocations: 2.062 kB / 0.7959 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.6126, allocations: 2.438 kB / 0.7959 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.868e-06/0.6127, allocations: 0 / 0.7959 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004371/0.6131, allocations: 331.4 kB / 0.7962 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.6131, allocations: 0 / 0.7962 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001671/0.6133, allocations: 39.94 kB / 0.7962 GB, free: 10.13 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.65e-05/0.6133, allocations: 24.94 kB / 0.7963 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.602e-05/0.6134, allocations: 8.125 kB / 0.7963 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009674/0.6143, allocations: 1.288 MB / 0.7975 GB, free: 8.887 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.898e-06/0.6143, allocations: 5.141 kB / 0.7975 GB, free: 8.883 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006088/0.6149, allocations: 457.4 kB / 0.798 GB, free: 8.625 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 7.544e-05/0.615, allocations: 39.09 kB / 0.798 GB, free: 8.602 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.645e-05/0.6151, allocations: 13.67 kB / 0.798 GB, free: 8.594 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001792/0.6152, allocations: 9.891 kB / 0.798 GB, free: 8.594 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.163e-05/0.6153, allocations: 13.45 kB / 0.798 GB, free: 8.594 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.3e-05/0.6153, allocations: 11.73 kB / 0.798 GB, free: 8.59 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003106/0.6156, allocations: 308.8 kB / 0.7983 GB, free: 8.504 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.6156, allocations: 0 / 0.7983 GB, free: 8.504 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004606/0.6161, allocations: 101.3 kB / 0.7984 GB, free: 8.492 MB / 0.5919 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.001139/0.6172, allocations: 1.087 MB / 0.7995 GB, free: 7.676 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0005377/0.6178, allocations: 258.5 kB / 0.7997 GB, free: 7.555 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.6178, allocations: 1.625 kB / 0.7997 GB, free: 7.555 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003195/0.6181, allocations: 187.1 kB / 0.7999 GB, free: 7.438 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007009/0.6188, allocations: 113.8 kB / 0.8 GB, free: 7.414 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004662/0.6234, allocations: 3.56 MB / 0.8035 GB, free: 5.547 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004542/0.6239, allocations: 0.8112 MB / 0.8043 GB, free: 4.848 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002055/0.6241, allocations: 64.62 kB / 0.8044 GB, free: 4.832 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001548/0.6243, allocations: 153.1 kB / 0.8045 GB, free: 4.824 MB / 0.5919 GB Notification: Performance of SimCode: time 7.91e-07/0.6243, allocations: 0 / 0.8045 GB, free: 4.824 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03854/0.6628, allocations: 10.39 MB / 0.8147 GB, free: 0.8477 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.16/12.82, allocations: 15.41 kB / 0.8147 GB, free: 0.8359 MB / 0.5919 GB " [Timeout remaining time 647] (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/jenkins1/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: 16.33069131197408]