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.001402/0.001402, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.001624/0.001624, allocations: 169 kB / 23.27 MB, free: 1.223 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.9011/0.9011, allocations: 177.1 MB / 203.7 MB, free: 5.52 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.6617/0.6617, allocations: 118.6 MB / 378.9 MB, free: 1.367 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.743e-06/1.743e-06, allocations: 0 / 484.1 MB, free: 8.082 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.276e-05/2.451e-05, allocations: 6.031 kB / 484.1 MB, free: 8.078 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Topology.Tests.TestConnectors): time 0.1357/0.1358, allocations: 140.9 MB / 0.6104 GB, free: 2.992 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.006515/0.1423, allocations: 5.285 MB / 0.6155 GB, free: 13.69 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001166/0.1434, allocations: 210.1 kB / 0.6157 GB, free: 13.48 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.001017/0.1445, allocations: 0.6972 MB / 0.6164 GB, free: 12.78 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.002448/0.1469, allocations: 2.107 MB / 0.6185 GB, free: 10.66 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.001471/0.1484, allocations: 1.099 MB / 0.6195 GB, free: 9.559 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.003393/0.1518, allocations: 5.379 MB / 0.6248 GB, free: 4.156 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007479/0.1525, allocations: 0.6243 MB / 0.6254 GB, free: 3.473 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002593/0.1551, allocations: 2.825 MB / 0.6281 GB, free: 0.6406 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001871/0.157, allocations: 2.139 MB / 0.6302 GB, free: 14.5 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.0002979/0.1573, allocations: 264 kB / 0.6305 GB, free: 14.24 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008464/0.1581, allocations: 0.6243 MB / 0.6311 GB, free: 13.61 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0003594/0.1585, allocations: 0.6691 MB / 0.6317 GB, free: 12.94 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0008204/0.1593, allocations: 1.126 MB / 0.6328 GB, free: 11.81 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.002183/0.1615, allocations: 3.036 MB / 0.6358 GB, free: 8.766 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.1615, allocations: 0 / 0.6358 GB, free: 8.766 MB / 0.5573 GB Notification: Performance of FrontEnd: time 8.42e-07/0.1615, allocations: 0 / 0.6358 GB, free: 8.766 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 2.324e-05/0.1615, allocations: 0 / 0.6358 GB, free: 8.766 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.003308/0.1648, allocations: 3.698 MB / 0.6394 GB, free: 4.996 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.107e-05/0.1649, allocations: 8.031 kB / 0.6394 GB, free: 4.988 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000625/0.1655, allocations: 0.6036 MB / 0.64 GB, free: 4.383 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002093/0.1676, allocations: 2.172 MB / 0.6421 GB, free: 2.133 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.844e-05/0.1677, allocations: 156.6 kB / 0.6423 GB, free: 1.977 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000193/0.1678, allocations: 224.3 kB / 0.6425 GB, free: 1.758 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001531/0.1694, allocations: 1.611 MB / 0.6441 GB, free: 4 kB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.901e-05/0.1694, allocations: 3.938 kB / 0.6441 GB, free: 0 / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.213/0.3824, allocations: 82.98 kB / 0.6442 GB, free: 53.71 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.552e-05/0.3825, allocations: 52.03 kB / 0.6442 GB, free: 53.71 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001666/0.3841, allocations: 0.7766 MB / 0.645 GB, free: 53.67 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007373/0.3915, allocations: 7.489 MB / 0.6523 GB, free: 50.8 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001373/0.3929, allocations: 1.172 MB / 0.6534 GB, free: 50.7 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004122/0.3933, allocations: 429.4 kB / 0.6538 GB, free: 50.67 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00353/0.3968, allocations: 3.033 MB / 0.6568 GB, free: 49.95 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006662/0.3975, allocations: 0.6442 MB / 0.6574 GB, free: 49.84 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=178): time 3.356e-06/0.3975, allocations: 0 / 0.6574 GB, free: 49.84 MB / 0.5573 GB Notification: Performance of matching and sorting (n=179): time 0.004288/0.4018, allocations: 2.93 MB / 0.6603 GB, free: 49.25 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.216e-05/0.4018, allocations: 100.8 kB / 0.6604 GB, free: 49.15 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001155/0.403, allocations: 1.537 MB / 0.6619 GB, free: 48.87 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 7.299e-05/0.403, allocations: 57.92 kB / 0.6619 GB, free: 48.84 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006175/0.4037, allocations: 1.278 MB / 0.6632 GB, free: 48.48 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003143/0.404, allocations: 0.6361 MB / 0.6638 GB, free: 48.15 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003321/0.4043, allocations: 304.1 kB / 0.6641 GB, free: 48.12 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 4.143e-05/0.4043, allocations: 486.2 kB / 0.6646 GB, free: 47.65 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004025/0.4047, allocations: 266.1 kB / 0.6648 GB, free: 47.61 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005057/0.4053, allocations: 0.5115 MB / 0.6653 GB, free: 47.37 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009359/0.4062, allocations: 0.8726 MB / 0.6662 GB, free: 47.11 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/0.4062, allocations: 2.344 kB / 0.6662 GB, free: 47.11 MB / 0.5573 GB Notification: Performance of matching and sorting (n=205) (initialization): time 0.002207/0.4084, allocations: 1.725 MB / 0.6679 GB, free: 46.7 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 3.4e-05/0.4084, allocations: 34.53 kB / 0.6679 GB, free: 46.67 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.16e-05/0.4084, allocations: 5 kB / 0.6679 GB, free: 46.67 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001246/0.4097, allocations: 0.5336 MB / 0.6684 GB, free: 46.56 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006229/0.4103, allocations: 278.2 kB / 0.6687 GB, free: 46.56 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007481/0.4178, allocations: 17.81 MB / 0.6861 GB, free: 30.69 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006564/0.4185, allocations: 92.66 kB / 0.6862 GB, free: 30.67 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001179/0.4186, allocations: 60.89 kB / 0.6862 GB, free: 30.67 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.0004535/0.419, allocations: 241.7 kB / 0.6864 GB, free: 30.51 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003552/0.4194, allocations: 329.9 kB / 0.6868 GB, free: 30.37 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002972/0.4224, allocations: 2.559 MB / 0.6893 GB, free: 29.84 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.401e-05/0.4224, allocations: 18.25 kB / 0.6893 GB, free: 29.84 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.739e-05/0.4224, allocations: 9.344 kB / 0.6893 GB, free: 29.84 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.336e-05/0.4224, allocations: 13.77 kB / 0.6893 GB, free: 29.83 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00376/0.4262, allocations: 3.279 MB / 0.6925 GB, free: 29.11 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.561e-06/0.4262, allocations: 3.469 kB / 0.6925 GB, free: 29.11 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004538/0.4266, allocations: 234.7 kB / 0.6927 GB, free: 29.11 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009503/0.4276, allocations: 0.529 MB / 0.6932 GB, free: 28.99 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.28e-05/0.4277, allocations: 59.91 kB / 0.6933 GB, free: 28.99 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005001/0.4327, allocations: 17.37 MB / 0.7103 GB, free: 13.1 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.135e-06/0.4327, allocations: 7.406 kB / 0.7103 GB, free: 13.1 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002462/0.4351, allocations: 2.262 MB / 0.7125 GB, free: 12.33 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005207/0.4356, allocations: 418.5 kB / 0.7129 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001606/0.4358, allocations: 54.33 kB / 0.7129 GB, free: 12.17 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004442/0.4362, allocations: 37.59 kB / 0.713 GB, free: 12.17 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002483/0.4365, allocations: 173.1 kB / 0.7131 GB, free: 12.16 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.059e-05/0.4366, allocations: 54.7 kB / 0.7132 GB, free: 12.16 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0006081/0.4372, allocations: 0.9189 MB / 0.7141 GB, free: 11.98 MB / 0.5573 GB Notification: Performance of sort global known variables: time 6e-08/0.4372, allocations: 0 / 0.7141 GB, free: 11.98 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001712/0.4389, allocations: 0.7382 MB / 0.7148 GB, free: 11.95 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.0004219/0.4393, allocations: 275.7 kB / 0.7151 GB, free: 11.84 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.002375/0.4417, allocations: 2.728 MB / 0.7177 GB, free: 10.13 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.4417, allocations: 0.6875 kB / 0.7177 GB, free: 10.13 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.001482/0.4432, allocations: 2.289 MB / 0.72 GB, free: 8.527 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002165/0.4453, allocations: 0.8936 MB / 0.7208 GB, free: 8.402 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006087/0.4514, allocations: 4.642 MB / 0.7254 GB, free: 6.293 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003996/0.4518, allocations: 474.7 kB / 0.7258 GB, free: 6.164 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001126/0.453, allocations: 417.2 kB / 0.7262 GB, free: 6.027 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001156/0.4541, allocations: 0.7514 MB / 0.727 GB, free: 5.957 MB / 0.5573 GB Notification: Performance of SimCode: time 1.022e-06/0.4541, allocations: 0 / 0.727 GB, free: 5.957 MB / 0.5573 GB Notification: Performance of Templates: time 0.05441/0.5085, allocations: 45.76 MB / 0.7716 GB, free: 4.633 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: 4.877091185655445]