Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestConnectors.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.0009014/0.0009014, allocations: 88.22 kB / 19.65 MB, free: 272 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.001036/0.001036, allocations: 173 kB / 23.02 MB, free: 1.539 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 0.9302/0.9302, allocations: 177.1 MB / 203.4 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 179] 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 0.6586/0.6586, allocations: 118.6 MB / 378.6 MB, free: 1.512 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.Topology.Tests.TestConnectors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|boundary_fore1.rear.m_flow|boundary_fore2.rear.m_flow|boundary_fore3.rear.m_flow|boundary_fore5.rear.m_flow|boundary_rear.fore.m_flow|connectRearOutlet.rear.m_flow|flowResistance2.rear.m_flow|pulse.T_start|pulse.count|sink3.inlet.m_flow|source1.outlet.m_flow|source2.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestConnectors") translateModel(ThermofluidStream.Undirected.Topology.Tests.TestConnectors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|boundary_fore1.rear.m_flow|boundary_fore2.rear.m_flow|boundary_fore3.rear.m_flow|boundary_fore5.rear.m_flow|boundary_rear.fore.m_flow|connectRearOutlet.rear.m_flow|flowResistance2.rear.m_flow|pulse.T_start|pulse.count|sink3.inlet.m_flow|source1.outlet.m_flow|source2.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestConnectors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 483.6 MB, free: 8.254 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.344e-05/2.489e-05, allocations: 3.531 kB / 483.6 MB, free: 8.25 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Topology.Tests.TestConnectors): time 0.1481/0.1481, allocations: 144.1 MB / 0.613 GB, free: 160 kB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.00854/0.1567, allocations: 5.308 MB / 0.6182 GB, free: 10.83 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001995/0.1587, allocations: 210.1 kB / 0.6184 GB, free: 10.62 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.001363/0.16, allocations: 0.6894 MB / 0.619 GB, free: 9.93 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.003872/0.1639, allocations: 2.107 MB / 0.6211 GB, free: 7.809 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.001857/0.1657, allocations: 1.091 MB / 0.6222 GB, free: 6.715 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.003686/0.1694, allocations: 5.386 MB / 0.6274 GB, free: 1.309 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007445/0.1702, allocations: 0.6203 MB / 0.628 GB, free: 0.6289 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002287/0.1725, allocations: 2.789 MB / 0.6308 GB, free: 13.83 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001811/0.1743, allocations: 2.135 MB / 0.6328 GB, free: 11.69 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.000248/0.1745, allocations: 268 kB / 0.6331 GB, free: 11.43 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008576/0.1754, allocations: 0.6127 MB / 0.6337 GB, free: 10.82 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0005143/0.1759, allocations: 0.6729 MB / 0.6344 GB, free: 10.14 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0008006/0.1767, allocations: 1.122 MB / 0.6354 GB, free: 9.016 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.002387/0.1791, allocations: 3.044 MB / 0.6384 GB, free: 5.961 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.1791, allocations: 0 / 0.6384 GB, free: 5.961 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.202e-06/0.1791, allocations: 0 / 0.6384 GB, free: 5.961 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 1.891e-05/0.1791, allocations: 0 / 0.6384 GB, free: 5.961 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 534 * Number of variables: 534 Notification: Performance of Generate backend data structure: time 0.003802/0.1829, allocations: 3.698 MB / 0.642 GB, free: 2.191 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.402e-05/0.183, allocations: 8.031 kB / 0.642 GB, free: 2.184 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007378/0.1837, allocations: 0.5958 MB / 0.6426 GB, free: 1.586 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2453/0.429, allocations: 2.192 MB / 0.6448 GB, free: 51.21 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001251/0.4291, allocations: 156.9 kB / 0.6449 GB, free: 51.2 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003179/0.4294, allocations: 223.4 kB / 0.6451 GB, free: 51.2 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002751/0.4321, allocations: 1.756 MB / 0.6468 GB, free: 50.82 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.289e-05/0.4322, allocations: 4.906 kB / 0.6468 GB, free: 50.82 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001129/0.4323, allocations: 83.59 kB / 0.6469 GB, free: 50.82 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.956e-05/0.4323, allocations: 51.47 kB / 0.647 GB, free: 50.82 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001797/0.4341, allocations: 1.024 MB / 0.648 GB, free: 50.79 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006736/0.4409, allocations: 7.856 MB / 0.6556 GB, free: 47.82 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001576/0.4424, allocations: 1.268 MB / 0.6569 GB, free: 47.7 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006151/0.4431, allocations: 0.4915 MB / 0.6574 GB, free: 47.67 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003654/0.4467, allocations: 3.023 MB / 0.6603 GB, free: 46.96 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009617/0.4477, allocations: 0.6976 MB / 0.661 GB, free: 46.85 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=178): time 3.247e-06/0.4477, allocations: 0.9062 kB / 0.661 GB, free: 46.85 MB / 0.5573 GB Notification: Performance of matching and sorting (n=179): time 0.005811/0.4535, allocations: 3.951 MB / 0.6649 GB, free: 45.64 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.365e-05/0.4535, allocations: 102.5 kB / 0.665 GB, free: 45.55 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00163/0.4552, allocations: 1.575 MB / 0.6665 GB, free: 45.27 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 7.615e-05/0.4552, allocations: 57.39 kB / 0.6665 GB, free: 45.23 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006806/0.4559, allocations: 1.274 MB / 0.6678 GB, free: 44.88 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003449/0.4563, allocations: 0.6316 MB / 0.6684 GB, free: 44.52 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003502/0.4566, allocations: 299.4 kB / 0.6687 GB, free: 44.49 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 4.663e-05/0.4567, allocations: 478.8 kB / 0.6692 GB, free: 44.02 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005813/0.4572, allocations: 338.9 kB / 0.6695 GB, free: 43.98 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007301/0.458, allocations: 0.5754 MB / 0.67 GB, free: 43.74 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001446/0.4594, allocations: 1.008 MB / 0.671 GB, free: 43.48 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.878e-06/0.4594, allocations: 2.484 kB / 0.671 GB, free: 43.48 MB / 0.5573 GB Notification: Performance of matching and sorting (n=205) (initialization): time 0.00279/0.4622, allocations: 1.859 MB / 0.6728 GB, free: 43.06 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 3.82e-05/0.4623, allocations: 40.05 kB / 0.6729 GB, free: 43.03 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.172e-05/0.4623, allocations: 3.906 kB / 0.6729 GB, free: 43.03 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001277/0.4635, allocations: 0.5464 MB / 0.6734 GB, free: 42.92 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006304/0.4642, allocations: 280.8 kB / 0.6737 GB, free: 42.92 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008231/0.4724, allocations: 18.1 MB / 0.6914 GB, free: 26.82 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005954/0.473, allocations: 93.48 kB / 0.6914 GB, free: 26.79 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.915e-05/0.4731, allocations: 70.31 kB / 0.6915 GB, free: 26.79 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 5 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (160): * Single equations (assignments): 150 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(3,18,77.8%), (1,4,100.0%), (1,4,100.0%), (1,2,100.0%), (1,2,100.0%), (1,1,100.0%), (1,1,100.0%), (1,8,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000372/0.4735, allocations: 262.8 kB / 0.6918 GB, free: 26.61 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002873/0.4737, allocations: 326.2 kB / 0.6921 GB, free: 26.47 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002929/0.4767, allocations: 2.653 MB / 0.6947 GB, free: 25.93 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.231e-05/0.4767, allocations: 22.03 kB / 0.6947 GB, free: 25.93 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.888e-06/0.4767, allocations: 8.562 kB / 0.6947 GB, free: 25.93 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.429e-05/0.4767, allocations: 9.25 kB / 0.6947 GB, free: 25.93 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004292/0.481, allocations: 3.723 MB / 0.6983 GB, free: 25.18 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.081e-06/0.481, allocations: 0.9375 kB / 0.6983 GB, free: 25.18 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004827/0.4815, allocations: 238.5 kB / 0.6986 GB, free: 25.18 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001033/0.4825, allocations: 0.5382 MB / 0.6991 GB, free: 25.06 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.796e-05/0.4826, allocations: 60.86 kB / 0.6991 GB, free: 25.06 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006077/0.4887, allocations: 17.64 MB / 0.7164 GB, free: 8.961 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.4887, allocations: 10.75 kB / 0.7164 GB, free: 8.957 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002659/0.4914, allocations: 2.47 MB / 0.7188 GB, free: 8.148 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004219/0.4918, allocations: 430.2 kB / 0.7192 GB, free: 7.887 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001395/0.4919, allocations: 43.81 kB / 0.7193 GB, free: 7.855 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004236/0.4923, allocations: 45.81 kB / 0.7193 GB, free: 7.836 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000234/0.4926, allocations: 166 kB / 0.7195 GB, free: 7.809 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.414e-05/0.4926, allocations: 71.84 kB / 0.7195 GB, free: 7.789 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0007871/0.4934, allocations: 0.9989 MB / 0.7205 GB, free: 7.434 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2e-07/0.4934, allocations: 3.094 kB / 0.7205 GB, free: 7.434 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001513/0.4949, allocations: 0.7319 MB / 0.7212 GB, free: 7.352 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 10 (connectRearRear.rear_a.m_flow,connectForeFore.fore_a.m_flow,connectInletFore.fore.m_flow,connectRearOutlet.rear.m_flow,sink1.inlet.m_flow,boundary_fore3.rear.m_flow,flowResistance.rear.m_flow,flowResistance2.rear.m_flow,flowResistance3.inlet.m_flow,flowResistance4.rear.m_flow) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (141): * Single equations (assignments): 130 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(1,4,100.0%), (1,1,100.0%), (1,4,100.0%), (1,8,100.0%), (1,2,100.0%), (1,2,100.0%), (1,1,100.0%), (1,2,100.0%), (3,18,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000401/0.4953, allocations: 280.9 kB / 0.7215 GB, free: 7.207 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.002346/0.4977, allocations: 2.853 MB / 0.7243 GB, free: 5.281 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.4977, allocations: 3.125 kB / 0.7243 GB, free: 5.281 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.001395/0.4991, allocations: 2.348 MB / 0.7266 GB, free: 3.516 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002/0.5011, allocations: 0.894 MB / 0.7274 GB, free: 3.219 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005282/0.5064, allocations: 4.666 MB / 0.732 GB, free: 0.8672 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003838/0.5068, allocations: 477.4 kB / 0.7325 GB, free: 0.7305 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0008187/0.5076, allocations: 433.6 kB / 0.7329 GB, free: 0.5977 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003431/0.5079, allocations: 217.7 kB / 0.7331 GB, free: 0.5625 MB / 0.5573 GB Notification: Performance of SimCode: time 7.82e-07/0.5079, allocations: 0 / 0.7331 GB, free: 0.5625 MB / 0.5573 GB Notification: Performance of Templates: time 0.04825/0.5562, allocations: 41.87 MB / 0.774 GB, free: 1.984 MB / 0.5886 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestConnectors.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestConnectors.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestConnectors.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestConnectors.pipe >> ../files/ThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestConnectors.sim & ./ThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestConnectors -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestConnectors.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestConnectors_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Undirected.Topology.Tests.TestConnectors_ref.mat","",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.011312800925225]