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.001395/0.001395, allocations: 88.72 kB / 19.44 MB, free: 356 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.00158/0.00158, allocations: 157.7 kB / 22.75 MB, free: 1.684 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.557/1.557, allocations: 177.1 MB / 203.1 MB, free: 5.594 MB / 186.7 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: 118.6 MB / 378.2 MB, free: 1.457 MB / 346.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.4.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 / 482.9 MB, free: 8.32 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.312e-05/2.459e-05, allocations: 2.312 kB / 482.9 MB, free: 8.316 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestSplitter): time 0.1802/0.1802, allocations: 124.5 MB / 0.5931 GB, free: 4.148 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.002183/0.1824, allocations: 1.425 MB / 0.5945 GB, free: 2.719 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001872/0.1826, allocations: 31.69 kB / 0.5945 GB, free: 2.688 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0005328/0.1831, allocations: 143 kB / 0.5947 GB, free: 2.547 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0005693/0.1837, allocations: 246.3 kB / 0.5949 GB, free: 2.305 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003487/0.1841, allocations: 139.4 kB / 0.595 GB, free: 2.168 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0005831/0.1847, allocations: 469.6 kB / 0.5955 GB, free: 1.707 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001622/0.1848, allocations: 58.88 kB / 0.5955 GB, free: 1.652 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005085/0.1853, allocations: 279 kB / 0.5958 GB, free: 1.379 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004959/0.1858, allocations: 159.5 kB / 0.596 GB, free: 1.223 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 3.921e-05/0.1859, allocations: 16 kB / 0.596 GB, free: 1.207 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004356/0.1863, allocations: 219.6 kB / 0.5962 GB, free: 0.9922 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 7.266e-05/0.1864, allocations: 63.7 kB / 0.5962 GB, free: 0.9297 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0001246/0.1865, allocations: 91.72 kB / 0.5963 GB, free: 0.8398 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0006191/0.1871, allocations: 414.6 kB / 0.5967 GB, free: 444 kB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.1871, allocations: 0 / 0.5967 GB, free: 444 kB / 0.5105 GB Notification: Performance of FrontEnd: time 1.092e-06/0.1871, allocations: 0 / 0.5967 GB, free: 444 kB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.671e-06/0.1871, allocations: 0 / 0.5967 GB, free: 444 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.001028/0.1881, allocations: 0.567 MB / 0.5973 GB, free: 15.83 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.1882, allocations: 8.031 kB / 0.5973 GB, free: 15.82 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001154/0.1883, allocations: 60.7 kB / 0.5974 GB, free: 15.77 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006011/0.1889, allocations: 352.1 kB / 0.5977 GB, free: 15.39 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.839e-05/0.1889, allocations: 20.73 kB / 0.5977 GB, free: 15.37 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.84e-05/0.189, allocations: 20.33 kB / 0.5977 GB, free: 15.35 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003996/0.1894, allocations: 226.4 kB / 0.5979 GB, free: 15.12 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.267e-06/0.1894, allocations: 4.125 kB / 0.5979 GB, free: 15.12 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.501e-05/0.1894, allocations: 16.12 kB / 0.598 GB, free: 15.1 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.125e-06/0.1894, allocations: 4 kB / 0.598 GB, free: 15.1 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002452/0.1897, allocations: 127.9 kB / 0.5981 GB, free: 14.97 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001082/0.1908, allocations: 0.6481 MB / 0.5987 GB, free: 14.29 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003388/0.1911, allocations: 122.5 kB / 0.5988 GB, free: 14.16 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001275/0.1912, allocations: 64.83 kB / 0.5989 GB, free: 14.09 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 8.556e-05/0.1913, allocations: 19.98 kB / 0.5989 GB, free: 14.07 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.306e-05/0.1913, allocations: 34.55 kB / 0.599 GB, free: 14.03 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=15): time 1.122e-06/0.1913, allocations: 4 kB / 0.599 GB, free: 14.03 MB / 0.5261 GB Notification: Performance of matching and sorting (n=16): time 0.001595/0.1929, allocations: 0.6052 MB / 0.5995 GB, free: 13.39 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.452e-05/0.193, allocations: 59.39 kB / 0.5996 GB, free: 13.32 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003493/0.1933, allocations: 288.5 kB / 0.5999 GB, free: 13.02 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.158e-05/0.1934, allocations: 33.69 kB / 0.5999 GB, free: 12.98 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001531/0.1935, allocations: 180.4 kB / 0.6001 GB, free: 12.8 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 6.534e-05/0.1936, allocations: 63.48 kB / 0.6001 GB, free: 12.74 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.384e-05/0.1937, allocations: 41.66 kB / 0.6002 GB, free: 12.7 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000209/0.1939, allocations: 342.8 kB / 0.6005 GB, free: 12.35 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.83e-05/0.194, allocations: 47.98 kB / 0.6006 GB, free: 12.3 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001095/0.1941, allocations: 65.69 kB / 0.6006 GB, free: 12.23 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002192/0.1943, allocations: 125.6 kB / 0.6007 GB, free: 12.11 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.1943, allocations: 0 / 0.6007 GB, free: 12.11 MB / 0.5261 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000533/0.1948, allocations: 268.1 kB / 0.601 GB, free: 11.84 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.1948, allocations: 4 kB / 0.601 GB, free: 11.83 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.297e-06/0.1949, allocations: 4 kB / 0.601 GB, free: 11.83 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003809/0.1952, allocations: 100.7 kB / 0.6011 GB, free: 11.73 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.314e-05/0.1953, allocations: 19.94 kB / 0.6011 GB, free: 11.71 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002643/0.198, allocations: 1.816 MB / 0.6029 GB, free: 9.789 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.975e-05/0.198, allocations: 8 kB / 0.6029 GB, free: 9.781 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.66e-05/0.1981, allocations: 11.97 kB / 0.6029 GB, free: 9.77 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.0001681/0.1982, allocations: 141.8 kB / 0.603 GB, free: 9.621 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.22e-05/0.1983, allocations: 35.75 kB / 0.6031 GB, free: 9.586 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005714/0.1989, allocations: 287.2 kB / 0.6034 GB, free: 9.289 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.1989, allocations: 0 / 0.6034 GB, free: 9.289 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.143e-06/0.1989, allocations: 4 kB / 0.6034 GB, free: 9.285 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.504e-06/0.1989, allocations: 0 / 0.6034 GB, free: 9.285 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008586/0.1997, allocations: 0.5363 MB / 0.6039 GB, free: 8.699 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.1997, allocations: 0 / 0.6039 GB, free: 8.699 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.47e-05/0.1998, allocations: 15.92 kB / 0.6039 GB, free: 8.684 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003337/0.2001, allocations: 101.1 kB / 0.604 GB, free: 8.582 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.68e-05/0.2001, allocations: 4 kB / 0.604 GB, free: 8.578 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002328/0.2025, allocations: 1.831 MB / 0.6058 GB, free: 6.641 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.539e-06/0.2025, allocations: 4 kB / 0.6058 GB, free: 6.637 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006689/0.2031, allocations: 410.4 kB / 0.6062 GB, free: 6.207 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 8.118e-05/0.2032, allocations: 35.84 kB / 0.6062 GB, free: 6.172 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.066e-05/0.2033, allocations: 4 kB / 0.6062 GB, free: 6.168 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001158/0.2034, allocations: 8 kB / 0.6062 GB, free: 6.16 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.003e-05/0.2034, allocations: 15.97 kB / 0.6062 GB, free: 6.145 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.078e-05/0.2034, allocations: 4 kB / 0.6062 GB, free: 6.141 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0002596/0.2037, allocations: 219.2 kB / 0.6065 GB, free: 5.926 MB / 0.5261 GB Notification: Performance of sort global known variables: time 9e-08/0.2037, allocations: 3.938 kB / 0.6065 GB, free: 5.922 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0003907/0.2041, allocations: 76 kB / 0.6065 GB, free: 5.848 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.0002908/0.2044, allocations: 168.4 kB / 0.6067 GB, free: 5.672 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0006496/0.205, allocations: 297.9 kB / 0.607 GB, free: 5.371 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.205, allocations: 0 / 0.607 GB, free: 5.371 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0004587/0.2055, allocations: 238.5 kB / 0.6072 GB, free: 5.125 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005414/0.206, allocations: 74.34 kB / 0.6073 GB, free: 5.059 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001308/0.2073, allocations: 0.671 MB / 0.6079 GB, free: 4.352 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002109/0.2075, allocations: 189.1 kB / 0.6081 GB, free: 4.148 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 9.311e-05/0.2076, allocations: 30.8 kB / 0.6081 GB, free: 4.121 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.396e-05/0.2077, allocations: 24.48 kB / 0.6082 GB, free: 4.098 MB / 0.5261 GB Notification: Performance of SimCode: time 6.11e-07/0.2077, allocations: 0 / 0.6082 GB, free: 4.098 MB / 0.5261 GB Notification: Performance of Templates: time 0.01081/0.2185, allocations: 4.633 MB / 0.6127 GB, free: 15.56 MB / 0.5417 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: 5.9658954630140215]