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.001533/0.001533, allocations: 92.2 kB / 20.19 MB, free: 4.363 MB / 18.57 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.001778/0.001778, allocations: 173 kB / 23.49 MB, free: 1.062 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.9397/0.9397, allocations: 177.1 MB / 203.8 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.0/package.mo): time 0.7234/0.7234, allocations: 118.6 MB / 378.9 MB, free: 1.516 MB / 346.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.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.503e-06/1.503e-06, allocations: 0 / 483.6 MB, free: 8.242 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.104e-05/2.254e-05, allocations: 2.312 kB / 483.6 MB, free: 8.238 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestJunction): time 0.1249/0.1249, allocations: 139 MB / 0.608 GB, free: 5.566 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.003677/0.1286, allocations: 3.872 MB / 0.6118 GB, free: 1.684 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003057/0.1289, allocations: 43.62 kB / 0.6118 GB, free: 1.641 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0006121/0.1295, allocations: 190.6 kB / 0.612 GB, free: 1.453 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.00076/0.1303, allocations: 381.6 kB / 0.6124 GB, free: 1.078 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.000834/0.1311, allocations: 442 kB / 0.6128 GB, free: 0.6445 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0007874/0.1319, allocations: 0.8216 MB / 0.6136 GB, free: 15.82 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001864/0.1321, allocations: 71.58 kB / 0.6137 GB, free: 15.75 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000762/0.1328, allocations: 0.5256 MB / 0.6142 GB, free: 15.22 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004176/0.1332, allocations: 343.2 kB / 0.6145 GB, free: 14.88 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 4.583e-05/0.1333, allocations: 32 kB / 0.6145 GB, free: 14.85 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005473/0.1338, allocations: 379.2 kB / 0.6149 GB, free: 14.48 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.0001142/0.134, allocations: 123.5 kB / 0.615 GB, free: 14.36 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.0001293/0.1341, allocations: 151.6 kB / 0.6152 GB, free: 14.21 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.0006766/0.1348, allocations: 0.5839 MB / 0.6157 GB, free: 13.62 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.1348, allocations: 0 / 0.6157 GB, free: 13.62 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.242e-06/0.1348, allocations: 0 / 0.6157 GB, free: 13.62 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 8.176e-06/0.1348, allocations: 0 / 0.6157 GB, free: 13.62 MB / 0.5417 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.001353/0.1361, allocations: 0.8844 MB / 0.6166 GB, free: 12.7 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/0.1362, allocations: 8.031 kB / 0.6166 GB, free: 12.7 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001069/0.1363, allocations: 76.61 kB / 0.6167 GB, free: 12.62 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005352/0.1368, allocations: 486.2 kB / 0.6172 GB, free: 12.12 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.991e-05/0.1368, allocations: 20.88 kB / 0.6172 GB, free: 12.09 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.353e-05/0.1369, allocations: 24.38 kB / 0.6172 GB, free: 12.07 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003586/0.1372, allocations: 285.4 kB / 0.6175 GB, free: 11.78 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.279e-05/0.1372, allocations: 7.922 kB / 0.6175 GB, free: 11.77 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.488e-05/0.1373, allocations: 12 kB / 0.6175 GB, free: 11.76 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.8e-05/0.1373, allocations: 20.48 kB / 0.6175 GB, free: 11.74 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003005/0.1376, allocations: 210.7 kB / 0.6177 GB, free: 11.53 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001299/0.1389, allocations: 1.257 MB / 0.6189 GB, free: 10.22 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002748/0.1392, allocations: 150.9 kB / 0.6191 GB, free: 10.06 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001526/0.1393, allocations: 107.6 kB / 0.6192 GB, free: 9.953 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001065/0.1394, allocations: 36.45 kB / 0.6192 GB, free: 9.918 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.082e-05/0.1395, allocations: 37.39 kB / 0.6192 GB, free: 9.871 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=32): time 1.372e-06/0.1395, allocations: 0 / 0.6192 GB, free: 9.871 MB / 0.5417 GB Notification: Performance of matching and sorting (n=33): time 0.001462/0.1409, allocations: 0.8829 MB / 0.6201 GB, free: 8.949 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.895e-05/0.141, allocations: 55.41 kB / 0.6202 GB, free: 8.883 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000255/0.1412, allocations: 390.7 kB / 0.6205 GB, free: 8.484 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.318e-05/0.1412, allocations: 29.7 kB / 0.6206 GB, free: 8.449 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001183/0.1414, allocations: 271.4 kB / 0.6208 GB, free: 8.18 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 8.172e-05/0.1414, allocations: 123 kB / 0.6209 GB, free: 8.059 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.078e-05/0.1415, allocations: 75.33 kB / 0.621 GB, free: 7.977 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001286/0.1416, allocations: 0.5235 MB / 0.6215 GB, free: 7.441 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001096/0.1418, allocations: 67.94 kB / 0.6216 GB, free: 7.375 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001136/0.1419, allocations: 71.67 kB / 0.6217 GB, free: 7.305 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002476/0.1421, allocations: 175.6 kB / 0.6218 GB, free: 7.129 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.1421, allocations: 4 kB / 0.6218 GB, free: 7.125 MB / 0.5417 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004686/0.1426, allocations: 365 kB / 0.6222 GB, free: 6.758 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.1426, allocations: 8 kB / 0.6222 GB, free: 6.75 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/0.1426, allocations: 0 / 0.6222 GB, free: 6.75 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002599/0.1429, allocations: 95.39 kB / 0.6223 GB, free: 6.656 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001575/0.143, allocations: 59.88 kB / 0.6223 GB, free: 6.598 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00175/0.1448, allocations: 2.434 MB / 0.6247 GB, free: 4.043 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001004/0.1449, allocations: 8 kB / 0.6247 GB, free: 4.035 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.122e-05/0.1449, allocations: 19.97 kB / 0.6247 GB, free: 4.016 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.0001084/0.145, allocations: 172.5 kB / 0.6249 GB, free: 3.836 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.216e-05/0.1451, allocations: 55.72 kB / 0.625 GB, free: 3.781 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005897/0.1457, allocations: 0.5356 MB / 0.6255 GB, free: 3.203 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/0.1457, allocations: 7.938 kB / 0.6255 GB, free: 3.195 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.464e-06/0.1457, allocations: 0 / 0.6255 GB, free: 3.195 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.696e-06/0.1457, allocations: 7.984 kB / 0.6255 GB, free: 3.188 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002557/0.1459, allocations: 320.3 kB / 0.6258 GB, free: 2.84 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.1459, allocations: 0 / 0.6258 GB, free: 2.84 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.47e-05/0.146, allocations: 31.97 kB / 0.6258 GB, free: 2.809 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002202/0.1462, allocations: 110.9 kB / 0.6259 GB, free: 2.699 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.177e-05/0.1463, allocations: 11.98 kB / 0.6259 GB, free: 2.688 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001397/0.1477, allocations: 2.438 MB / 0.6283 GB, free: 132 kB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1477, allocations: 0 / 0.6283 GB, free: 132 kB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005277/0.1482, allocations: 411.1 kB / 0.6287 GB, free: 15.7 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 7.44e-05/0.1483, allocations: 67.67 kB / 0.6288 GB, free: 15.63 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.992e-05/0.1483, allocations: 7.938 kB / 0.6288 GB, free: 15.62 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.546e-05/0.1484, allocations: 11.98 kB / 0.6288 GB, free: 15.61 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.748e-05/0.1484, allocations: 23.95 kB / 0.6288 GB, free: 15.59 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.505e-05/0.1484, allocations: 7.984 kB / 0.6288 GB, free: 15.58 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0001726/0.1486, allocations: 287 kB / 0.6291 GB, free: 15.31 MB / 0.5573 GB Notification: Performance of sort global known variables: time 6e-08/0.1486, allocations: 0 / 0.6291 GB, free: 15.31 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0003428/0.1489, allocations: 127.9 kB / 0.6292 GB, free: 15.18 MB / 0.5573 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.0002186/0.1492, allocations: 190.9 kB / 0.6294 GB, free: 14.99 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0005537/0.1497, allocations: 436.7 kB / 0.6298 GB, free: 14.54 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.1497, allocations: 0 / 0.6298 GB, free: 14.54 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0003249/0.15, allocations: 357.9 kB / 0.6302 GB, free: 14.17 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004161/0.1505, allocations: 140.5 kB / 0.6303 GB, free: 14.04 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001542/0.152, allocations: 0.8351 MB / 0.6311 GB, free: 13.17 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.975e-05/0.1521, allocations: 121.3 kB / 0.6312 GB, free: 13.04 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0001674/0.1523, allocations: 81.3 kB / 0.6313 GB, free: 12.96 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.879e-05/0.1523, allocations: 40.47 kB / 0.6313 GB, free: 12.92 MB / 0.5573 GB Notification: Performance of SimCode: time 8.02e-07/0.1523, allocations: 112 / 0.6313 GB, free: 12.92 MB / 0.5573 GB Notification: Performance of Templates: time 0.009872/0.1622, allocations: 7.625 MB / 0.6388 GB, free: 5.461 MB / 0.5573 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=240 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunction.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_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: 4.11447649798356]