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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001589/0.001589, allocations: 113.9 kB / 17.61 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001851/0.001851, allocations: 185.9 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.439/1.439, allocations: 225.6 MB / 249.4 MB, free: 3.145 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0/package.mo): time 0.5948/0.5948, allocations: 90.3 MB / 394.8 MB, free: 3.832 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002413/0.002413, allocations: 87.86 kB / 0.5387 GB, free: 1.574 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3848/0.3872, allocations: 70.82 MB / 0.6078 GB, free: 7.41 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Topology.Tests.TestConnectors): time 0.2656/0.6527, allocations: 226.5 MB / 0.829 GB, free: 8.066 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.04234/0.6951, allocations: 30.91 MB / 0.8592 GB, free: 9.055 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002148/0.6972, allocations: 43.75 kB / 0.8593 GB, free: 9.012 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.004701/0.7019, allocations: 1.697 MB / 0.8609 GB, free: 7.305 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.007104/0.709, allocations: 2.489 MB / 0.8634 GB, free: 4.801 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.007163/0.7162, allocations: 2.623 MB / 0.8659 GB, free: 2.168 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.3112/1.027, allocations: 4.242 MB / 0.8701 GB, free: 7.754 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001086/1.028, allocations: 0.5898 MB / 0.8706 GB, free: 7.625 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004048/1.033, allocations: 2.107 MB / 0.8727 GB, free: 7.625 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004073/1.037, allocations: 2.242 MB / 0.8749 GB, free: 7.625 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0007264/1.037, allocations: 269.3 kB / 0.8751 GB, free: 7.625 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008364/1.046, allocations: 3.786 MB / 0.8788 GB, free: 7.625 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0009024/1.047, allocations: 0.5984 MB / 0.8794 GB, free: 7.625 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.00259/1.049, allocations: 1.406 MB / 0.8808 GB, free: 7.625 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.008327/1.058, allocations: 4.454 MB / 0.8851 GB, free: 7.289 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/1.058, allocations: 0.9688 kB / 0.8851 GB, free: 7.289 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.343e-06/1.058, allocations: 0 / 0.8851 GB, free: 7.289 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 6.569e-05/1.058, allocations: 4.094 kB / 0.8852 GB, free: 7.289 MB / 0.6856 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.007536/1.065, allocations: 3.109 MB / 0.8882 GB, free: 21.89 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.609e-05/1.065, allocations: 8.719 kB / 0.8882 GB, free: 21.89 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006039/1.066, allocations: 281.4 kB / 0.8885 GB, free: 21.75 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001844/1.068, allocations: 1.178 MB / 0.8896 GB, free: 21.32 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001173/1.068, allocations: 159.3 kB / 0.8898 GB, free: 21.32 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003414/1.068, allocations: 221.3 kB / 0.89 GB, free: 21.31 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004393/1.072, allocations: 2.477 MB / 0.8924 GB, free: 21.02 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.375e-05/1.073, allocations: 2.062 kB / 0.8924 GB, free: 21.02 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001712/1.073, allocations: 85.06 kB / 0.8925 GB, free: 21.02 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.261e-05/1.073, allocations: 52 kB / 0.8925 GB, free: 21.02 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003471/1.076, allocations: 2.228 MB / 0.8947 GB, free: 21 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01372/1.09, allocations: 11.04 MB / 0.9055 GB, free: 15.14 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003073/1.093, allocations: 1.629 MB / 0.9071 GB, free: 15.05 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001332/1.094, allocations: 0.8075 MB / 0.9079 GB, free: 15.04 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007892/1.102, allocations: 6.546 MB / 0.9143 GB, free: 10.55 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001677/1.104, allocations: 1.042 MB / 0.9153 GB, free: 10.46 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=183): time 3.536e-06/1.104, allocations: 1.969 kB / 0.9153 GB, free: 10.46 MB / 0.7012 GB Notification: Performance of matching and sorting (n=184): time 0.01114/1.115, allocations: 5.879 MB / 0.921 GB, free: 8.512 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.48e-05/1.115, allocations: 102.2 kB / 0.9211 GB, free: 8.418 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001462/1.117, allocations: 1.314 MB / 0.9224 GB, free: 8.25 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001665/1.117, allocations: 63.08 kB / 0.9225 GB, free: 8.219 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004974/1.117, allocations: 0.8282 MB / 0.9233 GB, free: 7.922 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003894/1.118, allocations: 0.6489 MB / 0.9239 GB, free: 7.496 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004573/1.118, allocations: 294.6 kB / 0.9242 GB, free: 7.48 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001365/1.118, allocations: 301.9 kB / 0.9245 GB, free: 7.184 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001133/1.119, allocations: 0.6655 MB / 0.9251 GB, free: 7.18 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001266/1.121, allocations: 0.8525 MB / 0.926 GB, free: 7.051 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002479/1.123, allocations: 1.665 MB / 0.9276 GB, free: 6.879 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/1.123, allocations: 0 / 0.9276 GB, free: 6.879 MB / 0.7012 GB Notification: Performance of matching and sorting (n=208) (initialization): time 0.004561/1.128, allocations: 2.482 MB / 0.93 GB, free: 6.566 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 4.466e-05/1.128, allocations: 36.2 kB / 0.93 GB, free: 6.535 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.134e-05/1.128, allocations: 3.156 kB / 0.93 GB, free: 6.535 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001804/1.13, allocations: 0.6295 MB / 0.9307 GB, free: 6.453 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001113/1.131, allocations: 295.4 kB / 0.9309 GB, free: 6.453 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01701/1.148, allocations: 16.24 MB / 0.9468 GB, free: 9.922 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001654/1.149, allocations: 91.27 kB / 0.9469 GB, free: 9.895 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002138/1.15, allocations: 75.7 kB / 0.947 GB, free: 9.895 MB / 0.7169 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.0009154/1.15, allocations: 403.6 kB / 0.9473 GB, free: 9.77 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004123/1.151, allocations: 202.8 kB / 0.9475 GB, free: 9.66 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00582/1.157, allocations: 3.384 MB / 0.9508 GB, free: 9.25 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.658e-05/1.157, allocations: 21.5 kB / 0.9509 GB, free: 9.25 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.281e-05/1.157, allocations: 7.656 kB / 0.9509 GB, free: 9.25 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.309e-05/1.157, allocations: 14.36 kB / 0.9509 GB, free: 9.246 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008766/1.165, allocations: 4.958 MB / 0.9557 GB, free: 8.594 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.366e-06/1.166, allocations: 0.75 kB / 0.9557 GB, free: 8.594 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00101/1.167, allocations: 295.2 kB / 0.956 GB, free: 8.59 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001674/1.168, allocations: 0.5443 MB / 0.9565 GB, free: 8.504 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002019/1.168, allocations: 70.81 kB / 0.9566 GB, free: 8.504 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01369/1.182, allocations: 15.26 MB / 0.9715 GB, free: 11.99 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/1.182, allocations: 3.188 kB / 0.9715 GB, free: 11.99 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006281/1.188, allocations: 3.621 MB / 0.9751 GB, free: 11.42 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006491/1.189, allocations: 288.5 kB / 0.9753 GB, free: 11.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003174/1.189, allocations: 53.73 kB / 0.9754 GB, free: 11.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001466/1.191, allocations: 58.59 kB / 0.9754 GB, free: 11.2 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000506/1.191, allocations: 177.2 kB / 0.9756 GB, free: 11.19 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002294/1.192, allocations: 72.5 kB / 0.9757 GB, free: 11.19 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001774/1.193, allocations: 0.9709 MB / 0.9766 GB, free: 11.08 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.31e-07/1.193, allocations: 0 / 0.9766 GB, free: 11.08 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.003869/1.197, allocations: 0.8879 MB / 0.9775 GB, free: 11.03 MB / 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.002195/1.199, allocations: 1.016 MB / 0.9785 GB, free: 10.72 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.007692/1.207, allocations: 2.987 MB / 0.9814 GB, free: 9.566 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 6.572e-06/1.207, allocations: 0 / 0.9814 GB, free: 9.566 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.005829/1.213, allocations: 2.178 MB / 0.9835 GB, free: 8.059 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006743/1.22, allocations: 0.7755 MB / 0.9843 GB, free: 7.598 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01397/1.234, allocations: 4.373 MB / 0.9886 GB, free: 4.02 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002717/1.236, allocations: 1.494 MB / 0.99 GB, free: 2.777 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.003628/1.24, allocations: 455.9 kB / 0.9904 GB, free: 2.469 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001104/1.241, allocations: 179 kB / 0.9906 GB, free: 2.328 MB / 0.7325 GB Notification: Performance of SimCode: time 1.102e-06/1.241, allocations: 3.938 kB / 0.9906 GB, free: 2.324 MB / 0.7325 GB Notification: Performance of Templates: time 0.1101/1.351, allocations: 51.55 MB / 1.041 GB, free: 15.71 MB / 0.795 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: 8.274794510565698]