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.0009912/0.0009912, allocations: 73.09 kB / 20.65 MB, free: 3.848 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.001615/0.001615, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.8963/0.8963, allocations: 177.1 MB / 204.5 MB, free: 5.508 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.6693/0.6693, allocations: 118.6 MB / 379.7 MB, free: 1.395 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.223e-06/1.223e-06, allocations: 0 / 484.8 MB, free: 8.145 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.635e-05/1.757e-05, allocations: 10.84 kB / 484.8 MB, free: 8.137 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestJunction): time 0.1229/0.1229, allocations: 127.2 MB / 0.5977 GB, free: 0.8398 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.001346/0.1242, allocations: 1.351 MB / 0.599 GB, free: 15.48 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001876/0.1244, allocations: 43.56 kB / 0.599 GB, free: 15.44 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0003528/0.1248, allocations: 111.1 kB / 0.5991 GB, free: 15.33 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0004745/0.1253, allocations: 325.9 kB / 0.5994 GB, free: 15.01 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003729/0.1256, allocations: 223.2 kB / 0.5997 GB, free: 14.79 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0005699/0.1262, allocations: 0.8253 MB / 0.6005 GB, free: 13.96 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001377/0.1263, allocations: 67.59 kB / 0.6005 GB, free: 13.9 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004956/0.1268, allocations: 470.7 kB / 0.601 GB, free: 13.44 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003646/0.1272, allocations: 363.1 kB / 0.6013 GB, free: 13.08 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 4.202e-05/0.1272, allocations: 32 kB / 0.6014 GB, free: 13.05 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002342/0.1275, allocations: 155.6 kB / 0.6015 GB, free: 12.9 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 8.529e-05/0.1276, allocations: 119.5 kB / 0.6016 GB, free: 12.78 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0001062/0.1277, allocations: 155.6 kB / 0.6018 GB, free: 12.63 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0004502/0.1281, allocations: 0.4982 MB / 0.6023 GB, free: 12.13 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.415e-06/0.1281, allocations: 0 / 0.6023 GB, free: 12.13 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.583e-06/0.1281, allocations: 0 / 0.6023 GB, free: 12.13 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.42e-06/0.1281, allocations: 0 / 0.6023 GB, free: 12.13 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.0009543/0.1291, allocations: 0.8575 MB / 0.6031 GB, free: 11.23 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.074e-05/0.1291, allocations: 8.031 kB / 0.6031 GB, free: 11.23 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.798e-05/0.1292, allocations: 72.61 kB / 0.6032 GB, free: 11.16 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004596/0.1297, allocations: 470.3 kB / 0.6036 GB, free: 10.67 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.933e-05/0.1297, allocations: 16.86 kB / 0.6036 GB, free: 10.65 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.117e-05/0.1297, allocations: 28.31 kB / 0.6037 GB, free: 10.62 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002718/0.13, allocations: 265.3 kB / 0.6039 GB, free: 10.35 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.13, allocations: 7.938 kB / 0.6039 GB, free: 10.34 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.954e-05/0.13, allocations: 12 kB / 0.6039 GB, free: 10.33 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.988e-05/0.1301, allocations: 20.48 kB / 0.6039 GB, free: 10.31 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00019/0.1302, allocations: 155.2 kB / 0.6041 GB, free: 10.15 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001071/0.1313, allocations: 1.191 MB / 0.6053 GB, free: 8.926 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001926/0.1315, allocations: 134.9 kB / 0.6054 GB, free: 8.781 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001022/0.1316, allocations: 95.62 kB / 0.6055 GB, free: 8.684 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 7.805e-05/0.1317, allocations: 23.98 kB / 0.6055 GB, free: 8.66 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.048e-05/0.1317, allocations: 41.39 kB / 0.6055 GB, free: 8.609 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=32): time 1.593e-06/0.1317, allocations: 4 kB / 0.6055 GB, free: 8.605 MB / 0.5261 GB Notification: Performance of matching and sorting (n=33): time 0.001072/0.1328, allocations: 0.7589 MB / 0.6063 GB, free: 7.809 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.288e-05/0.1328, allocations: 55.41 kB / 0.6063 GB, free: 7.742 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001817/0.133, allocations: 382.5 kB / 0.6067 GB, free: 7.352 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.02e-05/0.133, allocations: 29.7 kB / 0.6067 GB, free: 7.316 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001107/0.1331, allocations: 271.4 kB / 0.607 GB, free: 7.047 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 6.797e-05/0.1332, allocations: 122.9 kB / 0.6071 GB, free: 6.926 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.322e-05/0.1333, allocations: 75.31 kB / 0.6072 GB, free: 6.844 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001173/0.1334, allocations: 0.5351 MB / 0.6077 GB, free: 6.297 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.648e-05/0.1334, allocations: 51.81 kB / 0.6078 GB, free: 6.246 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.637e-05/0.1335, allocations: 55.81 kB / 0.6078 GB, free: 6.191 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001638/0.1337, allocations: 151.6 kB / 0.608 GB, free: 6.039 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.1337, allocations: 3.938 kB / 0.608 GB, free: 6.035 MB / 0.5261 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003545/0.134, allocations: 336.8 kB / 0.6083 GB, free: 5.695 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.134, allocations: 8 kB / 0.6083 GB, free: 5.688 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.134, allocations: 0 / 0.6083 GB, free: 5.688 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001997/0.1342, allocations: 88.7 kB / 0.6084 GB, free: 5.598 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001288/0.1344, allocations: 51.89 kB / 0.6084 GB, free: 5.547 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001444/0.1358, allocations: 2.384 MB / 0.6107 GB, free: 3.051 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.038e-05/0.1359, allocations: 4 kB / 0.6107 GB, free: 3.047 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.683e-05/0.1359, allocations: 11.98 kB / 0.6108 GB, free: 3.035 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.0001066/0.136, allocations: 172.5 kB / 0.6109 GB, free: 2.855 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.955e-05/0.1361, allocations: 59.66 kB / 0.611 GB, free: 2.797 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004816/0.1366, allocations: 0.5216 MB / 0.6115 GB, free: 2.227 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.514e-06/0.1366, allocations: 4 kB / 0.6115 GB, free: 2.223 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.935e-06/0.1366, allocations: 7.938 kB / 0.6115 GB, free: 2.215 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.823e-06/0.1366, allocations: 7.969 kB / 0.6115 GB, free: 2.207 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002049/0.1368, allocations: 257 kB / 0.6118 GB, free: 1.93 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.1368, allocations: 0 / 0.6118 GB, free: 1.93 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.83e-05/0.1369, allocations: 23.97 kB / 0.6118 GB, free: 1.906 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001948/0.1371, allocations: 107.6 kB / 0.6119 GB, free: 1.797 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.818e-05/0.1371, allocations: 11.98 kB / 0.6119 GB, free: 1.785 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001319/0.1384, allocations: 2.394 MB / 0.6142 GB, free: 15.28 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1384, allocations: 0 / 0.6142 GB, free: 15.28 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004073/0.1388, allocations: 384.7 kB / 0.6146 GB, free: 14.88 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 6.721e-05/0.1389, allocations: 63.67 kB / 0.6147 GB, free: 14.81 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.844e-05/0.1389, allocations: 8 kB / 0.6147 GB, free: 14.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.844e-05/0.139, allocations: 4 kB / 0.6147 GB, free: 14.8 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.741e-05/0.139, allocations: 27.94 kB / 0.6147 GB, free: 14.77 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.302e-05/0.139, allocations: 7.984 kB / 0.6147 GB, free: 14.77 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001244/0.1391, allocations: 270.9 kB / 0.615 GB, free: 14.5 MB / 0.5417 GB Notification: Performance of sort global known variables: time 6e-08/0.1391, allocations: 0 / 0.615 GB, free: 14.5 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002944/0.1394, allocations: 112.1 kB / 0.6151 GB, free: 14.39 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.000135/0.1396, allocations: 135.1 kB / 0.6152 GB, free: 14.25 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0004241/0.14, allocations: 420.8 kB / 0.6156 GB, free: 13.82 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.14, allocations: 4 kB / 0.6156 GB, free: 13.82 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.000274/0.1403, allocations: 341.8 kB / 0.6159 GB, free: 13.46 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003738/0.1407, allocations: 148.3 kB / 0.6161 GB, free: 13.32 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001044/0.1417, allocations: 0.8202 MB / 0.6169 GB, free: 12.46 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.192e-05/0.1418, allocations: 129.2 kB / 0.617 GB, free: 12.32 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.000122/0.1419, allocations: 59.2 kB / 0.6171 GB, free: 12.26 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001842/0.1421, allocations: 170.1 kB / 0.6172 GB, free: 12.09 MB / 0.5417 GB Notification: Performance of SimCode: time 5.62e-07/0.1421, allocations: 0 / 0.6172 GB, free: 12.09 MB / 0.5417 GB Notification: Performance of Templates: time 0.008767/0.1508, allocations: 7.402 MB / 0.6244 GB, free: 4.879 MB / 0.5417 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: 3.8117162701673806]