Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink.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.001397/0.001397, allocations: 88.72 kB / 19.44 MB, free: 356 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.001603/0.001603, allocations: 157.6 kB / 22.75 MB, free: 1.684 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.487/1.487, allocations: 177.1 MB / 203.1 MB, free: 5.605 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.025/1.025, allocations: 118.6 MB / 378.2 MB, free: 1.48 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.Boundaries.Tests.SourceSink,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|source.outlet.m_flow|source1.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink") translateModel(ThermofluidStream.Boundaries.Tests.SourceSink,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|source.outlet.m_flow|source1.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.362e-06/1.362e-06, allocations: 0 / 482.9 MB, free: 8.32 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.093e-05/2.229e-05, allocations: 7.438 kB / 482.9 MB, free: 8.312 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Boundaries.Tests.SourceSink): time 0.1809/0.181, allocations: 122.7 MB / 0.5914 GB, free: 5.902 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.002268/0.1832, allocations: 1.464 MB / 0.5929 GB, free: 4.434 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001851/0.1834, allocations: 35.69 kB / 0.5929 GB, free: 4.398 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0005169/0.1839, allocations: 131 kB / 0.593 GB, free: 4.27 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0005353/0.1845, allocations: 226.5 kB / 0.5932 GB, free: 4.047 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005484/0.185, allocations: 215.1 kB / 0.5934 GB, free: 3.836 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0006113/0.1856, allocations: 450 kB / 0.5939 GB, free: 3.395 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001309/0.1857, allocations: 40.84 kB / 0.5939 GB, free: 3.355 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006371/0.1864, allocations: 295 kB / 0.5942 GB, free: 3.066 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002327/0.1866, allocations: 119.6 kB / 0.5943 GB, free: 2.949 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 2.797e-05/0.1866, allocations: 11.94 kB / 0.5943 GB, free: 2.938 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004242/0.1871, allocations: 219.5 kB / 0.5945 GB, free: 2.723 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 6.689e-05/0.1871, allocations: 35.78 kB / 0.5946 GB, free: 2.688 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 9.853e-05/0.1872, allocations: 67.78 kB / 0.5946 GB, free: 2.621 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0006023/0.1878, allocations: 350.7 kB / 0.595 GB, free: 2.277 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.1878, allocations: 0 / 0.595 GB, free: 2.277 MB / 0.5105 GB Notification: Performance of FrontEnd: time 9.72e-07/0.1878, allocations: 0 / 0.595 GB, free: 2.277 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.069e-06/0.1878, allocations: 4 kB / 0.595 GB, free: 2.273 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0008863/0.1887, allocations: 0.5201 MB / 0.5955 GB, free: 1.719 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.513e-05/0.1888, allocations: 15.97 kB / 0.5955 GB, free: 1.703 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002909/0.1891, allocations: 44.7 kB / 0.5955 GB, free: 1.66 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007038/0.1898, allocations: 371.8 kB / 0.5959 GB, free: 1.27 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.801e-05/0.1898, allocations: 8.609 kB / 0.5959 GB, free: 1.262 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.845e-05/0.1898, allocations: 12.38 kB / 0.5959 GB, free: 1.25 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00027/0.1901, allocations: 145.6 kB / 0.596 GB, free: 1.094 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.1901, allocations: 192 / 0.596 GB, free: 1.094 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.078e-05/0.1901, allocations: 12.11 kB / 0.596 GB, free: 1.082 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/0.1901, allocations: 4 kB / 0.5961 GB, free: 1.078 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001477/0.1903, allocations: 71.91 kB / 0.5961 GB, free: 1.008 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009234/0.1912, allocations: 0.6449 MB / 0.5968 GB, free: 328 kB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001566/0.1914, allocations: 73.33 kB / 0.5968 GB, free: 236 kB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.577e-05/0.1914, allocations: 33.7 kB / 0.5969 GB, free: 196 kB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 7.965e-05/0.1915, allocations: 15.98 kB / 0.5969 GB, free: 180 kB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.597e-05/0.1916, allocations: 34.5 kB / 0.5969 GB, free: 136 kB / 0.5105 GB Notification: Performance of pre-optimization done (n=8): time 1.042e-06/0.1916, allocations: 0 / 0.5969 GB, free: 136 kB / 0.5105 GB Notification: Performance of matching and sorting (n=8): time 0.0007094/0.1923, allocations: 195 kB / 0.5971 GB, free: 15.93 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.238e-05/0.1923, allocations: 77.11 kB / 0.5972 GB, free: 15.84 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003905/0.1927, allocations: 301.7 kB / 0.5974 GB, free: 15.54 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.444e-05/0.1927, allocations: 29.7 kB / 0.5975 GB, free: 15.5 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001785/0.1929, allocations: 180.2 kB / 0.5976 GB, free: 15.32 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 4.491e-05/0.193, allocations: 31.73 kB / 0.5977 GB, free: 15.29 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.507e-05/0.193, allocations: 21.67 kB / 0.5977 GB, free: 15.26 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002245/0.1932, allocations: 350.7 kB / 0.598 GB, free: 14.91 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.886e-05/0.1933, allocations: 19.94 kB / 0.5981 GB, free: 14.89 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.954e-05/0.1934, allocations: 47.42 kB / 0.5981 GB, free: 14.83 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001398/0.1935, allocations: 87.72 kB / 0.5982 GB, free: 14.73 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.1935, allocations: 0 / 0.5982 GB, free: 14.73 MB / 0.5261 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003145/0.1938, allocations: 155.1 kB / 0.5983 GB, free: 14.57 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.1939, allocations: 4 kB / 0.5983 GB, free: 14.56 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.1939, allocations: 0 / 0.5983 GB, free: 14.56 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002228/0.1941, allocations: 45.77 kB / 0.5984 GB, free: 14.51 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.323e-05/0.1941, allocations: 11.98 kB / 0.5984 GB, free: 14.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002519/0.1967, allocations: 2.513 MB / 0.6008 GB, free: 11.78 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.003e-05/0.1967, allocations: 11.83 kB / 0.6009 GB, free: 11.77 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.161e-05/0.1967, allocations: 4.094 kB / 0.6009 GB, free: 11.77 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001492/0.1969, allocations: 137.8 kB / 0.601 GB, free: 11.62 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.348e-05/0.197, allocations: 39.8 kB / 0.601 GB, free: 11.58 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003537/0.1973, allocations: 155.2 kB / 0.6012 GB, free: 11.41 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.1973, allocations: 0 / 0.6012 GB, free: 11.41 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.1973, allocations: 8.094 kB / 0.6012 GB, free: 11.4 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.295e-06/0.1973, allocations: 0 / 0.6012 GB, free: 11.4 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006221/0.198, allocations: 480.6 kB / 0.6016 GB, free: 10.88 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.568e-06/0.198, allocations: 4 kB / 0.6016 GB, free: 10.88 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.637e-05/0.198, allocations: 0 / 0.6016 GB, free: 10.88 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001546/0.1981, allocations: 45.81 kB / 0.6017 GB, free: 10.83 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.239e-05/0.1982, allocations: 0 / 0.6017 GB, free: 10.83 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002623/0.2008, allocations: 2.524 MB / 0.6042 GB, free: 8.098 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.2008, allocations: 0 / 0.6042 GB, free: 8.098 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004294/0.2012, allocations: 329.9 kB / 0.6045 GB, free: 7.746 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 6.861e-05/0.2013, allocations: 36.08 kB / 0.6045 GB, free: 7.711 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.357e-05/0.2013, allocations: 0 / 0.6045 GB, free: 7.711 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000131/0.2014, allocations: 7.938 kB / 0.6045 GB, free: 7.703 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.714e-05/0.2015, allocations: 15.92 kB / 0.6045 GB, free: 7.688 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.01e-06/0.2015, allocations: 0 / 0.6045 GB, free: 7.688 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0002632/0.2017, allocations: 223.2 kB / 0.6047 GB, free: 7.473 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1e-07/0.2017, allocations: 4.125 kB / 0.6047 GB, free: 7.469 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0004234/0.2022, allocations: 55.89 kB / 0.6048 GB, free: 7.414 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (sink1.inlet.m_flow,sink.inlet.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 (4): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (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.0002646/0.2024, allocations: 155.4 kB / 0.6049 GB, free: 7.254 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0004936/0.2029, allocations: 284.8 kB / 0.6052 GB, free: 6.953 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.2029, allocations: 128 / 0.6052 GB, free: 6.953 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0003374/0.2033, allocations: 261.2 kB / 0.6055 GB, free: 6.672 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006041/0.2039, allocations: 61.77 kB / 0.6055 GB, free: 6.613 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001075/0.2049, allocations: 0.5491 MB / 0.6061 GB, free: 6.031 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002108/0.2051, allocations: 164.7 kB / 0.6062 GB, free: 5.852 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 7.208e-05/0.2052, allocations: 27.16 kB / 0.6062 GB, free: 5.828 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.017e-05/0.2053, allocations: 28.48 kB / 0.6063 GB, free: 5.801 MB / 0.5261 GB Notification: Performance of SimCode: time 4.1e-07/0.2053, allocations: 0 / 0.6063 GB, free: 5.801 MB / 0.5261 GB Notification: Performance of Templates: time 0.00933/0.2146, allocations: 3.531 MB / 0.6097 GB, free: 2.355 MB / 0.5261 GB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink.pipe >> ../files/ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink.sim & ./ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Boundaries.Tests.SourceSink_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink.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: 5.7560904250713065]