Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir.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.002263/0.002263, allocations: 93.47 kB / 19.44 MB, free: 336 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.002125/0.002125, 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.576/1.576, allocations: 177.1 MB / 203.1 MB, free: 5.57 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.028/1.028, allocations: 118.6 MB / 378.2 MB, free: 1.496 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.Reservoir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|reservoir.M|reservoir.U_med|reservoir.m_flow_fore|reservoir.m_flow_rear|reservoir2.M|reservoir2.U_med|reservoir2.m_flow_in|reservoir2.m_flow_out",fileNamePrefix="ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir") translateModel(ThermofluidStream.Undirected.Boundaries.Tests.Reservoir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|reservoir.M|reservoir.U_med|reservoir.m_flow_fore|reservoir.m_flow_rear|reservoir2.M|reservoir2.U_med|reservoir2.m_flow_in|reservoir2.m_flow_out",fileNamePrefix="ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.084e-06/2.084e-06, allocations: 0 / 482.9 MB, free: 8.281 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.769e-05/2.978e-05, allocations: 2.312 kB / 482.9 MB, free: 8.277 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Boundaries.Tests.Reservoir): time 0.05404/0.05407, allocations: 44.84 MB / 0.5154 GB, free: 4.129 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.008724/0.06279, allocations: 4.282 MB / 0.5195 GB, free: 15.84 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001333/0.06412, allocations: 67.38 kB / 0.5196 GB, free: 15.77 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001699/0.06582, allocations: 0.5117 MB / 0.5201 GB, free: 15.25 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004385/0.07021, allocations: 1.521 MB / 0.5216 GB, free: 13.72 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002893/0.0731, allocations: 0.9342 MB / 0.5225 GB, free: 12.79 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.003878/0.07698, allocations: 2.426 MB / 0.5249 GB, free: 10.35 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005541/0.07753, allocations: 169.5 kB / 0.525 GB, free: 10.17 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004724/0.08226, allocations: 1.764 MB / 0.5268 GB, free: 8.398 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001191/0.08345, allocations: 0.6659 MB / 0.5274 GB, free: 7.73 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002182/0.08366, allocations: 104 kB / 0.5275 GB, free: 7.629 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00241/0.08607, allocations: 0.6861 MB / 0.5282 GB, free: 6.941 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003658/0.08644, allocations: 286.7 kB / 0.5285 GB, free: 6.66 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007362/0.08718, allocations: 490.8 kB / 0.5289 GB, free: 6.18 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003781/0.09096, allocations: 1.958 MB / 0.5308 GB, free: 4.215 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.205e-06/0.09097, allocations: 3.984 kB / 0.5308 GB, free: 4.211 MB / 458.7 MB Notification: Performance of FrontEnd: time 4.438e-06/0.09097, allocations: 4 kB / 0.5308 GB, free: 4.207 MB / 458.7 MB Notification: Performance of Transformations before backend: time 2.066e-05/0.09099, allocations: 0 / 0.5308 GB, free: 4.207 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 232 * Number of variables: 232 Notification: Performance of Generate backend data structure: time 0.003949/0.09494, allocations: 1.86 MB / 0.5327 GB, free: 2.305 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.202e-05/0.09498, allocations: 12.03 kB / 0.5327 GB, free: 2.293 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008558/0.09584, allocations: 307.4 kB / 0.533 GB, free: 1.992 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001829/0.09767, allocations: 0.9 MB / 0.5338 GB, free: 1.055 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.9e-05/0.09774, allocations: 70.38 kB / 0.5339 GB, free: 0.9844 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001843/0.09793, allocations: 112.2 kB / 0.534 GB, free: 0.875 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00214/0.1001, allocations: 1.26 MB / 0.5352 GB, free: 15.5 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.497e-05/0.1001, allocations: 192 / 0.5352 GB, free: 15.5 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.958e-05/0.1002, allocations: 51.94 kB / 0.5353 GB, free: 15.45 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.483e-05/0.1002, allocations: 20 kB / 0.5353 GB, free: 15.43 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00164/0.1019, allocations: 0.7468 MB / 0.536 GB, free: 14.69 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006589/0.1084, allocations: 3.842 MB / 0.5398 GB, free: 10.76 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001979/0.1104, allocations: 0.8707 MB / 0.5406 GB, free: 9.863 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008278/0.1113, allocations: 425.1 kB / 0.5411 GB, free: 9.445 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003332/0.1146, allocations: 1.512 MB / 0.5425 GB, free: 7.91 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.277e-05/0.1146, allocations: 50.05 kB / 0.5426 GB, free: 7.852 MB / 474.7 MB Notification: Performance of pre-optimization done (n=108): time 3.085e-06/0.1146, allocations: 0 / 0.5426 GB, free: 7.852 MB / 474.7 MB Notification: Performance of matching and sorting (n=122): time 0.01117/0.1258, allocations: 3.97 MB / 0.5465 GB, free: 3.773 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.014e-05/0.1259, allocations: 94.25 kB / 0.5465 GB, free: 3.664 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001422/0.1273, allocations: 0.9346 MB / 0.5475 GB, free: 2.703 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001056/0.1274, allocations: 45.7 kB / 0.5475 GB, free: 2.652 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006103/0.128, allocations: 0.586 MB / 0.5481 GB, free: 2.059 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000544/0.1286, allocations: 468.1 kB / 0.5485 GB, free: 1.598 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004233/0.129, allocations: 240.5 kB / 0.5488 GB, free: 1.355 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0003524/0.1294, allocations: 0.5434 MB / 0.5493 GB, free: 0.8047 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008723/0.1302, allocations: 374.5 kB / 0.5496 GB, free: 448 kB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001201/0.1314, allocations: 0.6362 MB / 0.5503 GB, free: 15.71 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002241/0.1337, allocations: 1.141 MB / 0.5514 GB, free: 14.48 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.214e-05/0.1337, allocations: 7.938 kB / 0.5514 GB, free: 14.47 MB / 490.7 MB Notification: Performance of matching and sorting (n=146) (initialization): time 0.003764/0.1374, allocations: 1.524 MB / 0.5529 GB, free: 12.91 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.554e-05/0.1375, allocations: 4 kB / 0.5529 GB, free: 12.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.698e-05/0.1375, allocations: 8 kB / 0.5529 GB, free: 12.89 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001794/0.1393, allocations: 385.5 kB / 0.5532 GB, free: 12.48 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009892/0.1403, allocations: 223.6 kB / 0.5535 GB, free: 12.27 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01526/0.1555, allocations: 15.42 MB / 0.5685 GB, free: 11.87 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001003/0.1565, allocations: 52.02 kB / 0.5686 GB, free: 11.82 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001315/0.1567, allocations: 55.92 kB / 0.5686 GB, free: 11.76 MB / 0.4949 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (126): * Single equations (assignments): 118 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,2,100.0%), (1,2,100.0%), (2,5,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006066/0.1573, allocations: 292.4 kB / 0.5689 GB, free: 11.46 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003767/0.1577, allocations: 171.2 kB / 0.5691 GB, free: 11.3 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004309/0.162, allocations: 1.902 MB / 0.5709 GB, free: 9.352 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.477e-05/0.162, allocations: 12 kB / 0.5709 GB, free: 9.34 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.145e-05/0.162, allocations: 7.938 kB / 0.5709 GB, free: 9.332 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.996e-05/0.162, allocations: 11.97 kB / 0.5709 GB, free: 9.32 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005683/0.1677, allocations: 2.696 MB / 0.5736 GB, free: 6.535 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.855e-06/0.1677, allocations: 4 kB / 0.5736 GB, free: 6.531 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008922/0.1686, allocations: 187.7 kB / 0.5738 GB, free: 6.348 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001579/0.1702, allocations: 405.2 kB / 0.5742 GB, free: 5.918 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001113/0.1703, allocations: 39.97 kB / 0.5742 GB, free: 5.879 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01502/0.1853, allocations: 15.43 MB / 0.5893 GB, free: 5.469 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/0.1853, allocations: 3.938 kB / 0.5893 GB, free: 5.465 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004763/0.1901, allocations: 2.187 MB / 0.5914 GB, free: 3.207 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006104/0.1907, allocations: 211.1 kB / 0.5916 GB, free: 3 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001737/0.1908, allocations: 24 kB / 0.5916 GB, free: 2.977 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000711/0.1916, allocations: 39.97 kB / 0.5917 GB, free: 2.938 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002774/0.1918, allocations: 112.8 kB / 0.5918 GB, free: 2.828 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001086/0.1919, allocations: 47.97 kB / 0.5918 GB, free: 2.781 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0009656/0.1929, allocations: 0.622 MB / 0.5924 GB, free: 2.148 MB / 0.5105 GB Notification: Performance of sort global known variables: time 9e-08/0.1929, allocations: 0 / 0.5924 GB, free: 2.148 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001543/0.1945, allocations: 431.7 kB / 0.5928 GB, free: 1.727 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (reservoir.M,reservoir.U_med,flowResistance1.rear.m_flow,flowResistance2.rear.m_flow,reservoir2.M,reservoir2.U_med,flowResistance4.inlet.m_flow,flowResistance5.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 (98): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (2,5,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006859/0.1951, allocations: 375.8 kB / 0.5932 GB, free: 1.359 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.004431/0.1996, allocations: 2.459 MB / 0.5956 GB, free: 14.76 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.548e-06/0.1996, allocations: 0 / 0.5956 GB, free: 14.76 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003073/0.2027, allocations: 2.007 MB / 0.5975 GB, free: 12.61 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002562/0.2052, allocations: 0.497 MB / 0.598 GB, free: 12.11 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005513/0.2107, allocations: 2.584 MB / 0.6006 GB, free: 9.465 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000685/0.2114, allocations: 0.5188 MB / 0.6011 GB, free: 8.914 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0008958/0.2123, allocations: 237.2 kB / 0.6013 GB, free: 8.695 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003252/0.2126, allocations: 116.5 kB / 0.6014 GB, free: 8.582 MB / 0.5261 GB Notification: Performance of SimCode: time 1.153e-06/0.2126, allocations: 0 / 0.6014 GB, free: 8.582 MB / 0.5261 GB Notification: Performance of Templates: time 0.05276/0.2654, allocations: 27.22 MB / 0.628 GB, free: 13.86 MB / 0.5574 GB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir.pipe >> ../files/ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir.sim & ./ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Undirected.Boundaries.Tests.Reservoir_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir.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: 7.274339037016034]