Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_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.002186/0.002186, allocations: 88.16 kB / 19.44 MB, free: 192 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.002087/0.002087, allocations: 165.3 kB / 22.76 MB, free: 1.523 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.554/1.554, allocations: 177.1 MB / 203.1 MB, free: 5.617 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.003/1.003, allocations: 118.6 MB / 378.2 MB, free: 1.492 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.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_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_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 482.9 MB, free: 8.297 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.397e-05/2.543e-05, allocations: 4.984 kB / 482.9 MB, free: 8.293 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries): time 0.2045/0.2045, allocations: 140.6 MB / 0.6088 GB, free: 4.051 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.005269/0.2098, allocations: 3.303 MB / 0.6121 GB, free: 0.7383 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004639/0.2102, allocations: 35.69 kB / 0.6121 GB, free: 0.7031 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0008133/0.211, allocations: 222.3 kB / 0.6123 GB, free: 496 kB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.001427/0.2125, allocations: 433.1 kB / 0.6127 GB, free: 60 kB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.00132/0.2138, allocations: 454.2 kB / 0.6132 GB, free: 15.61 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.0009763/0.2148, allocations: 0.7735 MB / 0.6139 GB, free: 14.83 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002236/0.215, allocations: 97.62 kB / 0.614 GB, free: 14.73 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001428/0.2164, allocations: 0.6071 MB / 0.6146 GB, free: 14.12 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005083/0.2169, allocations: 279.2 kB / 0.6149 GB, free: 13.85 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 5.837e-05/0.217, allocations: 24 kB / 0.6149 GB, free: 13.83 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001133/0.2181, allocations: 470.9 kB / 0.6153 GB, free: 13.37 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.0001287/0.2182, allocations: 75.64 kB / 0.6154 GB, free: 13.29 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.0002194/0.2185, allocations: 147.6 kB / 0.6155 GB, free: 13.15 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.001151/0.2196, allocations: 0.7007 MB / 0.6162 GB, free: 12.45 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.2196, allocations: 0 / 0.6162 GB, free: 12.45 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.242e-06/0.2196, allocations: 0 / 0.6162 GB, free: 12.45 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 7.554e-06/0.2196, allocations: 0 / 0.6162 GB, free: 12.45 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.001466/0.2211, allocations: 0.8687 MB / 0.6171 GB, free: 11.54 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.941e-05/0.2211, allocations: 8.031 kB / 0.6171 GB, free: 11.53 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001564/0.2213, allocations: 84.55 kB / 0.6172 GB, free: 11.45 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008366/0.2221, allocations: 450.3 kB / 0.6176 GB, free: 10.98 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.118e-05/0.2221, allocations: 21.03 kB / 0.6176 GB, free: 10.96 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.966e-05/0.2222, allocations: 36.31 kB / 0.6176 GB, free: 10.93 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005917/0.2228, allocations: 336.1 kB / 0.618 GB, free: 10.55 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.629e-05/0.2228, allocations: 3.938 kB / 0.618 GB, free: 10.55 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.136e-05/0.2228, allocations: 12 kB / 0.618 GB, free: 10.54 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.747e-06/0.2229, allocations: 4 kB / 0.618 GB, free: 10.54 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003951/0.2233, allocations: 163.7 kB / 0.6181 GB, free: 10.38 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002474/0.2257, allocations: 1.862 MB / 0.62 GB, free: 8.438 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005393/0.2263, allocations: 189.2 kB / 0.6201 GB, free: 8.215 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001481/0.2264, allocations: 63.14 kB / 0.6202 GB, free: 8.141 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004325/0.2268, allocations: 63.91 kB / 0.6203 GB, free: 8.078 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.788e-05/0.2269, allocations: 45.33 kB / 0.6203 GB, free: 8.023 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=15): time 1.472e-06/0.2269, allocations: 4 kB / 0.6203 GB, free: 8.02 MB / 0.5417 GB Notification: Performance of matching and sorting (n=15): time 0.0008955/0.2278, allocations: 273 kB / 0.6206 GB, free: 7.742 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.04e-05/0.2279, allocations: 102.8 kB / 0.6207 GB, free: 7.617 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000588/0.2285, allocations: 0.5026 MB / 0.6212 GB, free: 7.098 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.748e-05/0.2285, allocations: 29.7 kB / 0.6212 GB, free: 7.062 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002823/0.2288, allocations: 335.2 kB / 0.6215 GB, free: 6.73 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 6.519e-05/0.2288, allocations: 59.48 kB / 0.6216 GB, free: 6.672 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001017/0.2289, allocations: 59.36 kB / 0.6216 GB, free: 6.605 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0003036/0.2292, allocations: 0.5391 MB / 0.6221 GB, free: 6.055 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001401/0.2294, allocations: 51.97 kB / 0.6222 GB, free: 6.004 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002016/0.2296, allocations: 121.8 kB / 0.6223 GB, free: 5.855 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003525/0.2299, allocations: 193.6 kB / 0.6225 GB, free: 5.637 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.2299, allocations: 8 kB / 0.6225 GB, free: 5.629 MB / 0.5417 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005299/0.2305, allocations: 268.8 kB / 0.6228 GB, free: 5.355 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.2305, allocations: 4 kB / 0.6228 GB, free: 5.352 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.2305, allocations: 4 kB / 0.6228 GB, free: 5.348 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001809/0.2307, allocations: 23.67 kB / 0.6228 GB, free: 5.32 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001944/0.2309, allocations: 56.03 kB / 0.6228 GB, free: 5.266 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001536/0.2324, allocations: 1.779 MB / 0.6246 GB, free: 3.363 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000145/0.2326, allocations: 23.78 kB / 0.6246 GB, free: 3.34 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.389e-05/0.2326, allocations: 12 kB / 0.6246 GB, free: 3.328 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.000218/0.2328, allocations: 200.6 kB / 0.6248 GB, free: 3.121 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001147/0.2329, allocations: 55.7 kB / 0.6249 GB, free: 3.066 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005799/0.2335, allocations: 240.2 kB / 0.6251 GB, free: 2.82 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.2335, allocations: 0 / 0.6251 GB, free: 2.82 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.2335, allocations: 3.938 kB / 0.6251 GB, free: 2.816 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.2335, allocations: 4 kB / 0.6251 GB, free: 2.812 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005308/0.234, allocations: 356.3 kB / 0.6254 GB, free: 2.43 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.234, allocations: 0 / 0.6254 GB, free: 2.43 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001588/0.2342, allocations: 27.98 kB / 0.6255 GB, free: 2.402 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001111/0.2343, allocations: 27.67 kB / 0.6255 GB, free: 2.371 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.701e-05/0.2343, allocations: 4 kB / 0.6255 GB, free: 2.367 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001555/0.2359, allocations: 1.794 MB / 0.6272 GB, free: 460 kB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.2359, allocations: 0 / 0.6272 GB, free: 460 kB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007566/0.2366, allocations: 0.5368 MB / 0.6278 GB, free: 15.89 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001322/0.2368, allocations: 51.7 kB / 0.6278 GB, free: 15.84 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.505e-05/0.2368, allocations: 0 / 0.6278 GB, free: 15.84 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000172/0.237, allocations: 11.98 kB / 0.6278 GB, free: 15.82 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.736e-05/0.237, allocations: 11.98 kB / 0.6278 GB, free: 15.81 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.783e-05/0.2371, allocations: 16.05 kB / 0.6279 GB, free: 15.8 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0003897/0.2375, allocations: 334.8 kB / 0.6282 GB, free: 15.47 MB / 0.5573 GB Notification: Performance of sort global known variables: time 6e-08/0.2375, allocations: 0 / 0.6282 GB, free: 15.47 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0004916/0.2379, allocations: 111.7 kB / 0.6283 GB, free: 15.36 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.000345/0.2383, allocations: 206.9 kB / 0.6285 GB, free: 15.15 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0006326/0.2389, allocations: 319.1 kB / 0.6288 GB, free: 14.82 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.2389, allocations: 3.938 kB / 0.6288 GB, free: 14.81 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0003875/0.2393, allocations: 257.6 kB / 0.629 GB, free: 14.54 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008565/0.2402, allocations: 134 kB / 0.6292 GB, free: 14.41 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001465/0.2416, allocations: 0.7849 MB / 0.6299 GB, free: 13.59 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002488/0.2419, allocations: 215.8 kB / 0.6301 GB, free: 13.35 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0001646/0.242, allocations: 57.56 kB / 0.6302 GB, free: 13.3 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.852e-05/0.2421, allocations: 36.5 kB / 0.6302 GB, free: 13.27 MB / 0.5573 GB Notification: Performance of SimCode: time 8.72e-07/0.2421, allocations: 0 / 0.6302 GB, free: 13.27 MB / 0.5573 GB Notification: Performance of Templates: time 0.01395/0.2561, allocations: 5.774 MB / 0.6359 GB, free: 7.648 MB / 0.5573 GB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.pipe >> ../files/ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.sim & ./ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_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_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.378478629980236]