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.001527/0.001527, allocations: 80.3 kB / 19.18 MB, free: 2.516 MB / 14.72 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.001673/0.001673, allocations: 159.1 kB / 22.45 MB, free: 5.375 MB / 14.72 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 1.403/1.403, allocations: 177.2 MB / 202.8 MB, free: 9.16 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.0/package.mo): time 0.7494/0.7494, allocations: 80.2 MB / 339.4 MB, free: 10.86 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.3.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.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.295e-06/2.295e-06, allocations: 6.781 kB / 0.4929 GB, free: 25.59 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.29e-05/2.52e-05, allocations: 2.281 kB / 0.4929 GB, free: 25.58 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Topology.Tests.TestConnectors): time 0.2385/0.2385, allocations: 203.6 MB / 0.6917 GB, free: 3.305 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.2955/0.534, allocations: 25.21 MB / 0.7163 GB, free: 3.984 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003144/0.5371, allocations: 201.8 kB / 0.7165 GB, free: 3.984 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.004881/0.542, allocations: 1.596 MB / 0.7181 GB, free: 3.93 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.008656/0.5507, allocations: 2.967 MB / 0.721 GB, free: 3.824 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.007797/0.5585, allocations: 2.701 MB / 0.7236 GB, free: 3.5 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.007548/0.566, allocations: 5.32 MB / 0.7288 GB, free: 2.031 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00185/0.5679, allocations: 0.6201 MB / 0.7294 GB, free: 17.86 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008681/0.5765, allocations: 3.339 MB / 0.7327 GB, free: 17.49 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004881/0.5814, allocations: 2.118 MB / 0.7347 GB, free: 17.3 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.001213/0.5826, allocations: 266.8 kB / 0.735 GB, free: 17.3 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009207/0.5918, allocations: 3.209 MB / 0.7381 GB, free: 17.08 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.001238/0.5931, allocations: 0.6594 MB / 0.7388 GB, free: 16.93 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.004131/0.5972, allocations: 1.111 MB / 0.7399 GB, free: 16.8 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.01244/0.6097, allocations: 5.087 MB / 0.7448 GB, free: 16.26 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.6097, allocations: 0.9688 kB / 0.7448 GB, free: 16.26 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.543e-06/0.6097, allocations: 0 / 0.7448 GB, free: 16.26 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0001595/0.6098, allocations: 3.844 kB / 0.7448 GB, free: 16.26 MB / 0.6075 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.009545/0.6194, allocations: 3.611 MB / 0.7484 GB, free: 14.66 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.18e-05/0.6194, allocations: 12.69 kB / 0.7484 GB, free: 14.66 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00152/0.6209, allocations: 390.1 kB / 0.7487 GB, free: 14.47 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004863/0.6258, allocations: 1.936 MB / 0.7506 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001242/0.6259, allocations: 163.4 kB / 0.7508 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006073/0.6265, allocations: 221.1 kB / 0.751 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005495/0.632, allocations: 2.518 MB / 0.7535 GB, free: 13.58 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.522e-05/0.6321, allocations: 9.141 kB / 0.7535 GB, free: 13.58 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002996/0.6324, allocations: 87.22 kB / 0.7535 GB, free: 13.58 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.786e-05/0.6324, allocations: 50.81 kB / 0.7536 GB, free: 13.58 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004039/0.6365, allocations: 2.266 MB / 0.7558 GB, free: 13.55 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01396/0.6504, allocations: 7.485 MB / 0.7631 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003296/0.6537, allocations: 1.618 MB / 0.7647 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001488/0.6552, allocations: 0.8132 MB / 0.7655 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006775/0.662, allocations: 2.991 MB / 0.7684 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001887/0.6639, allocations: 1.036 MB / 0.7694 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=183): time 7.313e-06/0.6639, allocations: 1 kB / 0.7694 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of matching and sorting (n=184): time 0.01239/0.6763, allocations: 5.324 MB / 0.7746 GB, free: 9.453 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.545e-05/0.6763, allocations: 100.7 kB / 0.7747 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001928/0.6783, allocations: 1.516 MB / 0.7762 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0002594/0.6785, allocations: 58.17 kB / 0.7763 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.00107/0.6796, allocations: 1.163 MB / 0.7774 GB, free: 8.008 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007408/0.6803, allocations: 0.6474 MB / 0.778 GB, free: 7.441 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005827/0.6809, allocations: 297.5 kB / 0.7783 GB, free: 7.273 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001276/0.681, allocations: 305.1 kB / 0.7786 GB, free: 6.973 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001352/0.6824, allocations: 0.7018 MB / 0.7793 GB, free: 6.594 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001597/0.684, allocations: 0.8921 MB / 0.7802 GB, free: 6.023 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003103/0.6871, allocations: 1.679 MB / 0.7818 GB, free: 5.059 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.705e-06/0.6871, allocations: 2.938 kB / 0.7818 GB, free: 5.059 MB / 0.6075 GB Notification: Performance of matching and sorting (n=210) (initialization): time 0.005894/0.693, allocations: 2.575 MB / 0.7843 GB, free: 3.68 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.864e-05/0.693, allocations: 34.33 kB / 0.7843 GB, free: 3.648 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.362e-05/0.6931, allocations: 9.469 kB / 0.7844 GB, free: 3.645 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002106/0.6952, allocations: 0.6214 MB / 0.785 GB, free: 3.301 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001254/0.6964, allocations: 299.7 kB / 0.7852 GB, free: 3.238 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01851/0.7149, allocations: 14.99 MB / 0.7999 GB, free: 5.57 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001639/0.7166, allocations: 102.9 kB / 0.8 GB, free: 5.5 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000391/0.717, allocations: 72.59 kB / 0.8001 GB, free: 5.477 MB / 0.6231 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 (165): * Single equations (assignments): 155 * 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.001296/0.7183, allocations: 439 kB / 0.8005 GB, free: 5.176 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007972/0.7191, allocations: 246.3 kB / 0.8007 GB, free: 5.047 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007279/0.7263, allocations: 3.384 MB / 0.804 GB, free: 3.047 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.56e-05/0.7264, allocations: 23.56 kB / 0.804 GB, free: 3.043 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.848e-05/0.7264, allocations: 5.5 kB / 0.804 GB, free: 3.043 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.515e-05/0.7264, allocations: 14.73 kB / 0.8041 GB, free: 3.031 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01023/0.7367, allocations: 4.531 MB / 0.8085 GB, free: 15.51 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.17e-05/0.7367, allocations: 4 kB / 0.8085 GB, free: 15.5 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001195/0.7379, allocations: 279.5 kB / 0.8087 GB, free: 15.24 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001956/0.7398, allocations: 0.5486 MB / 0.8093 GB, free: 14.67 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002982/0.7401, allocations: 63.97 kB / 0.8093 GB, free: 14.61 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01424/0.7544, allocations: 14.01 MB / 0.823 GB, free: 15.79 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.7544, allocations: 3.188 kB / 0.823 GB, free: 15.79 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008154/0.7625, allocations: 3.648 MB / 0.8266 GB, free: 12.11 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006869/0.7632, allocations: 226.1 kB / 0.8268 GB, free: 11.89 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005625/0.7638, allocations: 55.83 kB / 0.8269 GB, free: 11.84 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001248/0.765, allocations: 56.14 kB / 0.8269 GB, free: 11.78 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004968/0.7655, allocations: 180.9 kB / 0.8271 GB, free: 11.61 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002513/0.7658, allocations: 75.97 kB / 0.8272 GB, free: 11.53 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001865/0.7676, allocations: 1.069 MB / 0.8282 GB, free: 10.45 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.71e-07/0.7676, allocations: 0 / 0.8282 GB, free: 10.45 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.003659/0.7713, allocations: 0.9249 MB / 0.8291 GB, free: 9.52 MB / 0.6544 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 (154): * Single equations (assignments): 143 * 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,2,100.0%), (1,2,100.0%), (1,1,100.0%), (1,8,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.001932/0.7732, allocations: 1.005 MB / 0.8301 GB, free: 8.617 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.006072/0.7793, allocations: 3.008 MB / 0.833 GB, free: 5.508 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 6.122e-06/0.7793, allocations: 4 kB / 0.833 GB, free: 5.504 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.00422/0.7835, allocations: 2.161 MB / 0.8351 GB, free: 3.262 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00522/0.7887, allocations: 0.8745 MB / 0.836 GB, free: 2.41 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01138/0.8001, allocations: 4.981 MB / 0.8409 GB, free: 13.41 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001657/0.8018, allocations: 1.127 MB / 0.842 GB, free: 12.24 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001938/0.8037, allocations: 498.1 kB / 0.8424 GB, free: 11.83 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000644/0.8043, allocations: 204.4 kB / 0.8426 GB, free: 11.63 MB / 0.67 GB Notification: Performance of SimCode: time 7.72e-07/0.8043, allocations: 3.938 kB / 0.8426 GB, free: 11.62 MB / 0.67 GB Notification: Performance of Templates: time 0.09416/0.8985, allocations: 52.96 MB / 0.8944 GB, free: 7.59 MB / 0.7169 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=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestConnectors.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestConnectors_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Undirected.Topology.Tests.TestConnectors_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestConnectors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.830917723476887]