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.0009852/0.0009852, allocations: 93.06 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.001242/0.001242, allocations: 169.3 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.9596/0.9596, allocations: 177.1 MB / 203.4 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.7196/0.7196, allocations: 118.6 MB / 378.6 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.793e-06/1.793e-06, allocations: 0 / 483.6 MB, free: 8.25 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.324e-05/3.504e-05, allocations: 2.312 kB / 483.6 MB, free: 8.246 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestJunction): time 0.1314/0.1314, allocations: 130.1 MB / 0.5993 GB, free: 14.19 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.001668/0.1331, allocations: 1.355 MB / 0.6006 GB, free: 12.83 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002811/0.1333, allocations: 39.62 kB / 0.6007 GB, free: 12.79 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0004913/0.1338, allocations: 107.1 kB / 0.6008 GB, free: 12.68 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0006773/0.1345, allocations: 329.9 kB / 0.6011 GB, free: 12.36 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005329/0.135, allocations: 223.2 kB / 0.6013 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0007895/0.1358, allocations: 0.8253 MB / 0.6021 GB, free: 11.31 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001969/0.136, allocations: 71.59 kB / 0.6022 GB, free: 11.24 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000771/0.1368, allocations: 450.7 kB / 0.6026 GB, free: 10.8 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004805/0.1373, allocations: 335.2 kB / 0.6029 GB, free: 10.47 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 5.428e-05/0.1373, allocations: 28 kB / 0.603 GB, free: 10.45 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003306/0.1377, allocations: 167.5 kB / 0.6031 GB, free: 10.28 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0001131/0.1378, allocations: 119.6 kB / 0.6032 GB, free: 10.16 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0001525/0.1379, allocations: 151.6 kB / 0.6034 GB, free: 10.02 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0006933/0.1386, allocations: 0.4943 MB / 0.6039 GB, free: 9.52 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.1386, allocations: 0 / 0.6039 GB, free: 9.52 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.222e-06/0.1386, allocations: 0 / 0.6039 GB, free: 9.52 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.223e-05/0.1386, allocations: 0 / 0.6039 GB, free: 9.52 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.001253/0.1399, allocations: 0.8887 MB / 0.6047 GB, free: 8.594 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.527e-05/0.1399, allocations: 8.031 kB / 0.6047 GB, free: 8.586 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001142/0.1401, allocations: 72.61 kB / 0.6048 GB, free: 8.516 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005776/0.1406, allocations: 478.2 kB / 0.6053 GB, free: 8.023 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.068e-05/0.1407, allocations: 16.88 kB / 0.6053 GB, free: 8.004 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.393e-05/0.1407, allocations: 24.38 kB / 0.6053 GB, free: 7.98 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003847/0.1411, allocations: 297.3 kB / 0.6056 GB, free: 7.672 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.1411, allocations: 7.938 kB / 0.6056 GB, free: 7.664 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.325e-05/0.1411, allocations: 8 kB / 0.6056 GB, free: 7.656 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-05/0.1412, allocations: 16.5 kB / 0.6056 GB, free: 7.641 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003144/0.1415, allocations: 214.7 kB / 0.6058 GB, free: 7.43 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001439/0.1429, allocations: 1.265 MB / 0.6071 GB, free: 6.117 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002935/0.1432, allocations: 147 kB / 0.6072 GB, free: 5.961 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001563/0.1434, allocations: 111.6 kB / 0.6073 GB, free: 5.848 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001196/0.1435, allocations: 23.98 kB / 0.6073 GB, free: 5.824 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.79e-05/0.1435, allocations: 41.39 kB / 0.6074 GB, free: 5.773 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=32): time 1.753e-06/0.1435, allocations: 7.938 kB / 0.6074 GB, free: 5.766 MB / 0.5261 GB Notification: Performance of matching and sorting (n=33): time 0.0015/0.145, allocations: 0.8834 MB / 0.6082 GB, free: 4.844 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.035e-05/0.1451, allocations: 55.41 kB / 0.6083 GB, free: 4.777 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000251/0.1453, allocations: 390.7 kB / 0.6087 GB, free: 4.379 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.413e-05/0.1453, allocations: 29.7 kB / 0.6087 GB, free: 4.344 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001196/0.1455, allocations: 271.5 kB / 0.609 GB, free: 4.074 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 7.703e-05/0.1455, allocations: 119 kB / 0.6091 GB, free: 3.957 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.825e-05/0.1456, allocations: 71.33 kB / 0.6091 GB, free: 3.879 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001448/0.1458, allocations: 0.5313 MB / 0.6097 GB, free: 3.336 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001172/0.1459, allocations: 67.81 kB / 0.6097 GB, free: 3.27 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001056/0.146, allocations: 71.81 kB / 0.6098 GB, free: 3.199 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000255/0.1462, allocations: 179.6 kB / 0.61 GB, free: 3.02 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.1462, allocations: 0 / 0.61 GB, free: 3.02 MB / 0.5261 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004809/0.1467, allocations: 372.9 kB / 0.6103 GB, free: 2.645 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.364e-05/0.1467, allocations: 4 kB / 0.6103 GB, free: 2.641 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.1468, allocations: 0 / 0.6103 GB, free: 2.641 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002832/0.147, allocations: 99.38 kB / 0.6104 GB, free: 2.543 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001629/0.1472, allocations: 51.95 kB / 0.6105 GB, free: 2.492 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001669/0.1489, allocations: 2.426 MB / 0.6128 GB, free: 15.95 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001098/0.149, allocations: 15.98 kB / 0.6128 GB, free: 15.93 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.933e-05/0.149, allocations: 11.98 kB / 0.6129 GB, free: 15.92 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.0001211/0.1491, allocations: 176.5 kB / 0.613 GB, free: 15.73 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.493e-05/0.1492, allocations: 55.72 kB / 0.6131 GB, free: 15.68 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006354/0.1498, allocations: 0.5295 MB / 0.6136 GB, free: 15.1 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.1498, allocations: 11.92 kB / 0.6136 GB, free: 15.09 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.1498, allocations: 4 kB / 0.6136 GB, free: 15.09 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.1498, allocations: 0 / 0.6136 GB, free: 15.09 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002875/0.1501, allocations: 312.5 kB / 0.6139 GB, free: 14.75 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.1501, allocations: 8 kB / 0.6139 GB, free: 14.74 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001005/0.1502, allocations: 31.95 kB / 0.6139 GB, free: 14.71 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002834/0.1505, allocations: 115.3 kB / 0.6141 GB, free: 14.59 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.742e-05/0.1505, allocations: 11.98 kB / 0.6141 GB, free: 14.58 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001588/0.1521, allocations: 2.45 MB / 0.6165 GB, free: 12.01 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.1521, allocations: 0 / 0.6165 GB, free: 12.01 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005505/0.1527, allocations: 404.8 kB / 0.6168 GB, free: 11.59 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 9.118e-05/0.1528, allocations: 71.61 kB / 0.6169 GB, free: 11.52 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.199e-05/0.1528, allocations: 7.938 kB / 0.6169 GB, free: 11.51 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.694e-05/0.1529, allocations: 8 kB / 0.6169 GB, free: 11.5 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.338e-05/0.1529, allocations: 23.94 kB / 0.617 GB, free: 11.48 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.642e-05/0.153, allocations: 11.98 kB / 0.617 GB, free: 11.46 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001937/0.1531, allocations: 287 kB / 0.6172 GB, free: 11.19 MB / 0.5417 GB Notification: Performance of sort global known variables: time 4e-08/0.1531, allocations: 0 / 0.6172 GB, free: 11.19 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0003751/0.1535, allocations: 108 kB / 0.6173 GB, free: 11.08 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.0002446/0.1538, allocations: 119.2 kB / 0.6175 GB, free: 10.96 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0006798/0.1544, allocations: 444.9 kB / 0.6179 GB, free: 10.5 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1545, allocations: 0 / 0.6179 GB, free: 10.5 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0003905/0.1548, allocations: 353.9 kB / 0.6182 GB, free: 10.13 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000468/0.1553, allocations: 138.8 kB / 0.6183 GB, free: 9.996 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001951/0.1573, allocations: 0.8381 MB / 0.6192 GB, free: 9.125 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001521/0.1574, allocations: 125.2 kB / 0.6193 GB, free: 8.984 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.000245/0.1577, allocations: 91.14 kB / 0.6194 GB, free: 8.891 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.812e-05/0.1577, allocations: 40.47 kB / 0.6194 GB, free: 8.852 MB / 0.5417 GB Notification: Performance of SimCode: time 2.294e-06/0.1577, allocations: 0 / 0.6194 GB, free: 8.852 MB / 0.5417 GB Notification: Performance of Templates: time 0.01015/0.1679, allocations: 6.787 MB / 0.626 GB, free: 2.254 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: 4.048299504909664]