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.001374/0.001374, allocations: 92.22 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.00154/0.00154, allocations: 169 kB / 23.02 MB, free: 1.551 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.9039/0.9039, allocations: 177.1 MB / 203.4 MB, free: 5.621 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.6962/0.6962, 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 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.783e-06/1.783e-06, allocations: 0 / 483.6 MB, free: 8.23 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.328e-05/2.507e-05, allocations: 8.906 kB / 483.6 MB, free: 8.227 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Topology.Tests.TestConnectors): time 0.1233/0.1233, allocations: 144.1 MB / 0.613 GB, free: 144 kB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.007703/0.131, allocations: 5.308 MB / 0.6182 GB, free: 10.82 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002097/0.1331, allocations: 210.1 kB / 0.6184 GB, free: 10.61 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.001361/0.1344, allocations: 0.6933 MB / 0.619 GB, free: 9.91 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.003441/0.1379, allocations: 2.11 MB / 0.6211 GB, free: 7.785 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.002024/0.1399, allocations: 1.103 MB / 0.6222 GB, free: 6.68 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.004443/0.1444, allocations: 5.375 MB / 0.6274 GB, free: 1.281 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009464/0.1453, allocations: 0.6203 MB / 0.628 GB, free: 0.6016 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003639/0.1489, allocations: 2.825 MB / 0.6308 GB, free: 13.77 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002327/0.1513, allocations: 2.135 MB / 0.6329 GB, free: 11.63 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.0005138/0.1518, allocations: 272 kB / 0.6331 GB, free: 11.36 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001269/0.1531, allocations: 0.6165 MB / 0.6337 GB, free: 10.75 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0003854/0.1534, allocations: 0.6729 MB / 0.6344 GB, free: 10.07 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0009815/0.1544, allocations: 1.122 MB / 0.6355 GB, free: 8.945 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.003022/0.1574, allocations: 3.036 MB / 0.6385 GB, free: 5.898 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.1574, allocations: 0 / 0.6385 GB, free: 5.898 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.452e-06/0.1574, allocations: 0 / 0.6385 GB, free: 5.898 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 3.548e-05/0.1575, allocations: 0 / 0.6385 GB, free: 5.898 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.003723/0.1612, allocations: 3.694 MB / 0.6421 GB, free: 2.133 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/0.1612, allocations: 12.03 kB / 0.6421 GB, free: 2.121 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007196/0.162, allocations: 0.5997 MB / 0.6427 GB, free: 1.52 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2184/0.3803, allocations: 2.193 MB / 0.6448 GB, free: 51.8 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000153/0.3805, allocations: 156.7 kB / 0.645 GB, free: 51.79 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003997/0.3809, allocations: 227.2 kB / 0.6452 GB, free: 51.79 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003003/0.3839, allocations: 1.753 MB / 0.6469 GB, free: 51.41 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.045e-05/0.3839, allocations: 0.7188 kB / 0.6469 GB, free: 51.41 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001142/0.3841, allocations: 87.5 kB / 0.647 GB, free: 51.41 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-05/0.3841, allocations: 52.34 kB / 0.647 GB, free: 51.41 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001809/0.3859, allocations: 1.026 MB / 0.648 GB, free: 51.38 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007194/0.3931, allocations: 7.853 MB / 0.6557 GB, free: 48.35 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001731/0.3948, allocations: 1.274 MB / 0.6569 GB, free: 48.23 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000616/0.3955, allocations: 497.7 kB / 0.6574 GB, free: 48.2 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004015/0.3995, allocations: 3.026 MB / 0.6604 GB, free: 47.45 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009856/0.4005, allocations: 0.6991 MB / 0.661 GB, free: 47.34 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=178): time 5.931e-06/0.4005, allocations: 1 kB / 0.661 GB, free: 47.34 MB / 0.5573 GB Notification: Performance of matching and sorting (n=179): time 0.006449/0.4069, allocations: 3.951 MB / 0.6649 GB, free: 46.07 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.635e-05/0.407, allocations: 102.7 kB / 0.665 GB, free: 45.98 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001712/0.4087, allocations: 1.572 MB / 0.6665 GB, free: 45.69 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 9.416e-05/0.4088, allocations: 56.7 kB / 0.6666 GB, free: 45.66 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006763/0.4094, allocations: 1.272 MB / 0.6678 GB, free: 45.2 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003656/0.4098, allocations: 0.6343 MB / 0.6685 GB, free: 44.78 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003483/0.4102, allocations: 293.9 kB / 0.6687 GB, free: 44.75 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 4.204e-05/0.4102, allocations: 476.8 kB / 0.6692 GB, free: 44.29 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005855/0.4108, allocations: 342.1 kB / 0.6695 GB, free: 44.25 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006818/0.4115, allocations: 0.5794 MB / 0.6701 GB, free: 44.01 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001373/0.4128, allocations: 0.9997 MB / 0.6711 GB, free: 43.75 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.845e-06/0.4129, allocations: 1.125 kB / 0.6711 GB, free: 43.75 MB / 0.5573 GB Notification: Performance of matching and sorting (n=205) (initialization): time 0.003044/0.4159, allocations: 1.868 MB / 0.6729 GB, free: 43.33 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 4.768e-05/0.4159, allocations: 37.44 kB / 0.6729 GB, free: 43.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.382e-05/0.416, allocations: 4.469 kB / 0.6729 GB, free: 43.3 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001369/0.4173, allocations: 0.5488 MB / 0.6735 GB, free: 43.18 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000686/0.418, allocations: 279.5 kB / 0.6737 GB, free: 43.18 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008156/0.4262, allocations: 18.09 MB / 0.6914 GB, free: 27.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001016/0.4272, allocations: 93.39 kB / 0.6915 GB, free: 27.06 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001111/0.4273, allocations: 70.42 kB / 0.6915 GB, free: 27.06 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.0005401/0.4278, allocations: 251.5 kB / 0.6918 GB, free: 26.89 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003813/0.4282, allocations: 327.5 kB / 0.6921 GB, free: 26.75 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003149/0.4314, allocations: 2.665 MB / 0.6947 GB, free: 26.21 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.09e-05/0.4314, allocations: 18.72 kB / 0.6947 GB, free: 26.21 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.298e-05/0.4314, allocations: 9.375 kB / 0.6947 GB, free: 26.21 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.307e-05/0.4314, allocations: 11.95 kB / 0.6947 GB, free: 26.21 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004508/0.4359, allocations: 3.723 MB / 0.6984 GB, free: 25.46 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/0.4359, allocations: 3.531 kB / 0.6984 GB, free: 25.46 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005037/0.4364, allocations: 238.4 kB / 0.6986 GB, free: 25.46 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001114/0.4375, allocations: 0.5425 MB / 0.6991 GB, free: 25.34 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001208/0.4377, allocations: 66.05 kB / 0.6992 GB, free: 25.34 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006115/0.4438, allocations: 17.65 MB / 0.7164 GB, free: 9.234 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.4438, allocations: 0.875 kB / 0.7164 GB, free: 9.234 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003373/0.4471, allocations: 2.468 MB / 0.7188 GB, free: 8.43 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006168/0.4478, allocations: 421.1 kB / 0.7192 GB, free: 8.172 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002094/0.448, allocations: 47.97 kB / 0.7193 GB, free: 8.141 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004997/0.4485, allocations: 54.11 kB / 0.7193 GB, free: 8.113 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003021/0.4488, allocations: 166.3 kB / 0.7195 GB, free: 8.086 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.043e-05/0.4489, allocations: 64.09 kB / 0.7196 GB, free: 8.074 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0008207/0.4497, allocations: 1.001 MB / 0.7205 GB, free: 7.719 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.2e-07/0.4497, allocations: 0 / 0.7205 GB, free: 7.719 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001911/0.4516, allocations: 0.7368 MB / 0.7213 GB, free: 7.633 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.0004807/0.4521, allocations: 263.7 kB / 0.7215 GB, free: 7.5 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.002443/0.4545, allocations: 2.865 MB / 0.7243 GB, free: 5.566 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.4545, allocations: 4.062 kB / 0.7243 GB, free: 5.566 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0015/0.456, allocations: 2.347 MB / 0.7266 GB, free: 3.805 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002065/0.4581, allocations: 0.8903 MB / 0.7275 GB, free: 3.508 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005457/0.4635, allocations: 4.674 MB / 0.732 GB, free: 1.16 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004407/0.464, allocations: 479.9 kB / 0.7325 GB, free: 1.02 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0008754/0.4648, allocations: 438.8 kB / 0.7329 GB, free: 0.8789 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003451/0.4652, allocations: 214.9 kB / 0.7331 GB, free: 0.8477 MB / 0.5573 GB Notification: Performance of SimCode: time 1.163e-06/0.4652, allocations: 0 / 0.7331 GB, free: 0.8477 MB / 0.5573 GB Notification: Performance of Templates: time 0.05265/0.5178, allocations: 45.11 MB / 0.7772 GB, free: 15.26 MB / 0.6042 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.017506124917418]