Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestSplitter.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.001322/0.001322, allocations: 79.86 kB / 19.18 MB, free: 2.527 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.001514/0.001514, allocations: 165.6 kB / 22.46 MB, free: 5.359 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.449/1.449, allocations: 177.1 MB / 202.8 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] 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 1.014/1.014, allocations: 116 MB / 375.2 MB, free: 7.52 MB / 350.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.3.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.Topology.Tests.TestSplitter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|splitterN.inlet.m_flow|splitterN.outlets.2..m_flow|splitterN.outlets.3..m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestSplitter") translateModel(ThermofluidStream.Topology.Tests.TestSplitter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|splitterN.inlet.m_flow|splitterN.outlets.2..m_flow|splitterN.outlets.3..m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestSplitter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 0.5537 GB, free: 13.8 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.618e-05/2.764e-05, allocations: 5.375 kB / 0.5537 GB, free: 13.8 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestSplitter): time 0.1649/0.1649, allocations: 124.5 MB / 0.6753 GB, free: 0.8516 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002366/0.1673, allocations: 1.413 MB / 0.6767 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002729/0.1675, allocations: 23.75 kB / 0.6767 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0006226/0.1682, allocations: 154.9 kB / 0.6768 GB, free: 15.26 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0005966/0.1688, allocations: 238.4 kB / 0.6771 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003855/0.1692, allocations: 135.4 kB / 0.6772 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0005947/0.1697, allocations: 469.6 kB / 0.6776 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001824/0.1699, allocations: 54.56 kB / 0.6777 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005434/0.1705, allocations: 275.2 kB / 0.678 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002798/0.1708, allocations: 155.5 kB / 0.6781 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 3.932e-05/0.1708, allocations: 20 kB / 0.6781 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000496/0.1713, allocations: 231.6 kB / 0.6783 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 6.989e-05/0.1714, allocations: 47.72 kB / 0.6784 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001249/0.1715, allocations: 103.7 kB / 0.6785 GB, free: 13.56 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.00062/0.1721, allocations: 394.7 kB / 0.6789 GB, free: 13.17 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.1721, allocations: 4 kB / 0.6789 GB, free: 13.17 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.433e-06/0.1721, allocations: 0 / 0.6789 GB, free: 13.17 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.082e-06/0.1721, allocations: 0 / 0.6789 GB, free: 13.17 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.0009999/0.1731, allocations: 0.5592 MB / 0.6794 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/0.1732, allocations: 8.031 kB / 0.6794 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.726e-05/0.1732, allocations: 44.66 kB / 0.6795 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005666/0.1738, allocations: 324.2 kB / 0.6798 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.214e-05/0.1738, allocations: 12.75 kB / 0.6798 GB, free: 12.17 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.481e-05/0.1739, allocations: 24.33 kB / 0.6798 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000419/0.1743, allocations: 226.4 kB / 0.68 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.1743, allocations: 4.188 kB / 0.68 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.529e-05/0.1743, allocations: 12.12 kB / 0.68 GB, free: 11.9 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.748e-06/0.1743, allocations: 7.984 kB / 0.68 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002482/0.1746, allocations: 135.9 kB / 0.6802 GB, free: 11.76 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001047/0.1756, allocations: 0.6365 MB / 0.6808 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003429/0.176, allocations: 126.5 kB / 0.6809 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001202/0.1761, allocations: 60.83 kB / 0.681 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 9.275e-05/0.1762, allocations: 12 kB / 0.681 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.417e-05/0.1762, allocations: 42.55 kB / 0.681 GB, free: 10.83 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=15): time 1.834e-06/0.1762, allocations: 0 / 0.681 GB, free: 10.83 MB / 0.5919 GB Notification: Performance of matching and sorting (n=16): time 0.001597/0.1778, allocations: 0.6056 MB / 0.6816 GB, free: 10.19 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.651e-05/0.1779, allocations: 55.41 kB / 0.6817 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003111/0.1782, allocations: 280.5 kB / 0.6819 GB, free: 9.836 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.83e-05/0.1782, allocations: 33.7 kB / 0.682 GB, free: 9.797 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001304/0.1784, allocations: 180.4 kB / 0.6821 GB, free: 9.617 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 6.254e-05/0.1784, allocations: 59.47 kB / 0.6822 GB, free: 9.559 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.501e-05/0.1785, allocations: 33.7 kB / 0.6822 GB, free: 9.52 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001768/0.1787, allocations: 338.8 kB / 0.6826 GB, free: 9.18 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.263e-05/0.1787, allocations: 47.98 kB / 0.6826 GB, free: 9.133 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001125/0.1789, allocations: 68.09 kB / 0.6827 GB, free: 9.062 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002198/0.1791, allocations: 125.6 kB / 0.6828 GB, free: 8.934 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.81e-07/0.1791, allocations: 0 / 0.6828 GB, free: 8.934 MB / 0.5919 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004816/0.1796, allocations: 268.8 kB / 0.683 GB, free: 8.664 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.1796, allocations: 4 kB / 0.683 GB, free: 8.66 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.1796, allocations: 3.938 kB / 0.683 GB, free: 8.656 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003648/0.1799, allocations: 96.78 kB / 0.6831 GB, free: 8.559 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.924e-05/0.18, allocations: 15.94 kB / 0.6832 GB, free: 8.543 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002233/0.1823, allocations: 1.804 MB / 0.6849 GB, free: 6.633 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.641e-05/0.1824, allocations: 8 kB / 0.6849 GB, free: 6.625 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.802e-05/0.1824, allocations: 4 kB / 0.6849 GB, free: 6.621 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,6,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001721/0.1825, allocations: 144.5 kB / 0.6851 GB, free: 6.473 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.403e-05/0.1826, allocations: 31.75 kB / 0.6851 GB, free: 6.441 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005703/0.1832, allocations: 291.3 kB / 0.6854 GB, free: 6.145 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.1832, allocations: 0 / 0.6854 GB, free: 6.145 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.1832, allocations: 4 kB / 0.6854 GB, free: 6.141 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.1832, allocations: 0 / 0.6854 GB, free: 6.141 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008329/0.1841, allocations: 0.5364 MB / 0.6859 GB, free: 5.555 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.1841, allocations: 4 kB / 0.6859 GB, free: 5.551 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.051e-05/0.1841, allocations: 7.938 kB / 0.6859 GB, free: 5.543 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003113/0.1844, allocations: 100.8 kB / 0.686 GB, free: 5.441 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.677e-05/0.1844, allocations: 4 kB / 0.686 GB, free: 5.438 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002168/0.1866, allocations: 1.812 MB / 0.6878 GB, free: 3.52 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.1866, allocations: 0 / 0.6878 GB, free: 3.52 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006123/0.1872, allocations: 402.5 kB / 0.6882 GB, free: 3.098 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 7.656e-05/0.1873, allocations: 35.84 kB / 0.6882 GB, free: 3.062 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.647e-05/0.1873, allocations: 8.375 kB / 0.6882 GB, free: 3.055 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001108/0.1874, allocations: 0 / 0.6882 GB, free: 3.055 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.6e-05/0.1875, allocations: 20.25 kB / 0.6882 GB, free: 3.035 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.094e-05/0.1875, allocations: 4 kB / 0.6882 GB, free: 3.031 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000226/0.1877, allocations: 210.9 kB / 0.6884 GB, free: 2.824 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/0.1877, allocations: 0 / 0.6884 GB, free: 2.824 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.000398/0.1881, allocations: 83.98 kB / 0.6885 GB, free: 2.742 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (sink.inlet.m_flow,sink1.inlet.m_flow,sink2.inlet.m_flow) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,6,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003057/0.1884, allocations: 175 kB / 0.6887 GB, free: 2.562 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0006508/0.1891, allocations: 290.5 kB / 0.689 GB, free: 2.266 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 6.041e-06/0.1891, allocations: 4 kB / 0.689 GB, free: 2.262 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0004397/0.1895, allocations: 238.6 kB / 0.6892 GB, free: 2.016 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005521/0.1901, allocations: 69.5 kB / 0.6893 GB, free: 1.949 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00132/0.1914, allocations: 0.6438 MB / 0.6899 GB, free: 1.266 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002199/0.1916, allocations: 185.1 kB / 0.6901 GB, free: 1.066 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 8.101e-05/0.1917, allocations: 26.97 kB / 0.6901 GB, free: 1.043 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.497e-05/0.1917, allocations: 24.5 kB / 0.6901 GB, free: 1.02 MB / 0.5919 GB Notification: Performance of SimCode: time 9.11e-07/0.1917, allocations: 0 / 0.6901 GB, free: 1.02 MB / 0.5919 GB Notification: Performance of Templates: time 0.2886/0.4804, allocations: 4.538 MB / 0.6945 GB, free: 142.5 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestSplitter.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestSplitter.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestSplitter.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestSplitter.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestSplitter.sim & ./ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestSplitter -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestSplitter.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestSplitter_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Topology.Tests.TestSplitter_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestSplitter.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: 6.206327639520168]