Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunction.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.001553/0.001553, allocations: 79.28 kB / 19.18 MB, free: 2.52 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.001779/0.001779, allocations: 166.9 kB / 22.46 MB, free: 5.371 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.427/1.427, allocations: 177.1 MB / 202.8 MB, free: 9.16 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 0.9756/0.9756, allocations: 116.1 MB / 375.2 MB, free: 7.516 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.TestJunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|junctionN.outlet.m_flow|source.outlet.m_flow|source1.outlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunction") translateModel(ThermofluidStream.Topology.Tests.TestJunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|junctionN.outlet.m_flow|source.outlet.m_flow|source1.outlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunction") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.382e-06/1.382e-06, allocations: 0 / 0.5537 GB, free: 13.66 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.455e-05/2.593e-05, allocations: 2.281 kB / 0.5537 GB, free: 13.66 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestJunction): time 0.1627/0.1627, allocations: 125.6 MB / 0.6764 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.004769/0.1674, allocations: 3.408 MB / 0.6797 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003367/0.1678, allocations: 43.56 kB / 0.6798 GB, free: 12.1 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0006946/0.1685, allocations: 182.6 kB / 0.6799 GB, free: 11.92 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0008841/0.1694, allocations: 377.7 kB / 0.6803 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001212/0.1706, allocations: 446 kB / 0.6807 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001069/0.1716, allocations: 0.8254 MB / 0.6815 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001995/0.1718, allocations: 70.83 kB / 0.6816 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001121/0.173, allocations: 0.5101 MB / 0.6821 GB, free: 9.699 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005733/0.1735, allocations: 343.1 kB / 0.6824 GB, free: 9.363 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 6.695e-05/0.1736, allocations: 32 kB / 0.6825 GB, free: 9.332 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008085/0.1744, allocations: 383.1 kB / 0.6828 GB, free: 8.957 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.000161/0.1746, allocations: 119.5 kB / 0.6829 GB, free: 8.84 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.000199/0.1748, allocations: 147.7 kB / 0.6831 GB, free: 8.695 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001041/0.1758, allocations: 0.6737 MB / 0.6837 GB, free: 8.02 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1758, allocations: 0 / 0.6837 GB, free: 8.02 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.132e-06/0.1758, allocations: 0 / 0.6837 GB, free: 8.02 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.743e-06/0.1758, allocations: 0 / 0.6837 GB, free: 8.02 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: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.001668/0.1775, allocations: 0.7615 MB / 0.6845 GB, free: 7.227 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.553e-05/0.1775, allocations: 12.03 kB / 0.6845 GB, free: 7.215 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000115/0.1777, allocations: 56.56 kB / 0.6845 GB, free: 7.16 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007836/0.1784, allocations: 435.5 kB / 0.685 GB, free: 6.711 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.659e-05/0.1785, allocations: 20.88 kB / 0.685 GB, free: 6.688 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.445e-05/0.1785, allocations: 32.31 kB / 0.685 GB, free: 6.656 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007368/0.1793, allocations: 441.9 kB / 0.6854 GB, free: 6.207 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.1793, allocations: 192 / 0.6854 GB, free: 6.207 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.442e-05/0.1793, allocations: 20.11 kB / 0.6854 GB, free: 6.188 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.894e-05/0.1794, allocations: 16.48 kB / 0.6855 GB, free: 6.172 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007913/0.1802, allocations: 489.5 kB / 0.6859 GB, free: 5.691 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002171/0.1823, allocations: 1.179 MB / 0.6871 GB, free: 4.473 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005152/0.1828, allocations: 218.5 kB / 0.6873 GB, free: 4.25 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003489/0.1832, allocations: 201.2 kB / 0.6875 GB, free: 4.055 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001674/0.1834, allocations: 27.97 kB / 0.6875 GB, free: 4.027 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.541e-05/0.1834, allocations: 46.48 kB / 0.6876 GB, free: 3.973 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=32): time 1.794e-06/0.1834, allocations: 0 / 0.6876 GB, free: 3.973 MB / 0.5919 GB Notification: Performance of matching and sorting (n=33): time 0.002764/0.1862, allocations: 1.219 MB / 0.6887 GB, free: 2.719 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.868e-05/0.1862, allocations: 55.41 kB / 0.6888 GB, free: 2.652 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003736/0.1866, allocations: 337.7 kB / 0.6891 GB, free: 2.316 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.734e-05/0.1866, allocations: 33.7 kB / 0.6891 GB, free: 2.277 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001585/0.1868, allocations: 212.7 kB / 0.6894 GB, free: 2.066 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.000122/0.1869, allocations: 123 kB / 0.6895 GB, free: 1.945 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001211/0.187, allocations: 65.69 kB / 0.6895 GB, free: 1.875 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001943/0.1872, allocations: 358.8 kB / 0.6899 GB, free: 1.516 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002531/0.1875, allocations: 139.9 kB / 0.69 GB, free: 1.379 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002579/0.1878, allocations: 147.8 kB / 0.6901 GB, free: 1.234 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005698/0.1883, allocations: 340.5 kB / 0.6905 GB, free: 0.8984 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.1883, allocations: 3.938 kB / 0.6905 GB, free: 0.8945 MB / 0.5919 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001016/0.1893, allocations: 0.5177 MB / 0.691 GB, free: 376 kB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.264e-05/0.1894, allocations: 8 kB / 0.691 GB, free: 368 kB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.1894, allocations: 0 / 0.691 GB, free: 368 kB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004034/0.1898, allocations: 104.8 kB / 0.6911 GB, free: 260 kB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002931/0.1901, allocations: 59.94 kB / 0.6911 GB, free: 200 kB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2604/0.4505, allocations: 2.182 MB / 0.6933 GB, free: 142.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002444/0.4507, allocations: 9.672 kB / 0.6933 GB, free: 142.2 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.012e-05/0.4508, allocations: 16.75 kB / 0.6933 GB, free: 142.1 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (25): * Single equations (assignments): 24 * 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,9,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002043/0.451, allocations: 166.7 kB / 0.6935 GB, free: 142 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001334/0.4511, allocations: 43.89 kB / 0.6935 GB, free: 142 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001085/0.4522, allocations: 0.6408 MB / 0.6941 GB, free: 141.7 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.4522, allocations: 6.375 kB / 0.6941 GB, free: 141.7 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.668e-06/0.4522, allocations: 2.688 kB / 0.6941 GB, free: 141.7 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.4522, allocations: 1.172 kB / 0.6941 GB, free: 141.7 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003997/0.4526, allocations: 340.2 kB / 0.6945 GB, free: 141.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.4526, allocations: 3.938 kB / 0.6945 GB, free: 141.5 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001985/0.4528, allocations: 31.39 kB / 0.6945 GB, free: 141.5 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003466/0.4532, allocations: 131.5 kB / 0.6946 GB, free: 141.5 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.176e-05/0.4532, allocations: 12.25 kB / 0.6946 GB, free: 141.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002126/0.4553, allocations: 2.188 MB / 0.6968 GB, free: 139.7 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.4553, allocations: 0.75 kB / 0.6968 GB, free: 139.7 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001081/0.4564, allocations: 0.6406 MB / 0.6974 GB, free: 139.4 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001322/0.4565, allocations: 69.38 kB / 0.6975 GB, free: 139.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.422e-05/0.4566, allocations: 7.734 kB / 0.6975 GB, free: 139.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001788/0.4568, allocations: 4.922 kB / 0.6975 GB, free: 139.4 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.164e-05/0.4568, allocations: 25.28 kB / 0.6975 GB, free: 139.4 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.642e-05/0.4569, allocations: 9.125 kB / 0.6975 GB, free: 139.4 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000291/0.4572, allocations: 276 kB / 0.6978 GB, free: 139.3 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.4572, allocations: 0 / 0.6978 GB, free: 139.3 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.000644/0.4578, allocations: 118.5 kB / 0.6979 GB, free: 139.2 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (source.outlet.m_flow,source1.outlet.m_flow,source2.outlet.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 (13): * Single equations (assignments): 12 * 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 {(4,8,62.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003741/0.4582, allocations: 189.1 kB / 0.6981 GB, free: 139.2 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001181/0.4594, allocations: 0.4977 MB / 0.6985 GB, free: 138.9 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.4594, allocations: 192 / 0.6985 GB, free: 138.9 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.000682/0.46, allocations: 358.7 kB / 0.6989 GB, free: 138.7 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008052/0.4608, allocations: 133.5 kB / 0.699 GB, free: 138.7 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001847/0.4627, allocations: 0.8868 MB / 0.6999 GB, free: 138.2 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002627/0.463, allocations: 230 kB / 0.7001 GB, free: 138.1 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002645/0.4632, allocations: 93.64 kB / 0.7002 GB, free: 138.1 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001073/0.4633, allocations: 43.75 kB / 0.7002 GB, free: 138.1 MB / 0.5919 GB Notification: Performance of SimCode: time 5.51e-07/0.4633, allocations: 0 / 0.7002 GB, free: 138.1 MB / 0.5919 GB Notification: Performance of Templates: time 0.0148/0.4781, allocations: 7.477 MB / 0.7075 GB, free: 135.6 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunction.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunction.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunction.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunction.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunction.sim & ./ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunction -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunction.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunction_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Topology.Tests.TestJunction_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunction.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.161240976303816]