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.001807/0.001807, allocations: 93.47 kB / 19.44 MB, free: 340 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.002314/0.002314, allocations: 169.2 kB / 22.76 MB, free: 1.664 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.583/1.583, allocations: 177.1 MB / 203.1 MB, free: 5.621 MB / 186.7 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 1.03/1.03, allocations: 118.6 MB / 378.2 MB, free: 1.449 MB / 346.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.4.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.282e-06/1.282e-06, allocations: 0 / 482.9 MB, free: 8.289 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.589e-05/2.717e-05, allocations: 2.312 kB / 482.9 MB, free: 8.285 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries): time 0.2072/0.2072, allocations: 140.5 MB / 0.6088 GB, free: 4 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.004959/0.2121, allocations: 3.295 MB / 0.612 GB, free: 0.6953 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004298/0.2126, allocations: 39.62 kB / 0.6121 GB, free: 0.6562 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0007391/0.2133, allocations: 222.3 kB / 0.6123 GB, free: 448 kB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.001056/0.2144, allocations: 425 kB / 0.6127 GB, free: 20 kB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.001234/0.2156, allocations: 474 kB / 0.6131 GB, free: 15.55 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.001013/0.2166, allocations: 0.7619 MB / 0.6139 GB, free: 14.79 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002241/0.2168, allocations: 97.61 kB / 0.614 GB, free: 14.69 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001558/0.2184, allocations: 0.6188 MB / 0.6146 GB, free: 14.07 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004775/0.2189, allocations: 279.2 kB / 0.6149 GB, free: 13.8 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 5.812e-05/0.2189, allocations: 28 kB / 0.6149 GB, free: 13.77 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001018/0.22, allocations: 463 kB / 0.6153 GB, free: 13.32 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.0001161/0.2201, allocations: 75.58 kB / 0.6154 GB, free: 13.24 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.0001975/0.2203, allocations: 147.6 kB / 0.6155 GB, free: 13.1 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.001135/0.2214, allocations: 0.693 MB / 0.6162 GB, free: 12.4 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 6.241e-06/0.2214, allocations: 7.984 kB / 0.6162 GB, free: 12.39 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.282e-06/0.2214, allocations: 0 / 0.6162 GB, free: 12.39 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 7.955e-06/0.2214, allocations: 0 / 0.6162 GB, free: 12.39 MB / 0.5417 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.001412/0.2228, allocations: 0.8648 MB / 0.6171 GB, free: 11.49 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.2229, allocations: 8.031 kB / 0.6171 GB, free: 11.48 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001454/0.223, allocations: 80.56 kB / 0.6171 GB, free: 11.41 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008216/0.2238, allocations: 454.3 kB / 0.6176 GB, free: 10.93 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.62e-05/0.2239, allocations: 17.03 kB / 0.6176 GB, free: 10.92 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.736e-05/0.2239, allocations: 32.31 kB / 0.6176 GB, free: 10.89 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006047/0.2245, allocations: 340.1 kB / 0.618 GB, free: 10.51 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.83e-05/0.2245, allocations: 15.88 kB / 0.618 GB, free: 10.5 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.792e-05/0.2246, allocations: 8 kB / 0.618 GB, free: 10.49 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.078e-05/0.2246, allocations: 8 kB / 0.618 GB, free: 10.48 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003919/0.225, allocations: 163.7 kB / 0.6181 GB, free: 10.32 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002248/0.2272, allocations: 1.855 MB / 0.62 GB, free: 8.391 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004996/0.2277, allocations: 193.1 kB / 0.6201 GB, free: 8.164 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001557/0.2279, allocations: 71.14 kB / 0.6202 GB, free: 8.082 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004266/0.2283, allocations: 59.92 kB / 0.6203 GB, free: 8.023 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.803e-05/0.2283, allocations: 41.38 kB / 0.6203 GB, free: 7.973 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=15): time 1.283e-06/0.2283, allocations: 0 / 0.6203 GB, free: 7.973 MB / 0.5417 GB Notification: Performance of matching and sorting (n=15): time 0.0008758/0.2292, allocations: 277.1 kB / 0.6206 GB, free: 7.691 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.193e-05/0.2293, allocations: 110.8 kB / 0.6207 GB, free: 7.559 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005975/0.2299, allocations: 0.5027 MB / 0.6212 GB, free: 7.039 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.443e-05/0.2299, allocations: 25.7 kB / 0.6212 GB, free: 7.008 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004079/0.2303, allocations: 331.2 kB / 0.6215 GB, free: 6.68 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 6.518e-05/0.2304, allocations: 67.61 kB / 0.6216 GB, free: 6.613 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.491e-05/0.2305, allocations: 55.36 kB / 0.6216 GB, free: 6.551 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0003141/0.2308, allocations: 0.5352 MB / 0.6221 GB, free: 6.004 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001437/0.231, allocations: 59.97 kB / 0.6222 GB, free: 5.945 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000213/0.2312, allocations: 127.3 kB / 0.6223 GB, free: 5.793 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003521/0.2315, allocations: 185.7 kB / 0.6225 GB, free: 5.582 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.2315, allocations: 0 / 0.6225 GB, free: 5.582 MB / 0.5417 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005441/0.2321, allocations: 272.8 kB / 0.6228 GB, free: 5.305 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.2321, allocations: 4 kB / 0.6228 GB, free: 5.301 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/0.2321, allocations: 4 kB / 0.6228 GB, free: 5.297 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001734/0.2323, allocations: 27.67 kB / 0.6228 GB, free: 5.266 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001932/0.2325, allocations: 56.03 kB / 0.6228 GB, free: 5.211 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001534/0.234, allocations: 1.775 MB / 0.6246 GB, free: 3.312 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001609/0.2342, allocations: 27.78 kB / 0.6246 GB, free: 3.285 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.459e-05/0.2342, allocations: 12 kB / 0.6246 GB, free: 3.273 MB / 0.5417 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.0002105/0.2344, allocations: 200.4 kB / 0.6248 GB, free: 3.066 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001188/0.2345, allocations: 47.72 kB / 0.6249 GB, free: 3.02 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006092/0.2351, allocations: 243.7 kB / 0.6251 GB, free: 2.77 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.015e-06/0.2351, allocations: 4 kB / 0.6251 GB, free: 2.766 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.2351, allocations: 3.938 kB / 0.6251 GB, free: 2.762 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.878e-06/0.2351, allocations: 0 / 0.6251 GB, free: 2.762 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005193/0.2357, allocations: 348.4 kB / 0.6254 GB, free: 2.387 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.389e-06/0.2357, allocations: 4 kB / 0.6254 GB, free: 2.383 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001717/0.2358, allocations: 39.98 kB / 0.6255 GB, free: 2.344 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001083/0.2359, allocations: 23.67 kB / 0.6255 GB, free: 2.316 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.164e-05/0.236, allocations: 4 kB / 0.6255 GB, free: 2.312 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001472/0.2374, allocations: 1.79 MB / 0.6272 GB, free: 408 kB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.2374, allocations: 8.109 kB / 0.6272 GB, free: 400 kB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007764/0.2382, allocations: 0.5279 MB / 0.6278 GB, free: 15.84 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001141/0.2383, allocations: 51.69 kB / 0.6278 GB, free: 15.79 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.202e-05/0.2384, allocations: 8 kB / 0.6278 GB, free: 15.78 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001626/0.2385, allocations: 7.984 kB / 0.6278 GB, free: 15.77 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.887e-05/0.2386, allocations: 11.98 kB / 0.6278 GB, free: 15.76 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.3e-05/0.2386, allocations: 4 kB / 0.6278 GB, free: 15.75 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0004078/0.239, allocations: 346.8 kB / 0.6282 GB, free: 15.41 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.01e-07/0.239, allocations: 4 kB / 0.6282 GB, free: 15.41 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0004827/0.2395, allocations: 111.7 kB / 0.6283 GB, free: 15.3 MB / 0.5573 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.0004803/0.24, allocations: 194.9 kB / 0.6285 GB, free: 15.1 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0006357/0.2406, allocations: 323 kB / 0.6288 GB, free: 14.77 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/0.2406, allocations: 4 kB / 0.6288 GB, free: 14.76 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0003973/0.241, allocations: 253.6 kB / 0.629 GB, free: 14.49 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008793/0.2419, allocations: 137.7 kB / 0.6292 GB, free: 14.36 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001465/0.2434, allocations: 0.7959 MB / 0.6299 GB, free: 13.53 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002511/0.2436, allocations: 219.7 kB / 0.6301 GB, free: 13.29 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0001639/0.2438, allocations: 50.23 kB / 0.6302 GB, free: 13.25 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.864e-05/0.2439, allocations: 36.48 kB / 0.6302 GB, free: 13.21 MB / 0.5573 GB Notification: Performance of SimCode: time 4.61e-07/0.2439, allocations: 0 / 0.6302 GB, free: 13.21 MB / 0.5573 GB Notification: Performance of Templates: time 0.01412/0.258, allocations: 5.77 MB / 0.6359 GB, free: 7.605 MB / 0.5573 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=240 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.pipe 2>&1) [Timeout 240] 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.437929200939834]