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.0009592/0.0009592, 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.0009894/0.0009894, allocations: 169.3 kB / 23.02 MB, free: 1.547 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.9176/0.9176, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.6574/0.6574, allocations: 118.6 MB / 378.6 MB, free: 1.504 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 2.455e-06/2.455e-06, allocations: 0 / 483.6 MB, free: 8.246 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.088e-05/3.333e-05, allocations: 2.312 kB / 483.6 MB, free: 8.242 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Topology.Tests.TestConnectors): time 0.127/0.127, allocations: 144.1 MB / 0.613 GB, free: 164 kB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.008188/0.1352, allocations: 5.304 MB / 0.6182 GB, free: 10.84 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001842/0.137, allocations: 210.1 kB / 0.6184 GB, free: 10.63 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.001207/0.1382, allocations: 0.701 MB / 0.6191 GB, free: 9.926 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.003037/0.1413, allocations: 2.114 MB / 0.6211 GB, free: 7.797 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.00193/0.1432, allocations: 1.091 MB / 0.6222 GB, free: 6.703 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.004406/0.1476, allocations: 5.383 MB / 0.6274 GB, free: 1.297 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009287/0.1486, allocations: 0.6242 MB / 0.628 GB, free: 0.6133 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003313/0.1519, allocations: 2.817 MB / 0.6308 GB, free: 13.79 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002356/0.1542, allocations: 2.147 MB / 0.6329 GB, free: 11.64 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.0005017/0.1547, allocations: 268 kB / 0.6332 GB, free: 11.38 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001178/0.1559, allocations: 0.6204 MB / 0.6338 GB, free: 10.75 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0003822/0.1563, allocations: 0.6652 MB / 0.6344 GB, free: 10.09 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0009296/0.1572, allocations: 1.126 MB / 0.6355 GB, free: 8.957 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.00244/0.1597, allocations: 3.04 MB / 0.6385 GB, free: 5.906 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.1597, allocations: 0 / 0.6385 GB, free: 5.906 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.213e-06/0.1597, allocations: 0 / 0.6385 GB, free: 5.906 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 3.787e-05/0.1597, allocations: 0 / 0.6385 GB, free: 5.906 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.003874/0.1636, allocations: 3.694 MB / 0.6421 GB, free: 2.141 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.065e-05/0.1636, allocations: 12.03 kB / 0.6421 GB, free: 2.129 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007635/0.1644, allocations: 0.5919 MB / 0.6427 GB, free: 1.535 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2428/0.4072, allocations: 2.195 MB / 0.6448 GB, free: 51.2 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001287/0.4073, allocations: 157.8 kB / 0.645 GB, free: 51.19 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000339/0.4077, allocations: 226.3 kB / 0.6452 GB, free: 51.19 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002808/0.4105, allocations: 1.749 MB / 0.6469 GB, free: 50.81 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.661e-05/0.4105, allocations: 5.25 kB / 0.6469 GB, free: 50.81 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001084/0.4106, allocations: 91.25 kB / 0.647 GB, free: 50.81 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-05/0.4107, allocations: 51.84 kB / 0.647 GB, free: 50.81 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001812/0.4125, allocations: 1.019 MB / 0.648 GB, free: 50.78 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00734/0.4198, allocations: 7.857 MB / 0.6557 GB, free: 47.8 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001617/0.4214, allocations: 1.275 MB / 0.6569 GB, free: 47.69 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005898/0.422, allocations: 0.4899 MB / 0.6574 GB, free: 47.66 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003617/0.4256, allocations: 3.019 MB / 0.6604 GB, free: 46.95 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009365/0.4266, allocations: 0.6983 MB / 0.6611 GB, free: 46.84 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=178): time 4.939e-06/0.4266, allocations: 1.203 kB / 0.6611 GB, free: 46.84 MB / 0.5573 GB Notification: Performance of matching and sorting (n=179): time 0.005722/0.4323, allocations: 3.953 MB / 0.6649 GB, free: 45.64 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.347e-05/0.4323, allocations: 102.2 kB / 0.665 GB, free: 45.54 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001597/0.4339, allocations: 1.573 MB / 0.6665 GB, free: 45.26 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 7.806e-05/0.434, allocations: 57.42 kB / 0.6666 GB, free: 45.23 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.000618/0.4346, allocations: 1.271 MB / 0.6678 GB, free: 44.88 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003354/0.435, allocations: 0.6349 MB / 0.6685 GB, free: 44.51 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003412/0.4353, allocations: 295.3 kB / 0.6687 GB, free: 44.48 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 4.189e-05/0.4354, allocations: 480 kB / 0.6692 GB, free: 44.01 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005545/0.4359, allocations: 339 kB / 0.6695 GB, free: 43.98 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006851/0.4366, allocations: 0.5776 MB / 0.6701 GB, free: 43.73 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001572/0.4382, allocations: 0.998 MB / 0.6711 GB, free: 43.48 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.459e-06/0.4382, allocations: 1.812 kB / 0.6711 GB, free: 43.48 MB / 0.5573 GB Notification: Performance of matching and sorting (n=205) (initialization): time 0.002749/0.4409, allocations: 1.863 MB / 0.6729 GB, free: 43.06 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 3.583e-05/0.441, allocations: 36.27 kB / 0.6729 GB, free: 43.03 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.123e-05/0.441, allocations: 3.875 kB / 0.6729 GB, free: 43.03 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001284/0.4423, allocations: 0.5526 MB / 0.6735 GB, free: 42.91 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006504/0.4429, allocations: 282.6 kB / 0.6737 GB, free: 42.91 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008133/0.451, allocations: 18.1 MB / 0.6914 GB, free: 26.82 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00069/0.4517, allocations: 95.12 kB / 0.6915 GB, free: 26.79 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001062/0.4518, allocations: 71.58 kB / 0.6916 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.000483/0.4523, allocations: 241.7 kB / 0.6918 GB, free: 26.62 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003213/0.4526, allocations: 336.4 kB / 0.6921 GB, free: 26.47 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003024/0.4557, allocations: 2.661 MB / 0.6947 GB, free: 25.92 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.676e-06/0.4557, allocations: 17.88 kB / 0.6947 GB, free: 25.92 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.108e-05/0.4557, allocations: 10.06 kB / 0.6947 GB, free: 25.92 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.199e-05/0.4557, allocations: 9.812 kB / 0.6948 GB, free: 25.92 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004287/0.46, allocations: 3.728 MB / 0.6984 GB, free: 25.16 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.09e-06/0.46, allocations: 0 / 0.6984 GB, free: 25.16 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005077/0.4605, allocations: 247.3 kB / 0.6986 GB, free: 25.16 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001077/0.4616, allocations: 0.5365 MB / 0.6992 GB, free: 25.04 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001035/0.4617, allocations: 59.83 kB / 0.6992 GB, free: 25.04 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005776/0.4674, allocations: 17.64 MB / 0.7164 GB, free: 8.945 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.4675, allocations: 2.75 kB / 0.7164 GB, free: 8.945 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002881/0.4703, allocations: 2.472 MB / 0.7189 GB, free: 8.133 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004565/0.4708, allocations: 427.7 kB / 0.7193 GB, free: 7.871 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001611/0.471, allocations: 42.64 kB / 0.7193 GB, free: 7.844 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004531/0.4714, allocations: 52.75 kB / 0.7194 GB, free: 7.816 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002962/0.4717, allocations: 163.7 kB / 0.7195 GB, free: 7.789 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.523e-05/0.4718, allocations: 64.3 kB / 0.7196 GB, free: 7.777 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0008331/0.4726, allocations: 0.9971 MB / 0.7205 GB, free: 7.422 MB / 0.5573 GB Notification: Performance of sort global known variables: time 9e-08/0.4726, allocations: 4.156 kB / 0.7206 GB, free: 7.422 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.00162/0.4742, allocations: 0.7369 MB / 0.7213 GB, free: 7.336 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.0003941/0.4746, allocations: 279.4 kB / 0.7215 GB, free: 7.195 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.002259/0.4769, allocations: 2.863 MB / 0.7243 GB, free: 5.262 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.4769, allocations: 0 / 0.7243 GB, free: 5.262 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.001399/0.4783, allocations: 2.35 MB / 0.7266 GB, free: 3.5 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002034/0.4803, allocations: 0.884 MB / 0.7275 GB, free: 3.203 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005532/0.4859, allocations: 4.659 MB / 0.732 GB, free: 0.8594 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004002/0.4863, allocations: 477.7 kB / 0.7325 GB, free: 0.7227 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0009331/0.4872, allocations: 443.3 kB / 0.7329 GB, free: 0.582 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003464/0.4875, allocations: 217.7 kB / 0.7331 GB, free: 0.543 MB / 0.5573 GB Notification: Performance of SimCode: time 1.392e-06/0.4875, allocations: 3.344 kB / 0.7331 GB, free: 0.543 MB / 0.5573 GB Notification: Performance of Templates: time 0.05996/0.5475, allocations: 45.1 MB / 0.7772 GB, free: 14.77 MB / 0.6042 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.017060164827853]