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.0009334/0.0009334, allocations: 73.09 kB / 20.66 MB, free: 3.844 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.0009593/0.0009593, allocations: 169 kB / 24.06 MB, free: 456 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.8882/0.8882, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.7852/0.7852, allocations: 118.6 MB / 379.7 MB, free: 1.34 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.262e-06/1.262e-06, allocations: 0 / 484.9 MB, free: 8.121 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.626e-05/1.752e-05, allocations: 2.312 kB / 484.9 MB, free: 8.117 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Topology.Tests.TestConnectors): time 0.135/0.135, allocations: 140.9 MB / 0.6111 GB, free: 2.973 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.008359/0.1434, allocations: 5.281 MB / 0.6163 GB, free: 13.68 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002527/0.1459, allocations: 206.1 kB / 0.6165 GB, free: 13.47 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.001886/0.1478, allocations: 0.6933 MB / 0.6172 GB, free: 12.77 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.004178/0.152, allocations: 2.107 MB / 0.6192 GB, free: 10.65 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.0022/0.1542, allocations: 1.103 MB / 0.6203 GB, free: 9.547 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.005372/0.1596, allocations: 5.387 MB / 0.6255 GB, free: 4.141 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001126/0.1607, allocations: 0.6281 MB / 0.6262 GB, free: 3.453 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004496/0.1652, allocations: 2.813 MB / 0.6289 GB, free: 0.6328 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002593/0.1678, allocations: 2.147 MB / 0.631 GB, free: 14.48 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.0005016/0.1683, allocations: 268 kB / 0.6313 GB, free: 14.22 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001144/0.1694, allocations: 0.6205 MB / 0.6319 GB, free: 13.6 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.000395/0.1698, allocations: 0.6651 MB / 0.6325 GB, free: 12.93 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.001213/0.171, allocations: 1.13 MB / 0.6336 GB, free: 11.8 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.003355/0.1744, allocations: 3.036 MB / 0.6366 GB, free: 8.75 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.1744, allocations: 0 / 0.6366 GB, free: 8.75 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.062e-06/0.1744, allocations: 0 / 0.6366 GB, free: 8.75 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 7.219e-05/0.1745, allocations: 0 / 0.6366 GB, free: 8.75 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.003871/0.1783, allocations: 3.69 MB / 0.6402 GB, free: 4.988 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.37e-05/0.1784, allocations: 8.031 kB / 0.6402 GB, free: 4.98 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007476/0.1791, allocations: 0.5958 MB / 0.6408 GB, free: 4.383 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002638/0.1817, allocations: 2.179 MB / 0.6429 GB, free: 2.125 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.334e-05/0.1818, allocations: 156.6 kB / 0.6431 GB, free: 1.969 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002069/0.182, allocations: 224.3 kB / 0.6433 GB, free: 1.75 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001664/0.1837, allocations: 1.603 MB / 0.6448 GB, free: 4 kB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.18e-05/0.1837, allocations: 4 kB / 0.6448 GB, free: 0 / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.21/0.3937, allocations: 83.2 kB / 0.6449 GB, free: 53.6 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.735e-05/0.3938, allocations: 52 kB / 0.645 GB, free: 53.6 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001621/0.3954, allocations: 0.7733 MB / 0.6457 GB, free: 53.56 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008195/0.4036, allocations: 7.497 MB / 0.653 GB, free: 50.69 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001541/0.4051, allocations: 1.17 MB / 0.6542 GB, free: 50.59 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004487/0.4056, allocations: 423.7 kB / 0.6546 GB, free: 50.56 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003825/0.4094, allocations: 2.984 MB / 0.6575 GB, free: 49.84 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006779/0.4101, allocations: 0.6416 MB / 0.6581 GB, free: 49.73 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=178): time 3.306e-06/0.4101, allocations: 0 / 0.6581 GB, free: 49.73 MB / 0.5573 GB Notification: Performance of matching and sorting (n=179): time 0.004592/0.4147, allocations: 2.909 MB / 0.661 GB, free: 49.14 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.414e-05/0.4147, allocations: 100.1 kB / 0.6611 GB, free: 49.05 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001132/0.4158, allocations: 1.54 MB / 0.6626 GB, free: 48.77 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 7.932e-05/0.4159, allocations: 56.77 kB / 0.6626 GB, free: 48.73 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.000612/0.4165, allocations: 1.275 MB / 0.6639 GB, free: 48.38 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003462/0.4169, allocations: 0.644 MB / 0.6645 GB, free: 48.05 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003401/0.4172, allocations: 301.2 kB / 0.6648 GB, free: 48.02 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 4.008e-05/0.4172, allocations: 482.9 kB / 0.6652 GB, free: 47.55 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000422/0.4177, allocations: 267.9 kB / 0.6655 GB, free: 47.51 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005005/0.4182, allocations: 0.5117 MB / 0.666 GB, free: 47.27 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009761/0.4191, allocations: 0.8674 MB / 0.6669 GB, free: 47.01 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.591e-06/0.4191, allocations: 1.688 kB / 0.6669 GB, free: 47.01 MB / 0.5573 GB Notification: Performance of matching and sorting (n=205) (initialization): time 0.002768/0.4219, allocations: 1.709 MB / 0.6685 GB, free: 46.6 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 3.969e-05/0.422, allocations: 33.56 kB / 0.6686 GB, free: 46.57 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.36e-05/0.422, allocations: 5.578 kB / 0.6686 GB, free: 46.57 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001338/0.4233, allocations: 0.5303 MB / 0.6691 GB, free: 46.46 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006067/0.4239, allocations: 274.5 kB / 0.6693 GB, free: 46.46 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007509/0.4314, allocations: 17.81 MB / 0.6867 GB, free: 30.59 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008772/0.4323, allocations: 85.02 kB / 0.6868 GB, free: 30.57 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001168/0.4324, allocations: 59.81 kB / 0.6869 GB, free: 30.57 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.0005283/0.4329, allocations: 246.2 kB / 0.6871 GB, free: 30.41 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004371/0.4334, allocations: 327.4 kB / 0.6874 GB, free: 30.27 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003144/0.4365, allocations: 2.565 MB / 0.6899 GB, free: 29.76 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.5e-05/0.4365, allocations: 20.34 kB / 0.6899 GB, free: 29.76 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.089e-05/0.4366, allocations: 9.781 kB / 0.6899 GB, free: 29.76 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.22e-05/0.4366, allocations: 8.906 kB / 0.69 GB, free: 29.76 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003998/0.4406, allocations: 3.272 MB / 0.6932 GB, free: 29.04 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/0.4406, allocations: 2.656 kB / 0.6932 GB, free: 29.04 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004922/0.4411, allocations: 241.4 kB / 0.6934 GB, free: 29.04 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001036/0.4421, allocations: 0.5236 MB / 0.6939 GB, free: 28.91 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001093/0.4422, allocations: 63.05 kB / 0.694 GB, free: 28.91 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005373/0.4476, allocations: 17.36 MB / 0.7109 GB, free: 13.02 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.4476, allocations: 4.594 kB / 0.7109 GB, free: 13.02 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002714/0.4503, allocations: 2.263 MB / 0.7131 GB, free: 12.26 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006433/0.4509, allocations: 421.9 kB / 0.7135 GB, free: 12.11 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002036/0.4512, allocations: 47.98 kB / 0.7136 GB, free: 12.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005036/0.4517, allocations: 43.47 kB / 0.7136 GB, free: 12.1 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002656/0.4519, allocations: 167.5 kB / 0.7138 GB, free: 12.09 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.044e-05/0.452, allocations: 53.91 kB / 0.7138 GB, free: 12.09 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0006224/0.4526, allocations: 0.9187 MB / 0.7147 GB, free: 11.91 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2e-07/0.4526, allocations: 0 / 0.7147 GB, free: 11.91 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001613/0.4542, allocations: 0.7387 MB / 0.7154 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.0004091/0.4546, allocations: 273.5 kB / 0.7157 GB, free: 11.77 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.002205/0.4569, allocations: 2.731 MB / 0.7184 GB, free: 10.06 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.4569, allocations: 3.625 kB / 0.7184 GB, free: 10.06 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.001422/0.4583, allocations: 2.291 MB / 0.7206 GB, free: 8.461 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002243/0.4605, allocations: 0.8847 MB / 0.7215 GB, free: 8.332 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005678/0.4662, allocations: 4.64 MB / 0.726 GB, free: 6.223 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004104/0.4666, allocations: 477.9 kB / 0.7265 GB, free: 6.09 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001095/0.4677, allocations: 416.2 kB / 0.7269 GB, free: 5.949 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001215/0.4689, allocations: 0.7479 MB / 0.7276 GB, free: 5.883 MB / 0.5573 GB Notification: Performance of SimCode: time 1.493e-06/0.4689, allocations: 0 / 0.7276 GB, free: 5.883 MB / 0.5573 GB Notification: Performance of Templates: time 0.05518/0.5241, allocations: 46.55 MB / 0.773 GB, free: 3.871 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.115560109727085]