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.0009006/0.0009006, allocations: 77.83 kB / 20.66 MB, free: 3.82 MB / 18.57 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.0009797/0.0009797, allocations: 177 kB / 24.07 MB, free: 424 kB / 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.9432/0.9432, allocations: 177.1 MB / 204.5 MB, free: 5.48 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.6711/0.6711, allocations: 118.7 MB / 379.7 MB, free: 1.387 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.884e-06/1.884e-06, allocations: 3.938 kB / 484.9 MB, free: 8.105 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.903e-05/2.092e-05, allocations: 3.625 kB / 484.9 MB, free: 8.102 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Topology.Tests.TestConnectors): time 0.1262/0.1262, allocations: 140.9 MB / 0.6111 GB, free: 3.027 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.008713/0.1349, allocations: 5.277 MB / 0.6163 GB, free: 13.73 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002291/0.1372, allocations: 210.1 kB / 0.6165 GB, free: 13.53 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.001215/0.1384, allocations: 0.705 MB / 0.6172 GB, free: 12.82 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.003532/0.142, allocations: 2.11 MB / 0.6192 GB, free: 10.69 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.002205/0.1442, allocations: 1.095 MB / 0.6203 GB, free: 9.594 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.005385/0.1495, allocations: 5.387 MB / 0.6256 GB, free: 4.184 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009786/0.1505, allocations: 0.6242 MB / 0.6262 GB, free: 3.5 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00343/0.154, allocations: 2.809 MB / 0.6289 GB, free: 0.6836 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001993/0.156, allocations: 2.151 MB / 0.631 GB, free: 14.53 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.0002964/0.1562, allocations: 271.9 kB / 0.6313 GB, free: 14.26 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009734/0.1572, allocations: 0.6127 MB / 0.6319 GB, free: 13.65 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0005203/0.1577, allocations: 0.6691 MB / 0.6325 GB, free: 12.98 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0008851/0.1586, allocations: 1.126 MB / 0.6336 GB, free: 11.85 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.004071/0.1627, allocations: 3.04 MB / 0.6366 GB, free: 8.797 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.1627, allocations: 0 / 0.6366 GB, free: 8.797 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.152e-06/0.1627, allocations: 0 / 0.6366 GB, free: 8.797 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.864e-05/0.1628, allocations: 0 / 0.6366 GB, free: 8.797 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.004127/0.1669, allocations: 3.69 MB / 0.6402 GB, free: 5.035 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.1669, allocations: 8.031 kB / 0.6402 GB, free: 5.027 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008063/0.1677, allocations: 0.5997 MB / 0.6408 GB, free: 4.426 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002866/0.1706, allocations: 2.179 MB / 0.6429 GB, free: 2.168 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001214/0.1707, allocations: 160.6 kB / 0.6431 GB, free: 2.008 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002488/0.171, allocations: 220.3 kB / 0.6433 GB, free: 1.793 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001907/0.1729, allocations: 1.599 MB / 0.6448 GB, free: 52 kB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.469e-05/0.1729, allocations: 0 / 0.6448 GB, free: 52 kB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.2594/0.4323, allocations: 91.17 kB / 0.6449 GB, free: 53.67 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.112e-05/0.4324, allocations: 52.97 kB / 0.645 GB, free: 53.67 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00173/0.4341, allocations: 0.775 MB / 0.6457 GB, free: 53.63 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007756/0.4419, allocations: 7.497 MB / 0.6531 GB, free: 50.76 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001554/0.4434, allocations: 1.168 MB / 0.6542 GB, free: 50.66 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004378/0.4439, allocations: 424.9 kB / 0.6546 GB, free: 50.63 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003991/0.4478, allocations: 2.974 MB / 0.6575 GB, free: 49.91 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006954/0.4485, allocations: 0.6436 MB / 0.6581 GB, free: 49.8 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=178): time 3.917e-06/0.4485, allocations: 0.8125 kB / 0.6581 GB, free: 49.8 MB / 0.5573 GB Notification: Performance of matching and sorting (n=179): time 0.004625/0.4532, allocations: 2.902 MB / 0.661 GB, free: 49.21 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.705e-05/0.4532, allocations: 105.4 kB / 0.6611 GB, free: 49.12 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001214/0.4544, allocations: 1.537 MB / 0.6626 GB, free: 48.84 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 7.712e-05/0.4545, allocations: 57.59 kB / 0.6626 GB, free: 48.8 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007338/0.4552, allocations: 1.279 MB / 0.6639 GB, free: 48.45 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004008/0.4556, allocations: 0.641 MB / 0.6645 GB, free: 48.12 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003801/0.456, allocations: 298.4 kB / 0.6648 GB, free: 48.09 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 4.982e-05/0.4561, allocations: 483.6 kB / 0.6652 GB, free: 47.62 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004302/0.4565, allocations: 269.8 kB / 0.6655 GB, free: 47.58 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005637/0.4571, allocations: 0.5101 MB / 0.666 GB, free: 47.34 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001007/0.4581, allocations: 0.873 MB / 0.6669 GB, free: 47.08 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.741e-06/0.4581, allocations: 1.156 kB / 0.6669 GB, free: 47.08 MB / 0.5573 GB Notification: Performance of matching and sorting (n=205) (initialization): time 0.00239/0.4605, allocations: 1.703 MB / 0.6685 GB, free: 46.67 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 3.545e-05/0.4605, allocations: 38.62 kB / 0.6686 GB, free: 46.64 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/0.4605, allocations: 4.281 kB / 0.6686 GB, free: 46.64 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001213/0.4617, allocations: 0.5361 MB / 0.6691 GB, free: 46.53 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005896/0.4623, allocations: 274.6 kB / 0.6693 GB, free: 46.53 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008631/0.4709, allocations: 17.8 MB / 0.6867 GB, free: 30.66 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001347/0.4723, allocations: 87.22 kB / 0.6868 GB, free: 30.64 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001652/0.4724, allocations: 60.59 kB / 0.6869 GB, free: 30.64 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.0007352/0.4732, allocations: 249 kB / 0.6871 GB, free: 30.48 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005807/0.4738, allocations: 330.4 kB / 0.6874 GB, free: 30.34 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003827/0.4776, allocations: 2.563 MB / 0.6899 GB, free: 29.82 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.637e-05/0.4776, allocations: 17.5 kB / 0.6899 GB, free: 29.82 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.039e-05/0.4776, allocations: 12.45 kB / 0.6899 GB, free: 29.82 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.198e-05/0.4776, allocations: 8.906 kB / 0.69 GB, free: 29.82 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004439/0.4821, allocations: 3.268 MB / 0.6931 GB, free: 29.09 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.4821, allocations: 3.625 kB / 0.6932 GB, free: 29.09 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004662/0.4826, allocations: 237.7 kB / 0.6934 GB, free: 29.09 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009748/0.4835, allocations: 0.5296 MB / 0.6939 GB, free: 28.97 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001131/0.4836, allocations: 65.55 kB / 0.694 GB, free: 28.97 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005552/0.4892, allocations: 17.36 MB / 0.7109 GB, free: 13.07 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.4892, allocations: 0 / 0.7109 GB, free: 13.07 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002939/0.4921, allocations: 2.264 MB / 0.7131 GB, free: 12.32 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006591/0.4928, allocations: 420.7 kB / 0.7135 GB, free: 12.16 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002313/0.493, allocations: 48.92 kB / 0.7136 GB, free: 12.16 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005093/0.4935, allocations: 41.45 kB / 0.7136 GB, free: 12.16 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003172/0.4939, allocations: 169.4 kB / 0.7138 GB, free: 12.15 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.799e-05/0.4939, allocations: 57.78 kB / 0.7138 GB, free: 12.15 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0007158/0.4947, allocations: 0.9145 MB / 0.7147 GB, free: 11.96 MB / 0.5573 GB Notification: Performance of sort global known variables: time 3.4e-07/0.4947, allocations: 0 / 0.7147 GB, free: 11.96 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001886/0.4966, allocations: 0.7338 MB / 0.7154 GB, free: 11.94 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.0004008/0.497, allocations: 276.4 kB / 0.7157 GB, free: 11.82 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.002315/0.4993, allocations: 2.733 MB / 0.7184 GB, free: 10.11 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.4993, allocations: 0 / 0.7184 GB, free: 10.11 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.001431/0.5007, allocations: 2.297 MB / 0.7206 GB, free: 8.512 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002425/0.5031, allocations: 0.8866 MB / 0.7215 GB, free: 8.383 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005807/0.5089, allocations: 4.632 MB / 0.726 GB, free: 6.277 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003873/0.5093, allocations: 478.2 kB / 0.7265 GB, free: 6.145 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001016/0.5103, allocations: 418 kB / 0.7269 GB, free: 6.004 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001132/0.5115, allocations: 0.7523 MB / 0.7276 GB, free: 5.938 MB / 0.5573 GB Notification: Performance of SimCode: time 1.152e-06/0.5115, allocations: 0 / 0.7276 GB, free: 5.938 MB / 0.5573 GB Notification: Performance of Templates: time 0.05925/0.5707, allocations: 46.54 MB / 0.773 GB, free: 3.871 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.057851136196405]