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.001561/0.001561, allocations: 110.5 kB / 19.69 MB, free: 2.254 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.00181/0.00181, allocations: 216.7 kB / 23.01 MB, free: 4.566 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.353/1.353, allocations: 230.6 MB / 256.8 MB, free: 8.035 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo): time 0.7154/0.7154, allocations: 94.56 MB / 407.7 MB, free: 9.188 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.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: ThermofluidStream requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ThermofluidStream requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002439/0.002439, allocations: 85.98 kB / 0.5562 GB, free: 38.54 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1141/0.1166, allocations: 73.06 MB / 0.6275 GB, free: 15.96 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Topology.Tests.TestConnectors): time 0.4948/0.6114, allocations: 227.3 MB / 0.8495 GB, free: 8.414 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.03764/0.649, allocations: 31.23 MB / 0.88 GB, free: 13.09 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003829/0.6529, allocations: 198.2 kB / 0.8802 GB, free: 12.89 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.005277/0.6581, allocations: 1.751 MB / 0.8819 GB, free: 11.13 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.008048/0.6662, allocations: 2.753 MB / 0.8846 GB, free: 8.363 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.007633/0.6738, allocations: 2.697 MB / 0.8873 GB, free: 5.656 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.007986/0.6818, allocations: 4.881 MB / 0.892 GB, free: 0.7578 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00185/0.6837, allocations: 0.6394 MB / 0.8926 GB, free: 64 kB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005553/0.6892, allocations: 2.51 MB / 0.8951 GB, free: 13.54 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004343/0.6936, allocations: 2.331 MB / 0.8974 GB, free: 11.2 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0008859/0.6944, allocations: 272 kB / 0.8976 GB, free: 10.94 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009039/0.7035, allocations: 3.821 MB / 0.9014 GB, free: 7.109 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.001071/0.7046, allocations: 0.6342 MB / 0.902 GB, free: 6.473 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.003032/0.7076, allocations: 1.566 MB / 0.9035 GB, free: 4.898 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.01107/0.7187, allocations: 5.001 MB / 0.9084 GB, free: 15.88 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.7187, allocations: 0 / 0.9084 GB, free: 15.88 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.793e-06/0.7187, allocations: 0 / 0.9084 GB, free: 15.88 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0001251/0.7188, allocations: 0 / 0.9084 GB, free: 15.88 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 532 * Number of variables: 532 Notification: Performance of Generate backend data structure: time 0.0083/0.7271, allocations: 3.597 MB / 0.9119 GB, free: 12.22 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.7271, allocations: 12.62 kB / 0.9119 GB, free: 12.21 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007732/0.7279, allocations: 354.7 kB / 0.9123 GB, free: 11.86 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004232/0.7321, allocations: 1.927 MB / 0.9141 GB, free: 9.848 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000143/0.7323, allocations: 156.2 kB / 0.9143 GB, free: 9.691 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000418/0.7327, allocations: 223.9 kB / 0.9145 GB, free: 9.473 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004331/0.737, allocations: 2.503 MB / 0.9169 GB, free: 6.855 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.795e-05/0.7371, allocations: 0 / 0.9169 GB, free: 6.855 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001706/0.7372, allocations: 88 kB / 0.917 GB, free: 6.77 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-05/0.7373, allocations: 51.98 kB / 0.9171 GB, free: 6.719 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003909/0.7412, allocations: 2.273 MB / 0.9193 GB, free: 4.434 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01374/0.7549, allocations: 11.15 MB / 0.9302 GB, free: 8.43 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003272/0.7582, allocations: 1.622 MB / 0.9318 GB, free: 6.789 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001418/0.7596, allocations: 0.8137 MB / 0.9326 GB, free: 5.977 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006476/0.7661, allocations: 3.375 MB / 0.9359 GB, free: 2.578 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001863/0.768, allocations: 1.035 MB / 0.9369 GB, free: 1.523 MB / 0.67 GB Notification: Performance of pre-optimization done (n=183): time 3.707e-06/0.768, allocations: 0 / 0.9369 GB, free: 1.523 MB / 0.67 GB Notification: Performance of matching and sorting (n=184): time 0.01165/0.7796, allocations: 5.33 MB / 0.9421 GB, free: 12.13 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.195e-05/0.7797, allocations: 103 kB / 0.9422 GB, free: 12.01 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002455/0.7821, allocations: 1.875 MB / 0.944 GB, free: 10.12 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0001266/0.7823, allocations: 57.7 kB / 0.9441 GB, free: 10.06 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.001015/0.7833, allocations: 1.111 MB / 0.9451 GB, free: 8.938 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005678/0.7839, allocations: 0.6428 MB / 0.9458 GB, free: 8.289 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004634/0.7843, allocations: 299.5 kB / 0.9461 GB, free: 7.992 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001213/0.7844, allocations: 305.1 kB / 0.9463 GB, free: 7.691 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00133/0.7858, allocations: 0.6677 MB / 0.947 GB, free: 7.023 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001451/0.7872, allocations: 0.8493 MB / 0.9478 GB, free: 6.129 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00286/0.7901, allocations: 1.669 MB / 0.9495 GB, free: 4.41 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.7901, allocations: 0 / 0.9495 GB, free: 4.41 MB / 0.6856 GB Notification: Performance of matching and sorting (n=208) (initialization): time 0.005164/0.7952, allocations: 2.543 MB / 0.9519 GB, free: 1.828 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 4.932e-05/0.7953, allocations: 43.77 kB / 0.952 GB, free: 1.781 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.272e-05/0.7953, allocations: 4 kB / 0.952 GB, free: 1.777 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001968/0.7973, allocations: 0.6231 MB / 0.9526 GB, free: 1.129 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001036/0.7983, allocations: 295.6 kB / 0.9529 GB, free: 0.8398 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01823/0.8165, allocations: 15.3 MB / 0.9678 GB, free: 0.5117 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00148/0.818, allocations: 103.5 kB / 0.9679 GB, free: 420 kB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003994/0.8184, allocations: 71.97 kB / 0.968 GB, free: 348 kB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (163): * Single equations (assignments): 153 * 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.001255/0.8197, allocations: 439.1 kB / 0.9684 GB, free: 15.9 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006035/0.8203, allocations: 270.3 kB / 0.9687 GB, free: 15.64 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006484/0.8268, allocations: 3.452 MB / 0.972 GB, free: 12.18 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.761e-05/0.8268, allocations: 20 kB / 0.9721 GB, free: 12.16 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.263e-05/0.8268, allocations: 8 kB / 0.9721 GB, free: 12.15 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.325e-05/0.8268, allocations: 11.91 kB / 0.9721 GB, free: 12.14 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008983/0.8358, allocations: 5.119 MB / 0.9771 GB, free: 6.922 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.248e-06/0.8358, allocations: 4 kB / 0.9771 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001004/0.8368, allocations: 283.6 kB / 0.9773 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001674/0.8385, allocations: 0.5422 MB / 0.9779 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001341/0.8386, allocations: 71.95 kB / 0.9779 GB, free: 6 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01334/0.852, allocations: 14.32 MB / 0.9919 GB, free: 6.645 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.528e-06/0.852, allocations: 11.86 kB / 0.9919 GB, free: 6.633 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006941/0.8589, allocations: 3.704 MB / 0.9956 GB, free: 2.871 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005827/0.8595, allocations: 269.8 kB / 0.9958 GB, free: 2.605 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003895/0.8599, allocations: 51.95 kB / 0.9959 GB, free: 2.555 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009912/0.8609, allocations: 55.95 kB / 0.9959 GB, free: 2.5 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003663/0.8612, allocations: 185.5 kB / 0.9961 GB, free: 2.32 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001433/0.8614, allocations: 75.95 kB / 0.9962 GB, free: 2.246 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001808/0.8632, allocations: 1.329 MB / 0.9975 GB, free: 0.9102 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1e-07/0.8632, allocations: 0 / 0.9975 GB, free: 0.9102 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002486/0.8657, allocations: 0.9052 MB / 0.9984 GB, free: 4 kB / 0.7325 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 (158): * Single equations (assignments): 147 * 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.001428/0.8671, allocations: 1.009 MB / 0.9993 GB, free: 15.01 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.005032/0.8721, allocations: 2.985 MB / 1.002 GB, free: 11.9 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.546e-06/0.8721, allocations: 0 / 1.002 GB, free: 11.9 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.003303/0.8754, allocations: 2.161 MB / 1.004 GB, free: 9.625 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00341/0.8789, allocations: 0.8231 MB / 1.005 GB, free: 8.832 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008878/0.8877, allocations: 5.119 MB / 1.01 GB, free: 3.648 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001609/0.8893, allocations: 1.688 MB / 1.012 GB, free: 1.926 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006833/0.89, allocations: 239.4 kB / 1.012 GB, free: 1.691 MB / 0.7481 GB Notification: Performance of SimCode: time 5.71e-07/0.89, allocations: 0 / 1.012 GB, free: 1.691 MB / 0.7481 GB Notification: Performance of Templates: time 0.3514/1.241, allocations: 143.8 MB / 1.153 GB, free: 221.9 MB / 0.7794 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/jenkins1/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: 15.297958703013137]