Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_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.001412/0.001412, allocations: 84.73 kB / 19.44 MB, free: 348 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.001603/0.001603, allocations: 157.7 kB / 22.75 MB, free: 1.676 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 1.488/1.488, allocations: 177.1 MB / 203.1 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.0/package.mo): time 1.065/1.065, allocations: 118.6 MB / 378.2 MB, free: 1.512 MB / 346.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.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.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_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_ThermofluidStream.Topology.Tests.TestSplitter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.312e-06/1.312e-06, allocations: 0 / 482.9 MB, free: 8.336 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.265e-05/2.397e-05, allocations: 5.688 kB / 482.9 MB, free: 8.332 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestSplitter): time 0.1807/0.1807, allocations: 124.5 MB / 0.5931 GB, free: 4.199 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.002614/0.1833, allocations: 1.425 MB / 0.5945 GB, free: 2.77 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002553/0.1836, allocations: 39.62 kB / 0.5945 GB, free: 2.73 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0005737/0.1841, allocations: 143 kB / 0.5947 GB, free: 2.59 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0006059/0.1848, allocations: 242.3 kB / 0.5949 GB, free: 2.352 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003745/0.1851, allocations: 139.5 kB / 0.595 GB, free: 2.215 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0006028/0.1857, allocations: 469.5 kB / 0.5955 GB, free: 1.754 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001938/0.1859, allocations: 62.86 kB / 0.5956 GB, free: 1.695 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005585/0.1865, allocations: 279.1 kB / 0.5958 GB, free: 1.422 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000282/0.1868, allocations: 155.5 kB / 0.596 GB, free: 1.27 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 3.74e-05/0.1868, allocations: 16 kB / 0.596 GB, free: 1.254 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004595/0.1873, allocations: 231.6 kB / 0.5962 GB, free: 1.027 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 7.041e-05/0.1873, allocations: 47.72 kB / 0.5962 GB, free: 0.9805 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0001474/0.1875, allocations: 99.7 kB / 0.5963 GB, free: 0.8828 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0006756/0.1882, allocations: 410.6 kB / 0.5967 GB, free: 492 kB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.1882, allocations: 0 / 0.5967 GB, free: 492 kB / 0.5105 GB Notification: Performance of FrontEnd: time 1.263e-06/0.1882, allocations: 0 / 0.5967 GB, free: 492 kB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.342e-06/0.1882, allocations: 4 kB / 0.5967 GB, free: 488 kB / 0.5105 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.001127/0.1893, allocations: 0.5672 MB / 0.5973 GB, free: 15.87 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.1893, allocations: 8.031 kB / 0.5973 GB, free: 15.86 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001382/0.1895, allocations: 56.69 kB / 0.5974 GB, free: 15.81 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006701/0.1901, allocations: 356 kB / 0.5977 GB, free: 15.43 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.451e-05/0.1902, allocations: 16.75 kB / 0.5977 GB, free: 15.42 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.757e-05/0.1902, allocations: 24.33 kB / 0.5977 GB, free: 15.39 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004598/0.1907, allocations: 218.5 kB / 0.5979 GB, free: 15.17 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.1907, allocations: 192 / 0.5979 GB, free: 15.17 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.206e-05/0.1907, allocations: 20.06 kB / 0.598 GB, free: 15.15 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.165e-06/0.1907, allocations: 4 kB / 0.598 GB, free: 15.15 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000262/0.191, allocations: 131.9 kB / 0.5981 GB, free: 15.02 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001194/0.1922, allocations: 0.6521 MB / 0.5987 GB, free: 14.33 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003757/0.1926, allocations: 122.5 kB / 0.5988 GB, free: 14.2 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001334/0.1927, allocations: 68.77 kB / 0.5989 GB, free: 14.13 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 9.455e-05/0.1928, allocations: 16 kB / 0.5989 GB, free: 14.12 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.418e-05/0.1928, allocations: 34.56 kB / 0.599 GB, free: 14.07 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=15): time 1.403e-06/0.1928, allocations: 0 / 0.599 GB, free: 14.07 MB / 0.5261 GB Notification: Performance of matching and sorting (n=16): time 0.001688/0.1945, allocations: 0.6174 MB / 0.5996 GB, free: 13.42 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.161e-05/0.1946, allocations: 55.41 kB / 0.5996 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003453/0.1949, allocations: 288.5 kB / 0.5999 GB, free: 13.06 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.831e-05/0.1949, allocations: 25.7 kB / 0.5999 GB, free: 13.03 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001539/0.1951, allocations: 184.4 kB / 0.6001 GB, free: 12.85 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003001/0.1954, allocations: 63.47 kB / 0.6001 GB, free: 12.79 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.221e-05/0.1955, allocations: 33.67 kB / 0.6002 GB, free: 12.75 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002102/0.1957, allocations: 350.8 kB / 0.6005 GB, free: 12.39 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.908e-05/0.1958, allocations: 43.98 kB / 0.6006 GB, free: 12.35 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001133/0.1959, allocations: 69.62 kB / 0.6006 GB, free: 12.28 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002197/0.1961, allocations: 129.6 kB / 0.6007 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.1961, allocations: 0 / 0.6007 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000546/0.1967, allocations: 267.8 kB / 0.601 GB, free: 11.88 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.1967, allocations: 4 kB / 0.601 GB, free: 11.87 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.1967, allocations: 0 / 0.601 GB, free: 11.87 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003981/0.1971, allocations: 96.73 kB / 0.6011 GB, free: 11.77 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001051/0.1972, allocations: 27.92 kB / 0.6011 GB, free: 11.75 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00252/0.1997, allocations: 1.816 MB / 0.6029 GB, free: 9.828 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.188e-05/0.1998, allocations: 8 kB / 0.6029 GB, free: 9.82 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.796e-05/0.1998, allocations: 8 kB / 0.6029 GB, free: 9.812 MB / 0.5261 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.0001754/0.2, allocations: 145.8 kB / 0.6031 GB, free: 9.66 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.413e-05/0.2001, allocations: 39.75 kB / 0.6031 GB, free: 9.621 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005958/0.2006, allocations: 279.9 kB / 0.6034 GB, free: 9.328 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.2006, allocations: 0 / 0.6034 GB, free: 9.328 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.2007, allocations: 4 kB / 0.6034 GB, free: 9.324 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.756e-06/0.2007, allocations: 0 / 0.6034 GB, free: 9.324 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008889/0.2015, allocations: 0.5441 MB / 0.6039 GB, free: 8.73 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.2015, allocations: 0 / 0.6039 GB, free: 8.73 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.297e-05/0.2016, allocations: 8 kB / 0.6039 GB, free: 8.723 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003447/0.2019, allocations: 104.8 kB / 0.604 GB, free: 8.617 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.95e-05/0.202, allocations: 7.984 kB / 0.604 GB, free: 8.609 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002414/0.2044, allocations: 1.822 MB / 0.6058 GB, free: 6.684 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.389e-06/0.2044, allocations: 4 kB / 0.6058 GB, free: 6.68 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000684/0.2051, allocations: 410.4 kB / 0.6062 GB, free: 6.25 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 8.632e-05/0.2051, allocations: 39.83 kB / 0.6062 GB, free: 6.211 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.407e-05/0.2052, allocations: 12 kB / 0.6062 GB, free: 6.199 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001183/0.2053, allocations: 4 kB / 0.6062 GB, free: 6.195 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.482e-05/0.2053, allocations: 15.97 kB / 0.6063 GB, free: 6.18 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.18e-05/0.2054, allocations: 4 kB / 0.6063 GB, free: 6.176 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0002615/0.2056, allocations: 215.2 kB / 0.6065 GB, free: 5.965 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7e-08/0.2056, allocations: 0 / 0.6065 GB, free: 5.965 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0004304/0.206, allocations: 72 kB / 0.6065 GB, free: 5.895 MB / 0.5261 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.0002961/0.2063, allocations: 175.2 kB / 0.6067 GB, free: 5.711 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0006797/0.207, allocations: 301.9 kB / 0.607 GB, free: 5.406 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.207, allocations: 0 / 0.607 GB, free: 5.406 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0006943/0.2077, allocations: 234.3 kB / 0.6072 GB, free: 5.164 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005481/0.2083, allocations: 66.05 kB / 0.6073 GB, free: 5.102 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001387/0.2097, allocations: 0.6831 MB / 0.6079 GB, free: 4.391 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002161/0.2099, allocations: 185.1 kB / 0.6081 GB, free: 4.191 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 9.572e-05/0.21, allocations: 26.98 kB / 0.6081 GB, free: 4.164 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.559e-05/0.21, allocations: 24.48 kB / 0.6082 GB, free: 4.141 MB / 0.5261 GB Notification: Performance of SimCode: time 8.51e-07/0.21, allocations: 4 kB / 0.6082 GB, free: 4.137 MB / 0.5261 GB Notification: Performance of Templates: time 0.01093/0.221, allocations: 4.645 MB / 0.6127 GB, free: 15.59 MB / 0.5417 GB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter.pipe >> ../files/ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter.sim & ./ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_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_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: 5.922103596967645]