Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_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.00161/0.00161, allocations: 78.48 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.001736/0.001736, allocations: 171.8 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.376/1.376, allocations: 177.1 MB / 202.8 MB, free: 9.16 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.0/package.mo): time 0.738/0.738, allocations: 80.2 MB / 339.4 MB, free: 10.86 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.3.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.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.TestJunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|junctionN.outlet.m_flow|source.outlet.m_flow|source1.outlet.m_flow",fileNamePrefix="ThermofluidStream_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_ThermofluidStream.Topology.Tests.TestJunction") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.774e-06/1.774e-06, allocations: 2.875 kB / 0.4929 GB, free: 25.57 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.238e-05/2.416e-05, allocations: 5.656 kB / 0.4929 GB, free: 25.56 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestJunction): time 0.1461/0.1461, allocations: 125.6 MB / 0.6155 GB, free: 1.598 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.004383/0.1505, allocations: 3.405 MB / 0.6188 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002343/0.1508, allocations: 39.62 kB / 0.6189 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0005961/0.1514, allocations: 182.6 kB / 0.619 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.000743/0.1521, allocations: 373.7 kB / 0.6194 GB, free: 13.6 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.00101/0.1531, allocations: 438 kB / 0.6198 GB, free: 13.17 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0008753/0.154, allocations: 0.806 MB / 0.6206 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001766/0.1542, allocations: 74.81 kB / 0.6207 GB, free: 12.28 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008975/0.1551, allocations: 0.5061 MB / 0.6212 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005156/0.1556, allocations: 339.2 kB / 0.6215 GB, free: 11.44 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 6.122e-05/0.1556, allocations: 32 kB / 0.6215 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000691/0.1563, allocations: 383.1 kB / 0.6219 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001262/0.1564, allocations: 115.6 kB / 0.622 GB, free: 10.92 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001729/0.1566, allocations: 147.6 kB / 0.6221 GB, free: 10.78 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.000851/0.1575, allocations: 0.6542 MB / 0.6228 GB, free: 10.12 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.1575, allocations: 0 / 0.6228 GB, free: 10.12 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.102e-06/0.1575, allocations: 4 kB / 0.6228 GB, free: 10.12 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.692e-06/0.1575, allocations: 0 / 0.6228 GB, free: 10.12 MB / 0.5294 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.001496/0.159, allocations: 0.7577 MB / 0.6235 GB, free: 9.328 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.159, allocations: 14.06 kB / 0.6235 GB, free: 9.316 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001006/0.1591, allocations: 56.56 kB / 0.6236 GB, free: 9.262 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007058/0.1598, allocations: 431.5 kB / 0.624 GB, free: 8.812 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.7e-05/0.1599, allocations: 20.88 kB / 0.624 GB, free: 8.793 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.92e-05/0.1599, allocations: 28.36 kB / 0.624 GB, free: 8.766 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006813/0.1606, allocations: 438 kB / 0.6245 GB, free: 8.324 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.448e-05/0.1606, allocations: 4.125 kB / 0.6245 GB, free: 8.32 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.985e-05/0.1606, allocations: 16.12 kB / 0.6245 GB, free: 8.305 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.412e-05/0.1607, allocations: 12.5 kB / 0.6245 GB, free: 8.293 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007505/0.1614, allocations: 493.5 kB / 0.625 GB, free: 7.809 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001944/0.1634, allocations: 1.179 MB / 0.6261 GB, free: 6.59 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004518/0.1638, allocations: 218.4 kB / 0.6263 GB, free: 6.367 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003046/0.1641, allocations: 193.3 kB / 0.6265 GB, free: 6.176 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000148/0.1643, allocations: 27.97 kB / 0.6265 GB, free: 6.148 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.292e-05/0.1643, allocations: 38.55 kB / 0.6266 GB, free: 6.102 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=32): time 1.543e-06/0.1643, allocations: 0 / 0.6266 GB, free: 6.102 MB / 0.5294 GB Notification: Performance of matching and sorting (n=33): time 0.002539/0.1669, allocations: 1.223 MB / 0.6278 GB, free: 4.844 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.242e-05/0.1669, allocations: 55.41 kB / 0.6278 GB, free: 4.777 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00033/0.1672, allocations: 329.7 kB / 0.6281 GB, free: 4.445 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.531e-05/0.1673, allocations: 29.7 kB / 0.6282 GB, free: 4.41 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001476/0.1674, allocations: 208.8 kB / 0.6284 GB, free: 4.203 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001167/0.1675, allocations: 126.9 kB / 0.6285 GB, free: 4.078 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001119/0.1676, allocations: 65.67 kB / 0.6285 GB, free: 4.008 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001597/0.1678, allocations: 350.8 kB / 0.6289 GB, free: 3.656 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002491/0.168, allocations: 143.8 kB / 0.629 GB, free: 3.516 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002441/0.1683, allocations: 151.8 kB / 0.6292 GB, free: 3.367 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005443/0.1688, allocations: 333.3 kB / 0.6295 GB, free: 3.039 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.1688, allocations: 4 kB / 0.6295 GB, free: 3.035 MB / 0.5294 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009144/0.1697, allocations: 0.5169 MB / 0.63 GB, free: 2.508 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.1698, allocations: 4 kB / 0.63 GB, free: 2.504 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.1698, allocations: 0 / 0.63 GB, free: 2.504 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003778/0.1701, allocations: 120.7 kB / 0.6301 GB, free: 2.383 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002567/0.1704, allocations: 55.89 kB / 0.6302 GB, free: 2.328 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002577/0.173, allocations: 2.18 MB / 0.6323 GB, free: 48 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001787/0.1732, allocations: 8 kB / 0.6323 GB, free: 40 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.579e-05/0.1732, allocations: 16.03 kB / 0.6323 GB, free: 24 kB / 0.5294 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.0002115/0.1734, allocations: 170 kB / 0.6325 GB, free: 15.85 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.62e-05/0.1735, allocations: 47.72 kB / 0.6325 GB, free: 15.8 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001076/0.1746, allocations: 0.6388 MB / 0.6331 GB, free: 15.13 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.011e-06/0.1746, allocations: 7.938 kB / 0.6331 GB, free: 15.12 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.1746, allocations: 7.938 kB / 0.6332 GB, free: 15.11 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.1746, allocations: 4 kB / 0.6332 GB, free: 15.11 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004013/0.175, allocations: 329.1 kB / 0.6335 GB, free: 14.76 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.175, allocations: 0 / 0.6335 GB, free: 14.76 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001851/0.1752, allocations: 35.89 kB / 0.6335 GB, free: 14.72 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003324/0.1755, allocations: 124.8 kB / 0.6336 GB, free: 14.6 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.116e-05/0.1755, allocations: 11.98 kB / 0.6336 GB, free: 14.59 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002505/0.178, allocations: 2.184 MB / 0.6358 GB, free: 12.3 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.178, allocations: 3.938 kB / 0.6358 GB, free: 12.3 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001082/0.1791, allocations: 0.641 MB / 0.6364 GB, free: 11.63 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.231e-05/0.1792, allocations: 31.72 kB / 0.6364 GB, free: 11.6 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.175e-05/0.1792, allocations: 8.312 kB / 0.6364 GB, free: 11.59 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001665/0.1794, allocations: 11.94 kB / 0.6364 GB, free: 11.58 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.944e-05/0.1794, allocations: 23.94 kB / 0.6365 GB, free: 11.56 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.459e-05/0.1795, allocations: 11.98 kB / 0.6365 GB, free: 11.55 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002707/0.1797, allocations: 263.2 kB / 0.6367 GB, free: 11.3 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.1797, allocations: 0 / 0.6367 GB, free: 11.3 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004706/0.1802, allocations: 120 kB / 0.6368 GB, free: 11.18 MB / 0.545 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.0002926/0.1805, allocations: 196.8 kB / 0.637 GB, free: 10.98 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000933/0.1814, allocations: 0.4903 MB / 0.6375 GB, free: 10.48 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1814, allocations: 4 kB / 0.6375 GB, free: 10.47 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0006309/0.1821, allocations: 367.2 kB / 0.6379 GB, free: 10.1 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006962/0.1828, allocations: 121.9 kB / 0.638 GB, free: 9.98 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00148/0.1842, allocations: 0.8633 MB / 0.6388 GB, free: 9.074 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002255/0.1845, allocations: 231.8 kB / 0.639 GB, free: 8.828 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0002259/0.1847, allocations: 95.16 kB / 0.6391 GB, free: 8.734 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001014/0.1848, allocations: 44.41 kB / 0.6392 GB, free: 8.691 MB / 0.545 GB Notification: Performance of SimCode: time 3.41e-07/0.1848, allocations: 4 kB / 0.6392 GB, free: 8.688 MB / 0.545 GB Notification: Performance of Templates: time 0.01373/0.1985, allocations: 7.469 MB / 0.6465 GB, free: 1.34 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunction.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunction.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunction.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunction.pipe >> ../files/ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunction.sim & ./ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunction -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunction.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_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_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.356055185198784]