Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_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.0008995/0.0008995, allocations: 93.06 kB / 19.65 MB, free: 280 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.0009017/0.0009017, allocations: 169.3 kB / 23.02 MB, free: 1.551 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.9267/0.9267, allocations: 177.1 MB / 203.4 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] 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.6687/0.6687, allocations: 118.6 MB / 378.6 MB, free: 1.488 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.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_dev_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_dev_ThermofluidStream.Undirected.Topology.Tests.TestConnectors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 483.6 MB, free: 8.219 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.563e-05/1.706e-05, allocations: 6.031 kB / 483.6 MB, free: 8.215 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Topology.Tests.TestConnectors): time 0.1266/0.1266, allocations: 144.1 MB / 0.613 GB, free: 132 kB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.007483/0.1341, allocations: 5.304 MB / 0.6182 GB, free: 10.81 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001263/0.1353, allocations: 210.1 kB / 0.6184 GB, free: 10.6 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.001121/0.1364, allocations: 0.6972 MB / 0.619 GB, free: 9.898 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.002854/0.1393, allocations: 2.095 MB / 0.6211 GB, free: 7.789 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.001613/0.1409, allocations: 1.095 MB / 0.6222 GB, free: 6.691 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.003394/0.1443, allocations: 5.39 MB / 0.6274 GB, free: 1.281 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007209/0.145, allocations: 0.6242 MB / 0.628 GB, free: 0.5977 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002202/0.1472, allocations: 2.786 MB / 0.6307 GB, free: 13.8 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001756/0.149, allocations: 2.139 MB / 0.6328 GB, free: 11.66 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.0002539/0.1492, allocations: 268 kB / 0.6331 GB, free: 11.4 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007723/0.15, allocations: 0.6166 MB / 0.6337 GB, free: 10.78 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0006102/0.1506, allocations: 0.669 MB / 0.6343 GB, free: 10.11 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0007894/0.1514, allocations: 1.126 MB / 0.6354 GB, free: 8.98 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.002287/0.1537, allocations: 3.04 MB / 0.6384 GB, free: 5.93 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.1537, allocations: 0 / 0.6384 GB, free: 5.93 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.523e-06/0.1537, allocations: 0 / 0.6384 GB, free: 5.93 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 2.825e-05/0.1537, allocations: 0 / 0.6384 GB, free: 5.93 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.003993/0.1577, allocations: 3.69 MB / 0.642 GB, free: 2.168 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.324e-05/0.1577, allocations: 8.031 kB / 0.642 GB, free: 2.16 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006793/0.1584, allocations: 0.5997 MB / 0.6426 GB, free: 1.559 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2303/0.3887, allocations: 2.196 MB / 0.6448 GB, free: 51.19 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001515/0.3888, allocations: 157.6 kB / 0.6449 GB, free: 51.18 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004147/0.3893, allocations: 223.1 kB / 0.6451 GB, free: 51.18 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003207/0.3925, allocations: 1.756 MB / 0.6468 GB, free: 50.8 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.532e-05/0.3925, allocations: 1.625 kB / 0.6468 GB, free: 50.8 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001192/0.3926, allocations: 87.06 kB / 0.6469 GB, free: 50.8 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.712e-05/0.3927, allocations: 51.03 kB / 0.647 GB, free: 50.8 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001955/0.3946, allocations: 1.024 MB / 0.648 GB, free: 50.77 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008372/0.403, allocations: 7.853 MB / 0.6556 GB, free: 47.8 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001723/0.4047, allocations: 1.275 MB / 0.6569 GB, free: 47.7 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006129/0.4053, allocations: 496.2 kB / 0.6574 GB, free: 47.66 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003939/0.4093, allocations: 3.023 MB / 0.6603 GB, free: 46.95 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009566/0.4102, allocations: 0.7005 MB / 0.661 GB, free: 46.84 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=178): time 4.418e-06/0.4102, allocations: 0 / 0.661 GB, free: 46.84 MB / 0.5573 GB Notification: Performance of matching and sorting (n=179): time 0.006159/0.4164, allocations: 3.958 MB / 0.6649 GB, free: 45.63 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.37e-05/0.4164, allocations: 98.16 kB / 0.665 GB, free: 45.54 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001688/0.4181, allocations: 1.576 MB / 0.6665 GB, free: 45.25 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 8.844e-05/0.4182, allocations: 57.05 kB / 0.6665 GB, free: 45.22 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006318/0.4188, allocations: 1.264 MB / 0.6678 GB, free: 44.88 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003787/0.4192, allocations: 0.6364 MB / 0.6684 GB, free: 44.51 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003627/0.4196, allocations: 297.2 kB / 0.6687 GB, free: 44.48 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 4.307e-05/0.4196, allocations: 478 kB / 0.6691 GB, free: 44.01 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006111/0.4202, allocations: 341.9 kB / 0.6695 GB, free: 43.98 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007176/0.421, allocations: 0.5799 MB / 0.67 GB, free: 43.73 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001365/0.4223, allocations: 0.9966 MB / 0.671 GB, free: 43.47 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.131e-06/0.4223, allocations: 3.438 kB / 0.671 GB, free: 43.47 MB / 0.5573 GB Notification: Performance of matching and sorting (n=205) (initialization): time 0.00311/0.4254, allocations: 1.863 MB / 0.6728 GB, free: 43.05 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 5.133e-05/0.4255, allocations: 39.48 kB / 0.6729 GB, free: 43.02 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.447e-05/0.4255, allocations: 4.844 kB / 0.6729 GB, free: 43.02 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001412/0.4269, allocations: 0.542 MB / 0.6734 GB, free: 42.91 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007215/0.4276, allocations: 280.9 kB / 0.6737 GB, free: 42.91 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008827/0.4365, allocations: 18.1 MB / 0.6913 GB, free: 26.82 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001052/0.4375, allocations: 88.2 kB / 0.6914 GB, free: 26.79 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000119/0.4376, allocations: 71.19 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.000542/0.4382, allocations: 249.6 kB / 0.6917 GB, free: 26.62 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003902/0.4386, allocations: 341.4 kB / 0.6921 GB, free: 26.47 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002983/0.4415, allocations: 2.652 MB / 0.6947 GB, free: 25.95 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.059e-05/0.4416, allocations: 18.12 kB / 0.6947 GB, free: 25.95 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.818e-05/0.4416, allocations: 6.5 kB / 0.6947 GB, free: 25.95 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.273e-05/0.4416, allocations: 12.36 kB / 0.6947 GB, free: 25.95 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00463/0.4462, allocations: 3.732 MB / 0.6983 GB, free: 25.19 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/0.4462, allocations: 0 / 0.6983 GB, free: 25.19 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005077/0.4467, allocations: 242.6 kB / 0.6986 GB, free: 25.19 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001107/0.4478, allocations: 0.5393 MB / 0.6991 GB, free: 25.07 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001203/0.448, allocations: 59.92 kB / 0.6991 GB, free: 25.07 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006654/0.4546, allocations: 17.64 MB / 0.7164 GB, free: 8.969 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.4546, allocations: 7.469 kB / 0.7164 GB, free: 8.969 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003711/0.4583, allocations: 2.477 MB / 0.7188 GB, free: 8.16 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007632/0.4591, allocations: 418.8 kB / 0.7192 GB, free: 7.906 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001798/0.4593, allocations: 52.75 kB / 0.7192 GB, free: 7.871 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004932/0.4598, allocations: 49.02 kB / 0.7193 GB, free: 7.844 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000312/0.4601, allocations: 165.6 kB / 0.7194 GB, free: 7.816 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.341e-05/0.4602, allocations: 67.25 kB / 0.7195 GB, free: 7.801 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0008543/0.461, allocations: 1.001 MB / 0.7205 GB, free: 7.445 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.71e-07/0.461, allocations: 0 / 0.7205 GB, free: 7.445 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001748/0.4628, allocations: 0.7361 MB / 0.7212 GB, free: 7.363 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.0004534/0.4632, allocations: 278.9 kB / 0.7215 GB, free: 7.219 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.00274/0.466, allocations: 2.859 MB / 0.7243 GB, free: 5.293 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.466, allocations: 0 / 0.7243 GB, free: 5.293 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.001634/0.4676, allocations: 2.348 MB / 0.7266 GB, free: 3.531 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002401/0.47, allocations: 0.8887 MB / 0.7274 GB, free: 3.234 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006244/0.4762, allocations: 4.671 MB / 0.732 GB, free: 0.8867 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004255/0.4767, allocations: 474.2 kB / 0.7324 GB, free: 0.75 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.00121/0.4779, allocations: 441 kB / 0.7329 GB, free: 0.6133 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003939/0.4783, allocations: 217.8 kB / 0.7331 GB, free: 0.5781 MB / 0.5573 GB Notification: Performance of SimCode: time 1.724e-06/0.4783, allocations: 0 / 0.7331 GB, free: 0.5781 MB / 0.5573 GB Notification: Performance of Templates: time 0.05418/0.5324, allocations: 41.86 MB / 0.774 GB, free: 1.969 MB / 0.5886 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_dev_ThermofluidStream.Undirected.Topology.Tests.TestConnectors.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.Undirected.Topology.Tests.TestConnectors.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Undirected.Topology.Tests.TestConnectors.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Undirected.Topology.Tests.TestConnectors.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Undirected.Topology.Tests.TestConnectors.sim & ./ThermofluidStream_dev_ThermofluidStream.Undirected.Topology.Tests.TestConnectors -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Undirected.Topology.Tests.TestConnectors.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_dev_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.138506783172488]