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.001088/0.001088, allocations: 81.95 kB / 19.87 MB, free: 4.617 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.001165/0.001165, allocations: 173.7 kB / 23.28 MB, free: 1.219 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.9098/0.9098, allocations: 177.1 MB / 203.7 MB, free: 5.539 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.6884/0.6884, allocations: 118.6 MB / 378.9 MB, free: 1.379 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.543e-06/1.543e-06, allocations: 0 / 484.1 MB, free: 8.105 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.901e-05/2.055e-05, allocations: 2.312 kB / 484.1 MB, free: 8.102 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Topology.Tests.TestConnectors): time 0.1238/0.1239, allocations: 140.9 MB / 0.6104 GB, free: 3.047 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.00875/0.1326, allocations: 5.289 MB / 0.6155 GB, free: 13.74 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002554/0.1352, allocations: 210.1 kB / 0.6157 GB, free: 13.54 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.001521/0.1367, allocations: 0.6895 MB / 0.6164 GB, free: 12.84 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.004224/0.1409, allocations: 2.118 MB / 0.6185 GB, free: 10.71 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.002394/0.1433, allocations: 1.099 MB / 0.6195 GB, free: 9.605 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.005573/0.1489, allocations: 5.375 MB / 0.6248 GB, free: 4.207 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001162/0.15, allocations: 0.6281 MB / 0.6254 GB, free: 3.52 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003957/0.154, allocations: 2.817 MB / 0.6281 GB, free: 0.6953 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002488/0.1565, allocations: 2.147 MB / 0.6302 GB, free: 14.54 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.0004607/0.1569, allocations: 268 kB / 0.6305 GB, free: 14.28 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001053/0.158, allocations: 0.6165 MB / 0.6311 GB, free: 13.66 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0003624/0.1584, allocations: 0.669 MB / 0.6318 GB, free: 12.99 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.001083/0.1594, allocations: 1.122 MB / 0.6329 GB, free: 11.87 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.002819/0.1623, allocations: 3.036 MB / 0.6358 GB, free: 8.82 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.1623, allocations: 0 / 0.6358 GB, free: 8.82 MB / 0.5573 GB Notification: Performance of FrontEnd: time 9.92e-07/0.1623, allocations: 0 / 0.6358 GB, free: 8.82 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 7.7e-05/0.1623, allocations: 0 / 0.6358 GB, free: 8.82 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.003973/0.1663, allocations: 3.69 MB / 0.6394 GB, free: 5.059 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/0.1664, allocations: 16.03 kB / 0.6394 GB, free: 5.043 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007177/0.1671, allocations: 0.5919 MB / 0.64 GB, free: 4.449 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002356/0.1694, allocations: 2.175 MB / 0.6421 GB, free: 2.195 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.51e-05/0.1695, allocations: 156.6 kB / 0.6423 GB, free: 2.039 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002051/0.1697, allocations: 228.2 kB / 0.6425 GB, free: 1.816 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001869/0.1716, allocations: 1.603 MB / 0.6441 GB, free: 72 kB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.907e-05/0.1716, allocations: 4 kB / 0.6441 GB, free: 68 kB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.2357/0.4073, allocations: 86.39 kB / 0.6442 GB, free: 53.66 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.928e-05/0.4073, allocations: 51.28 kB / 0.6442 GB, free: 53.66 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001879/0.4092, allocations: 0.774 MB / 0.645 GB, free: 53.62 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008481/0.4177, allocations: 7.498 MB / 0.6523 GB, free: 50.74 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001704/0.4194, allocations: 1.168 MB / 0.6534 GB, free: 50.64 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005537/0.42, allocations: 430.1 kB / 0.6538 GB, free: 50.61 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004255/0.4242, allocations: 3.029 MB / 0.6568 GB, free: 49.88 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008216/0.425, allocations: 0.6425 MB / 0.6574 GB, free: 49.77 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=178): time 5.52e-06/0.425, allocations: 0.875 kB / 0.6574 GB, free: 49.77 MB / 0.5573 GB Notification: Performance of matching and sorting (n=179): time 0.005607/0.4307, allocations: 2.935 MB / 0.6603 GB, free: 49.18 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.095e-05/0.4307, allocations: 100.4 kB / 0.6604 GB, free: 49.09 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001384/0.4321, allocations: 1.539 MB / 0.6619 GB, free: 48.8 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 8.339e-05/0.4322, allocations: 57.59 kB / 0.6619 GB, free: 48.77 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008316/0.433, allocations: 1.276 MB / 0.6632 GB, free: 48.42 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004419/0.4334, allocations: 0.6409 MB / 0.6638 GB, free: 48.09 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004157/0.4339, allocations: 304 kB / 0.6641 GB, free: 48.06 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 5.348e-05/0.4339, allocations: 482.7 kB / 0.6646 GB, free: 47.59 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000471/0.4344, allocations: 270.2 kB / 0.6648 GB, free: 47.55 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006476/0.435, allocations: 0.5085 MB / 0.6653 GB, free: 47.31 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001161/0.4362, allocations: 0.8702 MB / 0.6662 GB, free: 47.05 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/0.4362, allocations: 1.562 kB / 0.6662 GB, free: 47.05 MB / 0.5573 GB Notification: Performance of matching and sorting (n=205) (initialization): time 0.003017/0.4392, allocations: 1.727 MB / 0.6679 GB, free: 46.64 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 4.987e-05/0.4393, allocations: 37.69 kB / 0.6679 GB, free: 46.61 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.527e-05/0.4393, allocations: 4.562 kB / 0.6679 GB, free: 46.61 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001629/0.4409, allocations: 0.5364 MB / 0.6684 GB, free: 46.5 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007458/0.4416, allocations: 274.1 kB / 0.6687 GB, free: 46.5 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009313/0.451, allocations: 17.83 MB / 0.6861 GB, free: 30.62 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001268/0.4522, allocations: 87.88 kB / 0.6862 GB, free: 30.6 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000138/0.4524, allocations: 60.58 kB / 0.6862 GB, free: 30.6 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.0006054/0.453, allocations: 242.8 kB / 0.6865 GB, free: 30.44 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004755/0.4534, allocations: 328.1 kB / 0.6868 GB, free: 30.3 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003727/0.4572, allocations: 2.563 MB / 0.6893 GB, free: 29.76 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.05e-05/0.4572, allocations: 19.72 kB / 0.6893 GB, free: 29.76 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.295e-05/0.4572, allocations: 8.875 kB / 0.6893 GB, free: 29.76 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.715e-05/0.4572, allocations: 12.41 kB / 0.6893 GB, free: 29.76 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004555/0.4618, allocations: 3.27 MB / 0.6925 GB, free: 29.04 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.713e-06/0.4618, allocations: 3.969 kB / 0.6925 GB, free: 29.04 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005924/0.4624, allocations: 237.7 kB / 0.6927 GB, free: 29.04 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001175/0.4636, allocations: 0.5229 MB / 0.6933 GB, free: 28.92 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.856e-05/0.4637, allocations: 70.44 kB / 0.6933 GB, free: 28.91 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005823/0.4695, allocations: 17.36 MB / 0.7103 GB, free: 13.02 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.4695, allocations: 3.625 kB / 0.7103 GB, free: 13.02 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002706/0.4722, allocations: 2.266 MB / 0.7125 GB, free: 12.25 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005739/0.4728, allocations: 420 kB / 0.7129 GB, free: 12.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001531/0.4729, allocations: 50.92 kB / 0.7129 GB, free: 12.09 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000434/0.4733, allocations: 44.62 kB / 0.713 GB, free: 12.09 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002777/0.4736, allocations: 167.8 kB / 0.7131 GB, free: 12.09 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.287e-05/0.4737, allocations: 53.98 kB / 0.7132 GB, free: 12.09 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0006469/0.4743, allocations: 0.9191 MB / 0.7141 GB, free: 11.9 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4743, allocations: 0 / 0.7141 GB, free: 11.9 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.00182/0.4762, allocations: 0.7377 MB / 0.7148 GB, free: 11.88 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.000366/0.4765, allocations: 270.8 kB / 0.7151 GB, free: 11.77 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.002112/0.4786, allocations: 2.73 MB / 0.7177 GB, free: 10.06 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.4786, allocations: 0.5625 kB / 0.7177 GB, free: 10.06 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.001272/0.4799, allocations: 2.294 MB / 0.72 GB, free: 8.449 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001983/0.4819, allocations: 0.8892 MB / 0.7208 GB, free: 8.324 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005275/0.4872, allocations: 4.631 MB / 0.7254 GB, free: 6.223 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003723/0.4875, allocations: 480.5 kB / 0.7258 GB, free: 6.09 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0009177/0.4885, allocations: 412.6 kB / 0.7262 GB, free: 5.953 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001036/0.4895, allocations: 0.7496 MB / 0.727 GB, free: 5.887 MB / 0.5573 GB Notification: Performance of SimCode: time 1.282e-06/0.4895, allocations: 0 / 0.727 GB, free: 5.887 MB / 0.5573 GB Notification: Performance of Templates: time 0.05409/0.5436, allocations: 45.77 MB / 0.7716 GB, free: 4.598 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: 4.952353402972221]