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.0009412/0.0009412, allocations: 77.14 kB / 19.87 MB, free: 4.621 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.0009996/0.0009996, allocations: 173 kB / 23.28 MB, free: 1.219 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.978/0.978, allocations: 177.1 MB / 203.7 MB, free: 5.484 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.7065/0.7065, allocations: 118.6 MB / 378.9 MB, free: 1.371 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.763e-06/1.763e-06, allocations: 1.25 kB / 484 MB, free: 8.133 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.215e-05/2.391e-05, allocations: 2.312 kB / 484 MB, free: 8.129 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestJunction): time 0.129/0.1291, allocations: 127.2 MB / 0.5969 GB, free: 0.8359 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.002082/0.1311, allocations: 1.344 MB / 0.5982 GB, free: 15.49 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003589/0.1315, allocations: 47.5 kB / 0.5982 GB, free: 15.44 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.00045/0.132, allocations: 111.1 kB / 0.5984 GB, free: 15.33 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0006281/0.1326, allocations: 325.9 kB / 0.5987 GB, free: 15.01 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005329/0.1331, allocations: 231.1 kB / 0.5989 GB, free: 14.79 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.000809/0.1339, allocations: 0.8253 MB / 0.5997 GB, free: 13.96 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001737/0.1341, allocations: 71.58 kB / 0.5998 GB, free: 13.89 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006713/0.1348, allocations: 462.7 kB / 0.6002 GB, free: 13.43 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004558/0.1352, allocations: 371.1 kB / 0.6006 GB, free: 13.07 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 4.941e-05/0.1353, allocations: 28 kB / 0.6006 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002729/0.1355, allocations: 155.6 kB / 0.6007 GB, free: 12.89 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 9.833e-05/0.1356, allocations: 119.6 kB / 0.6008 GB, free: 12.77 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0001361/0.1358, allocations: 151.6 kB / 0.601 GB, free: 12.62 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0005992/0.1364, allocations: 0.4904 MB / 0.6015 GB, free: 12.13 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.1364, allocations: 3.938 kB / 0.6015 GB, free: 12.13 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.252e-06/0.1364, allocations: 0 / 0.6015 GB, free: 12.13 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.169e-06/0.1364, allocations: 4 kB / 0.6015 GB, free: 12.12 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.001104/0.1375, allocations: 0.8575 MB / 0.6023 GB, free: 11.23 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.1375, allocations: 20.02 kB / 0.6023 GB, free: 11.21 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001043/0.1376, allocations: 72.61 kB / 0.6024 GB, free: 11.14 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005814/0.1382, allocations: 470.3 kB / 0.6028 GB, free: 10.66 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.122e-05/0.1382, allocations: 20.88 kB / 0.6029 GB, free: 10.63 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.755e-05/0.1383, allocations: 24.36 kB / 0.6029 GB, free: 10.61 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003502/0.1386, allocations: 265.3 kB / 0.6031 GB, free: 10.33 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.315e-05/0.1387, allocations: 3.938 kB / 0.6031 GB, free: 10.33 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.512e-05/0.1387, allocations: 8 kB / 0.6032 GB, free: 10.32 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.08e-05/0.1387, allocations: 20.48 kB / 0.6032 GB, free: 10.3 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002478/0.139, allocations: 159.2 kB / 0.6033 GB, free: 10.14 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001346/0.1403, allocations: 1.183 MB / 0.6045 GB, free: 8.918 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002435/0.1406, allocations: 134.9 kB / 0.6046 GB, free: 8.773 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001327/0.1407, allocations: 99.61 kB / 0.6047 GB, free: 8.672 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001072/0.1408, allocations: 35.03 kB / 0.6047 GB, free: 8.645 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.688e-05/0.1408, allocations: 37.39 kB / 0.6048 GB, free: 8.598 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=32): time 1.393e-06/0.1408, allocations: 0 / 0.6048 GB, free: 8.598 MB / 0.5261 GB Notification: Performance of matching and sorting (n=33): time 0.00163/0.1425, allocations: 0.7628 MB / 0.6055 GB, free: 7.797 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.941e-05/0.1425, allocations: 55.41 kB / 0.6056 GB, free: 7.73 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002617/0.1427, allocations: 386.5 kB / 0.6059 GB, free: 7.336 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.31e-05/0.1428, allocations: 29.7 kB / 0.606 GB, free: 7.301 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001316/0.1429, allocations: 267.4 kB / 0.6062 GB, free: 7.035 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 9.271e-05/0.143, allocations: 126.9 kB / 0.6063 GB, free: 6.91 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.966e-05/0.1431, allocations: 71.31 kB / 0.6064 GB, free: 6.832 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001595/0.1433, allocations: 0.5351 MB / 0.6069 GB, free: 6.285 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.715e-05/0.1433, allocations: 51.81 kB / 0.607 GB, free: 6.234 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.813e-05/0.1434, allocations: 55.81 kB / 0.607 GB, free: 6.18 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002156/0.1436, allocations: 143.6 kB / 0.6072 GB, free: 6.035 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.1436, allocations: 4 kB / 0.6072 GB, free: 6.031 MB / 0.5261 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004733/0.1441, allocations: 340.8 kB / 0.6075 GB, free: 5.688 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.1441, allocations: 6.656 kB / 0.6075 GB, free: 5.684 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.1441, allocations: 0 / 0.6075 GB, free: 5.684 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002439/0.1444, allocations: 91.55 kB / 0.6076 GB, free: 5.59 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001612/0.1445, allocations: 59.88 kB / 0.6077 GB, free: 5.531 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001642/0.1462, allocations: 2.385 MB / 0.61 GB, free: 3.031 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001014/0.1463, allocations: 4 kB / 0.61 GB, free: 3.027 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.48e-05/0.1463, allocations: 19.97 kB / 0.61 GB, free: 3.008 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.000117/0.1464, allocations: 168.5 kB / 0.6102 GB, free: 2.832 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.511e-05/0.1465, allocations: 55.66 kB / 0.6102 GB, free: 2.777 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006198/0.1471, allocations: 0.5332 MB / 0.6107 GB, free: 2.195 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.1471, allocations: 4 kB / 0.6107 GB, free: 2.191 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.566e-06/0.1471, allocations: 4 kB / 0.6107 GB, free: 2.188 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.1471, allocations: 3.938 kB / 0.6108 GB, free: 2.184 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002591/0.1474, allocations: 249 kB / 0.611 GB, free: 1.914 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.397e-06/0.1474, allocations: 3.984 kB / 0.611 GB, free: 1.91 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.701e-05/0.1475, allocations: 23.97 kB / 0.611 GB, free: 1.887 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002292/0.1477, allocations: 103.2 kB / 0.6111 GB, free: 1.785 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.29e-05/0.1478, allocations: 11.98 kB / 0.6111 GB, free: 1.773 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001849/0.1496, allocations: 2.412 MB / 0.6135 GB, free: 15.25 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1496, allocations: 0 / 0.6135 GB, free: 15.25 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005242/0.1501, allocations: 380.7 kB / 0.6138 GB, free: 14.85 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 9.021e-05/0.1502, allocations: 67.67 kB / 0.6139 GB, free: 14.78 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.375e-05/0.1502, allocations: 4 kB / 0.6139 GB, free: 14.78 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.46e-05/0.1503, allocations: 8 kB / 0.6139 GB, free: 14.77 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.288e-05/0.1504, allocations: 23.94 kB / 0.6139 GB, free: 14.75 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.743e-05/0.1504, allocations: 7.984 kB / 0.614 GB, free: 14.74 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001788/0.1506, allocations: 274.9 kB / 0.6142 GB, free: 14.47 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1e-07/0.1506, allocations: 0 / 0.6142 GB, free: 14.47 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.000414/0.151, allocations: 112 kB / 0.6143 GB, free: 14.36 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.0001574/0.1512, allocations: 123.1 kB / 0.6144 GB, free: 14.23 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.00052/0.1517, allocations: 420.8 kB / 0.6148 GB, free: 13.8 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.1517, allocations: 0 / 0.6148 GB, free: 13.8 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0003495/0.152, allocations: 353.8 kB / 0.6152 GB, free: 13.43 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004696/0.1525, allocations: 129.5 kB / 0.6153 GB, free: 13.31 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001307/0.1538, allocations: 0.8278 MB / 0.6161 GB, free: 12.45 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.014e-05/0.1539, allocations: 125.2 kB / 0.6162 GB, free: 12.31 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0001568/0.1541, allocations: 63.2 kB / 0.6163 GB, free: 12.24 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00023/0.1543, allocations: 174.1 kB / 0.6165 GB, free: 12.07 MB / 0.5417 GB Notification: Performance of SimCode: time 7.01e-07/0.1543, allocations: 0 / 0.6165 GB, free: 12.07 MB / 0.5417 GB Notification: Performance of Templates: time 0.01099/0.1653, allocations: 7.287 MB / 0.6236 GB, free: 4.953 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.8361402968876064]