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.00144/0.00144, allocations: 92.22 kB / 19.65 MB, free: 280 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.001271/0.001271, allocations: 169 kB / 23.02 MB, free: 1.551 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 0.9881/0.9881, allocations: 177.1 MB / 203.4 MB, free: 5.551 MB / 186.7 MB " [Timeout remaining time 179] 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.6307/0.6307, allocations: 118.6 MB / 378.6 MB, free: 1.473 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.272e-06/1.272e-06, allocations: 0 / 483.6 MB, free: 8.293 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.186e-05/2.313e-05, allocations: 3.406 kB / 483.6 MB, free: 8.289 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestJunction): time 0.1365/0.1365, allocations: 130.1 MB / 0.5993 GB, free: 14.18 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.001759/0.1382, allocations: 1.355 MB / 0.6006 GB, free: 12.82 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002379/0.1385, allocations: 39.62 kB / 0.6007 GB, free: 12.78 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0004657/0.1389, allocations: 107.1 kB / 0.6008 GB, free: 12.67 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0006208/0.1396, allocations: 333.9 kB / 0.6011 GB, free: 12.34 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005174/0.1401, allocations: 223.2 kB / 0.6013 GB, free: 12.12 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0008001/0.1409, allocations: 0.8332 MB / 0.6021 GB, free: 11.29 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001764/0.1411, allocations: 71.58 kB / 0.6022 GB, free: 11.22 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006677/0.1417, allocations: 458.7 kB / 0.6026 GB, free: 10.77 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004687/0.1422, allocations: 363.1 kB / 0.603 GB, free: 10.41 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 5.019e-05/0.1422, allocations: 32 kB / 0.603 GB, free: 10.38 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002817/0.1425, allocations: 155.6 kB / 0.6032 GB, free: 10.23 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 9.469e-05/0.1426, allocations: 115.6 kB / 0.6033 GB, free: 10.12 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0001409/0.1428, allocations: 151.6 kB / 0.6034 GB, free: 9.969 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0005993/0.1434, allocations: 0.4982 MB / 0.6039 GB, free: 9.469 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.1434, allocations: 0 / 0.6039 GB, free: 9.469 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.214e-06/0.1434, allocations: 4 kB / 0.6039 GB, free: 9.465 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.173e-06/0.1434, allocations: 0 / 0.6039 GB, free: 9.465 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.001197/0.1446, allocations: 0.8809 MB / 0.6048 GB, free: 8.547 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/0.1446, allocations: 8.031 kB / 0.6048 GB, free: 8.539 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001191/0.1447, allocations: 76.61 kB / 0.6048 GB, free: 8.465 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006034/0.1453, allocations: 474.2 kB / 0.6053 GB, free: 7.977 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.133e-05/0.1453, allocations: 20.88 kB / 0.6053 GB, free: 7.953 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.935e-05/0.1454, allocations: 24.38 kB / 0.6053 GB, free: 7.93 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004287/0.1458, allocations: 293.3 kB / 0.6056 GB, free: 7.625 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/0.1458, allocations: 3.938 kB / 0.6056 GB, free: 7.621 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.692e-05/0.1459, allocations: 12 kB / 0.6056 GB, free: 7.609 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.239e-05/0.1459, allocations: 16.5 kB / 0.6057 GB, free: 7.594 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003779/0.1463, allocations: 210.7 kB / 0.6059 GB, free: 7.387 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001484/0.1478, allocations: 1.272 MB / 0.6071 GB, free: 6.066 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003286/0.1481, allocations: 151 kB / 0.6072 GB, free: 5.906 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001835/0.1483, allocations: 111.6 kB / 0.6073 GB, free: 5.793 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001169/0.1484, allocations: 23.98 kB / 0.6074 GB, free: 5.77 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.836e-05/0.1484, allocations: 49.33 kB / 0.6074 GB, free: 5.711 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=32): time 1.863e-06/0.1484, allocations: 0 / 0.6074 GB, free: 5.711 MB / 0.5261 GB Notification: Performance of matching and sorting (n=33): time 0.00168/0.1501, allocations: 0.8795 MB / 0.6083 GB, free: 4.793 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.081e-05/0.1501, allocations: 55.41 kB / 0.6083 GB, free: 4.727 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002965/0.1504, allocations: 386.7 kB / 0.6087 GB, free: 4.332 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.735e-05/0.1505, allocations: 29.7 kB / 0.6087 GB, free: 4.297 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001396/0.1506, allocations: 271.5 kB / 0.609 GB, free: 4.027 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001035/0.1507, allocations: 127 kB / 0.6091 GB, free: 3.902 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.988e-05/0.1508, allocations: 71.33 kB / 0.6092 GB, free: 3.824 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001594/0.151, allocations: 0.5274 MB / 0.6097 GB, free: 3.285 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001363/0.1511, allocations: 71.75 kB / 0.6098 GB, free: 3.215 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00013/0.1512, allocations: 71.81 kB / 0.6098 GB, free: 3.145 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002987/0.1515, allocations: 175.6 kB / 0.61 GB, free: 2.969 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.1515, allocations: 0 / 0.61 GB, free: 2.969 MB / 0.5261 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005797/0.1521, allocations: 372.9 kB / 0.6103 GB, free: 2.594 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.1521, allocations: 4 kB / 0.6104 GB, free: 2.59 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.1521, allocations: 0 / 0.6104 GB, free: 2.59 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003119/0.1524, allocations: 95.55 kB / 0.6104 GB, free: 2.492 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001993/0.1526, allocations: 55.89 kB / 0.6105 GB, free: 2.438 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001944/0.1546, allocations: 2.434 MB / 0.6129 GB, free: 15.88 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001385/0.1547, allocations: 7.984 kB / 0.6129 GB, free: 15.87 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.542e-05/0.1548, allocations: 11.98 kB / 0.6129 GB, free: 15.86 MB / 0.5417 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.0001388/0.1549, allocations: 172.5 kB / 0.6131 GB, free: 15.68 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.556e-05/0.155, allocations: 59.72 kB / 0.6131 GB, free: 15.62 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007599/0.1557, allocations: 0.5311 MB / 0.6136 GB, free: 15.04 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.1557, allocations: 4.047 kB / 0.6136 GB, free: 15.04 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.1557, allocations: 7.938 kB / 0.6136 GB, free: 15.03 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.1558, allocations: 3.984 kB / 0.6136 GB, free: 15.03 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003111/0.1561, allocations: 320.4 kB / 0.614 GB, free: 14.68 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.1561, allocations: 0 / 0.614 GB, free: 14.68 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000123/0.1562, allocations: 35.89 kB / 0.614 GB, free: 14.64 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002831/0.1565, allocations: 109.9 kB / 0.6141 GB, free: 14.54 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.836e-05/0.1565, allocations: 15.98 kB / 0.6141 GB, free: 14.52 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00171/0.1582, allocations: 2.445 MB / 0.6165 GB, free: 11.95 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1582, allocations: 0 / 0.6165 GB, free: 11.95 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006159/0.1588, allocations: 409.1 kB / 0.6169 GB, free: 11.53 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 9.052e-05/0.1589, allocations: 59.69 kB / 0.6169 GB, free: 11.47 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.302e-05/0.159, allocations: 15.92 kB / 0.617 GB, free: 11.45 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001065/0.1591, allocations: 4 kB / 0.617 GB, free: 11.45 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.768e-05/0.1591, allocations: 23.94 kB / 0.617 GB, free: 11.43 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.231e-05/0.1591, allocations: 15.98 kB / 0.617 GB, free: 11.41 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.000215/0.1594, allocations: 283 kB / 0.6173 GB, free: 11.14 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1e-07/0.1594, allocations: 0 / 0.6173 GB, free: 11.14 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0004309/0.1598, allocations: 116 kB / 0.6174 GB, free: 11.02 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.0001912/0.16, allocations: 123.2 kB / 0.6175 GB, free: 10.89 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0006465/0.1606, allocations: 432.9 kB / 0.6179 GB, free: 10.45 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.1606, allocations: 0 / 0.6179 GB, free: 10.45 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0003969/0.161, allocations: 357.9 kB / 0.6183 GB, free: 10.08 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000535/0.1616, allocations: 137.8 kB / 0.6184 GB, free: 9.941 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001509/0.1631, allocations: 0.8339 MB / 0.6192 GB, free: 9.074 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.255e-05/0.1632, allocations: 129.4 kB / 0.6193 GB, free: 8.93 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0001921/0.1634, allocations: 79.16 kB / 0.6194 GB, free: 8.848 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.84e-05/0.1634, allocations: 48.45 kB / 0.6194 GB, free: 8.801 MB / 0.5417 GB Notification: Performance of SimCode: time 7.82e-07/0.1634, allocations: 0 / 0.6194 GB, free: 8.801 MB / 0.5417 GB Notification: Performance of Templates: time 0.01093/0.1744, allocations: 7.236 MB / 0.6265 GB, free: 1.754 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=240 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunction.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunction_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Topology.Tests.TestJunction_ref.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.826321382075548]