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.001498/0.001498, allocations: 78.64 kB / 19.18 MB, free: 2.527 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.001759/0.001759, allocations: 167.1 kB / 22.46 MB, free: 5.363 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.445/1.445, allocations: 177.1 MB / 202.8 MB, free: 9.184 MB / 190.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.9885/0.9885, allocations: 116 MB / 375.2 MB, free: 7.543 MB / 350.1 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: translateModel(ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|boundary_rear.fore.m_flow|terminal_fore.p|terminal_rear.p",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries") translateModel(ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|boundary_rear.fore.m_flow|terminal_fore.p|terminal_rear.p",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 0.5537 GB, free: 13.79 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.119e-05/3.293e-05, allocations: 9.375 kB / 0.5538 GB, free: 13.78 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries): time 0.1718/0.1718, allocations: 127 MB / 0.6778 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.004664/0.1765, allocations: 2.898 MB / 0.6806 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005288/0.177, allocations: 39.62 kB / 0.6807 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0008661/0.1779, allocations: 222.3 kB / 0.6809 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001257/0.1791, allocations: 425.1 kB / 0.6813 GB, free: 10.69 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001271/0.1804, allocations: 466 kB / 0.6817 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.00104/0.1814, allocations: 0.7542 MB / 0.6825 GB, free: 9.473 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000282/0.1817, allocations: 93.58 kB / 0.6825 GB, free: 9.383 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00161/0.1833, allocations: 0.6071 MB / 0.6831 GB, free: 8.773 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005311/0.1838, allocations: 275.3 kB / 0.6834 GB, free: 8.504 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 7.181e-05/0.1839, allocations: 27.94 kB / 0.6834 GB, free: 8.477 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001051/0.185, allocations: 466.9 kB / 0.6839 GB, free: 8.02 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001523/0.1851, allocations: 75.62 kB / 0.6839 GB, free: 7.945 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002407/0.1854, allocations: 151.6 kB / 0.6841 GB, free: 7.797 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001343/0.1867, allocations: 0.6852 MB / 0.6848 GB, free: 7.109 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.1867, allocations: 0 / 0.6848 GB, free: 7.109 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.062e-06/0.1867, allocations: 0 / 0.6848 GB, free: 7.109 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.191e-05/0.1867, allocations: 0 / 0.6848 GB, free: 7.109 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.001471/0.1882, allocations: 0.7263 MB / 0.6855 GB, free: 6.352 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/0.1882, allocations: 12.03 kB / 0.6855 GB, free: 6.34 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001297/0.1884, allocations: 60.56 kB / 0.6855 GB, free: 6.281 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008845/0.1893, allocations: 403.5 kB / 0.6859 GB, free: 5.855 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.368e-05/0.1893, allocations: 25.03 kB / 0.6859 GB, free: 5.832 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.928e-05/0.1893, allocations: 32.31 kB / 0.686 GB, free: 5.801 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006119/0.19, allocations: 322.7 kB / 0.6863 GB, free: 5.453 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.418e-05/0.19, allocations: 3.938 kB / 0.6863 GB, free: 5.449 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.941e-05/0.19, allocations: 12 kB / 0.6863 GB, free: 5.438 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.067e-06/0.19, allocations: 4 kB / 0.6863 GB, free: 5.434 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004866/0.1905, allocations: 202.4 kB / 0.6865 GB, free: 5.238 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001981/0.1925, allocations: 1.354 MB / 0.6878 GB, free: 3.82 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005263/0.193, allocations: 163.7 kB / 0.688 GB, free: 3.633 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001738/0.1932, allocations: 66.64 kB / 0.688 GB, free: 3.559 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004795/0.1937, allocations: 79.78 kB / 0.6881 GB, free: 3.48 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.178e-05/0.1937, allocations: 46.48 kB / 0.6882 GB, free: 3.426 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=15): time 1.583e-06/0.1937, allocations: 0 / 0.6882 GB, free: 3.426 MB / 0.5919 GB Notification: Performance of matching and sorting (n=15): time 0.0009516/0.1946, allocations: 270 kB / 0.6884 GB, free: 3.152 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.662e-05/0.1947, allocations: 110.8 kB / 0.6885 GB, free: 3.02 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004911/0.1952, allocations: 385.9 kB / 0.6889 GB, free: 2.637 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.285e-05/0.1952, allocations: 29.64 kB / 0.6889 GB, free: 2.602 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002352/0.1955, allocations: 264.4 kB / 0.6892 GB, free: 2.336 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 6.096e-05/0.1955, allocations: 59.62 kB / 0.6892 GB, free: 2.277 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.544e-05/0.1956, allocations: 45.7 kB / 0.6893 GB, free: 2.227 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001847/0.1958, allocations: 346.8 kB / 0.6896 GB, free: 1.879 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001667/0.196, allocations: 59.95 kB / 0.6897 GB, free: 1.82 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002258/0.1962, allocations: 115.2 kB / 0.6898 GB, free: 1.688 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003876/0.1966, allocations: 177.9 kB / 0.6899 GB, free: 1.492 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.1966, allocations: 0 / 0.6899 GB, free: 1.492 MB / 0.5919 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005919/0.1972, allocations: 265.9 kB / 0.6902 GB, free: 1.223 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.063e-05/0.1972, allocations: 8 kB / 0.6902 GB, free: 1.215 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.1972, allocations: 0 / 0.6902 GB, free: 1.215 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001715/0.1974, allocations: 24.84 kB / 0.6902 GB, free: 1.188 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002052/0.1976, allocations: 48.05 kB / 0.6903 GB, free: 1.141 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2592/0.4568, allocations: 1.259 MB / 0.6915 GB, free: 142.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002436/0.4571, allocations: 24.05 kB / 0.6915 GB, free: 142.5 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.127e-05/0.4571, allocations: 7 kB / 0.6915 GB, free: 142.5 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.0001869/0.4573, allocations: 154.1 kB / 0.6917 GB, free: 142.4 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001294/0.4574, allocations: 41.61 kB / 0.6917 GB, free: 142.4 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006606/0.4581, allocations: 256.6 kB / 0.692 GB, free: 142.4 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.4581, allocations: 2.594 kB / 0.692 GB, free: 142.4 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.4581, allocations: 4.312 kB / 0.692 GB, free: 142.4 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.4581, allocations: 2.109 kB / 0.692 GB, free: 142.4 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003979/0.4585, allocations: 268.5 kB / 0.6922 GB, free: 142.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.4585, allocations: 0 / 0.6922 GB, free: 142.2 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001857/0.4587, allocations: 36.64 kB / 0.6923 GB, free: 142.2 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001015/0.4588, allocations: 23.25 kB / 0.6923 GB, free: 142.2 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.924e-05/0.4588, allocations: 3.828 kB / 0.6923 GB, free: 142.2 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006603/0.4595, allocations: 1.261 MB / 0.6935 GB, free: 141 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.4595, allocations: 2.109 kB / 0.6935 GB, free: 141 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006277/0.4601, allocations: 452.4 kB / 0.694 GB, free: 140.8 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001081/0.4602, allocations: 52.89 kB / 0.694 GB, free: 140.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.622e-05/0.4602, allocations: 11.38 kB / 0.694 GB, free: 140.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001887/0.4604, allocations: 10.64 kB / 0.694 GB, free: 140.8 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.099e-05/0.4605, allocations: 17.02 kB / 0.694 GB, free: 140.8 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.338e-05/0.4605, allocations: 5.578 kB / 0.694 GB, free: 140.8 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003013/0.4608, allocations: 275.6 kB / 0.6943 GB, free: 140.7 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8.1e-08/0.4608, allocations: 0 / 0.6943 GB, free: 140.7 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0005032/0.4613, allocations: 112.4 kB / 0.6944 GB, free: 140.7 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.0002948/0.4616, allocations: 201.1 kB / 0.6946 GB, free: 140.6 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0006017/0.4622, allocations: 260.2 kB / 0.6949 GB, free: 140.5 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.4622, allocations: 0 / 0.6949 GB, free: 140.5 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003162/0.4625, allocations: 187.9 kB / 0.695 GB, free: 140.3 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008361/0.4634, allocations: 125.3 kB / 0.6952 GB, free: 140.3 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001287/0.4646, allocations: 0.7585 MB / 0.6959 GB, free: 139.9 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002167/0.4649, allocations: 215.9 kB / 0.6961 GB, free: 139.8 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001837/0.465, allocations: 59.58 kB / 0.6962 GB, free: 139.7 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.65e-05/0.4651, allocations: 30.97 kB / 0.6962 GB, free: 139.7 MB / 0.5919 GB Notification: Performance of SimCode: time 7.01e-07/0.4651, allocations: 0 / 0.6962 GB, free: 139.7 MB / 0.5919 GB Notification: Performance of Templates: time 0.01299/0.4781, allocations: 5.639 MB / 0.7017 GB, free: 138.6 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.makefile [Timeout 660] (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 & ./ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.pipe 2>&1) [Timeout 1200] 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: 6.09894984960556]