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.001848/0.001848, allocations: 92.7 kB / 19.44 MB, free: 324 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.002346/0.002346, allocations: 161.3 kB / 22.75 MB, free: 1.656 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.617 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.001/1.001, allocations: 118.6 MB / 378.2 MB, free: 1.449 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.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.873e-06/1.873e-06, allocations: 0 / 482.9 MB, free: 8.289 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.691e-05/2.878e-05, allocations: 2.312 kB / 482.9 MB, free: 8.285 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestJunction): time 0.177/0.177, allocations: 125.6 MB / 0.5942 GB, free: 3 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.005175/0.1822, allocations: 3.416 MB / 0.5976 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002406/0.1824, allocations: 43.62 kB / 0.5976 GB, free: 15.53 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0006153/0.183, allocations: 186.6 kB / 0.5978 GB, free: 15.35 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0008207/0.1838, allocations: 377.7 kB / 0.5981 GB, free: 14.98 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.001062/0.1849, allocations: 453.9 kB / 0.5986 GB, free: 14.53 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0009968/0.1859, allocations: 0.8176 MB / 0.5994 GB, free: 13.71 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001881/0.1861, allocations: 71.58 kB / 0.5994 GB, free: 13.64 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001002/0.1871, allocations: 0.5295 MB / 0.6 GB, free: 13.11 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005919/0.1877, allocations: 347.1 kB / 0.6003 GB, free: 12.77 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 6.159e-05/0.1877, allocations: 28 kB / 0.6003 GB, free: 12.74 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007896/0.1885, allocations: 375.2 kB / 0.6007 GB, free: 12.38 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0001422/0.1887, allocations: 119.5 kB / 0.6008 GB, free: 12.26 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0002142/0.1889, allocations: 151.6 kB / 0.6009 GB, free: 12.11 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.001067/0.1899, allocations: 0.6775 MB / 0.6016 GB, free: 11.43 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.19, allocations: 0 / 0.6016 GB, free: 11.43 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.513e-06/0.19, allocations: 0 / 0.6016 GB, free: 11.43 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.803e-06/0.19, allocations: 7.938 kB / 0.6016 GB, free: 11.42 MB / 0.5261 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.002001/0.192, allocations: 0.7809 MB / 0.6024 GB, free: 10.61 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.192, allocations: 8.031 kB / 0.6024 GB, free: 10.6 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001574/0.1922, allocations: 72.61 kB / 0.6024 GB, free: 10.53 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008624/0.193, allocations: 487.4 kB / 0.6029 GB, free: 10.03 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.666e-05/0.193, allocations: 16.88 kB / 0.6029 GB, free: 10.01 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.59e-05/0.1931, allocations: 24.38 kB / 0.6029 GB, free: 9.984 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00075/0.1939, allocations: 445.9 kB / 0.6034 GB, free: 9.535 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.409e-05/0.1939, allocations: 3.938 kB / 0.6034 GB, free: 9.531 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.653e-05/0.1939, allocations: 12 kB / 0.6034 GB, free: 9.52 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.369e-05/0.1939, allocations: 16.48 kB / 0.6034 GB, free: 9.504 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008168/0.1948, allocations: 485.5 kB / 0.6039 GB, free: 9.027 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002209/0.197, allocations: 1.198 MB / 0.605 GB, free: 7.785 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000499/0.1975, allocations: 222.5 kB / 0.6052 GB, free: 7.559 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003486/0.1978, allocations: 196.3 kB / 0.6054 GB, free: 7.367 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001598/0.198, allocations: 31.97 kB / 0.6055 GB, free: 7.336 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.348e-05/0.198, allocations: 35.09 kB / 0.6055 GB, free: 7.293 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=32): time 1.402e-06/0.198, allocations: 8 kB / 0.6055 GB, free: 7.285 MB / 0.5261 GB Notification: Performance of matching and sorting (n=33): time 0.002832/0.2008, allocations: 1.227 MB / 0.6067 GB, free: 6.023 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.997e-05/0.2009, allocations: 55.41 kB / 0.6068 GB, free: 5.957 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000432/0.2013, allocations: 353.9 kB / 0.6071 GB, free: 5.602 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.057e-05/0.2014, allocations: 29.7 kB / 0.6071 GB, free: 5.566 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001931/0.2016, allocations: 224.8 kB / 0.6073 GB, free: 5.344 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001292/0.2017, allocations: 118.9 kB / 0.6074 GB, free: 5.227 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001297/0.2018, allocations: 65.67 kB / 0.6075 GB, free: 5.156 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002203/0.202, allocations: 362.8 kB / 0.6079 GB, free: 4.793 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000276/0.2023, allocations: 139.9 kB / 0.608 GB, free: 4.656 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002694/0.2026, allocations: 151.6 kB / 0.6081 GB, free: 4.508 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006183/0.2032, allocations: 344.7 kB / 0.6085 GB, free: 4.168 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.2032, allocations: 0 / 0.6085 GB, free: 4.168 MB / 0.5261 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001276/0.2045, allocations: 0.5293 MB / 0.609 GB, free: 3.629 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.997e-05/0.2045, allocations: 10.5 kB / 0.609 GB, free: 3.621 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.2045, allocations: 0 / 0.609 GB, free: 3.621 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004368/0.2049, allocations: 116.7 kB / 0.6091 GB, free: 3.504 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002939/0.2052, allocations: 59.88 kB / 0.6092 GB, free: 3.445 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002984/0.2082, allocations: 2.188 MB / 0.6113 GB, free: 1.156 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001806/0.2084, allocations: 8.031 kB / 0.6113 GB, free: 1.148 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.836e-05/0.2084, allocations: 19.97 kB / 0.6113 GB, free: 1.129 MB / 0.5261 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.0002175/0.2087, allocations: 161.8 kB / 0.6115 GB, free: 0.9609 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00012/0.2088, allocations: 55.72 kB / 0.6115 GB, free: 0.9062 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001215/0.21, allocations: 0.6618 MB / 0.6122 GB, free: 220 kB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-06/0.21, allocations: 3.938 kB / 0.6122 GB, free: 216 kB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.309e-05/0.21, allocations: 4 kB / 0.6122 GB, free: 212 kB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.21, allocations: 0 / 0.6122 GB, free: 212 kB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004818/0.2105, allocations: 337.1 kB / 0.6125 GB, free: 15.85 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.2105, allocations: 4 kB / 0.6125 GB, free: 15.84 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001943/0.2107, allocations: 35.98 kB / 0.6125 GB, free: 15.81 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004372/0.2111, allocations: 132.1 kB / 0.6127 GB, free: 15.68 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.617e-05/0.2112, allocations: 11.98 kB / 0.6127 GB, free: 15.67 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002934/0.2141, allocations: 2.2 MB / 0.6148 GB, free: 13.36 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.2141, allocations: 0 / 0.6148 GB, free: 13.36 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001224/0.2153, allocations: 0.6478 MB / 0.6155 GB, free: 12.69 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001568/0.2155, allocations: 79.7 kB / 0.6155 GB, free: 12.61 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.141e-05/0.2155, allocations: 7.938 kB / 0.6155 GB, free: 12.6 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001755/0.2157, allocations: 4 kB / 0.6155 GB, free: 12.6 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.733e-05/0.2158, allocations: 27.94 kB / 0.6156 GB, free: 12.57 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.672e-05/0.2158, allocations: 11.98 kB / 0.6156 GB, free: 12.56 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0005663/0.2164, allocations: 279.1 kB / 0.6159 GB, free: 12.29 MB / 0.5417 GB Notification: Performance of sort global known variables: time 7e-08/0.2164, allocations: 0 / 0.6159 GB, free: 12.29 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0005487/0.2169, allocations: 119.9 kB / 0.616 GB, free: 12.18 MB / 0.5417 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.0003169/0.2172, allocations: 182.5 kB / 0.6161 GB, free: 11.99 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.001035/0.2183, allocations: 0.4909 MB / 0.6166 GB, free: 11.49 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.2183, allocations: 0 / 0.6166 GB, free: 11.49 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0007073/0.219, allocations: 363.4 kB / 0.617 GB, free: 11.12 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007156/0.2197, allocations: 133.8 kB / 0.6171 GB, free: 10.99 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001754/0.2215, allocations: 0.9178 MB / 0.618 GB, free: 10.05 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002676/0.2217, allocations: 235.8 kB / 0.6182 GB, free: 9.801 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0002576/0.222, allocations: 82.8 kB / 0.6183 GB, free: 9.723 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000122/0.2221, allocations: 52.45 kB / 0.6183 GB, free: 9.672 MB / 0.5417 GB Notification: Performance of SimCode: time 5.41e-07/0.2221, allocations: 0 / 0.6183 GB, free: 9.672 MB / 0.5417 GB Notification: Performance of Templates: time 0.01625/0.2383, allocations: 7.57 MB / 0.6257 GB, free: 2.266 MB / 0.5417 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: 5.942003946984187]