Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter.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.001151/0.001151, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 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.001427/0.001427, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.9308/0.9308, allocations: 177.2 MB / 202.8 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.0/package.mo): time 0.5667/0.5667, allocations: 80.17 MB / 339.4 MB, free: 7.535 MB / 314.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.3.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.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: "" <> buildModelFMU(ThermofluidStream.Topology.Tests.TestSplitter,fileNamePrefix="ThermofluidStream_ThermofluidStream_Topology_Tests_TestSplitter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Topology.Tests.TestSplitter,fileNamePrefix="ThermofluidStream_ThermofluidStream_Topology_Tests_TestSplitter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.984e-06/1.984e-06, allocations: 0 / 0.4924 GB, free: 6.652 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.716e-05/1.915e-05, allocations: 2.281 kB / 0.4924 GB, free: 6.648 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestSplitter): time 0.1269/0.127, allocations: 124.5 MB / 0.6139 GB, free: 11.56 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.001084/0.128, allocations: 1.402 MB / 0.6153 GB, free: 10.16 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001542/0.1282, allocations: 27.75 kB / 0.6153 GB, free: 10.13 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0004461/0.1286, allocations: 147 kB / 0.6154 GB, free: 9.984 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0003303/0.129, allocations: 222.5 kB / 0.6156 GB, free: 9.766 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002018/0.1292, allocations: 139.4 kB / 0.6158 GB, free: 9.629 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0003213/0.1295, allocations: 441.7 kB / 0.6162 GB, free: 9.195 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001495/0.1296, allocations: 54.56 kB / 0.6162 GB, free: 9.145 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003226/0.13, allocations: 271.1 kB / 0.6165 GB, free: 8.879 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000158/0.1301, allocations: 147.6 kB / 0.6166 GB, free: 8.734 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 2.526e-05/0.1301, allocations: 20 kB / 0.6167 GB, free: 8.715 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002379/0.1304, allocations: 235.6 kB / 0.6169 GB, free: 8.484 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 4.832e-05/0.1304, allocations: 55.7 kB / 0.6169 GB, free: 8.43 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 6.711e-05/0.1305, allocations: 87.78 kB / 0.617 GB, free: 8.344 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0003535/0.1309, allocations: 390.7 kB / 0.6174 GB, free: 7.961 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.1309, allocations: 0 / 0.6174 GB, free: 7.961 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.134e-06/0.1309, allocations: 0 / 0.6174 GB, free: 7.961 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.17e-06/0.1309, allocations: 0 / 0.6174 GB, free: 7.961 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: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.0007953/0.1317, allocations: 0.5476 MB / 0.6179 GB, free: 7.379 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/0.1317, allocations: 9.469 kB / 0.6179 GB, free: 7.371 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.328e-05/0.1317, allocations: 54.73 kB / 0.618 GB, free: 7.309 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.381e-05/0.1318, allocations: 36.7 kB / 0.618 GB, free: 7.273 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003341/0.1321, allocations: 308.2 kB / 0.6183 GB, free: 6.949 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.367e-05/0.1321, allocations: 12.75 kB / 0.6183 GB, free: 6.938 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.301e-05/0.1322, allocations: 28.33 kB / 0.6184 GB, free: 6.91 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000245/0.1324, allocations: 224.8 kB / 0.6186 GB, free: 6.684 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.1324, allocations: 4.188 kB / 0.6186 GB, free: 6.68 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.53e-05/0.1324, allocations: 11.94 kB / 0.6186 GB, free: 6.668 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.1324, allocations: 4 kB / 0.6186 GB, free: 6.664 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001429/0.1326, allocations: 131.9 kB / 0.6187 GB, free: 6.535 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006822/0.1333, allocations: 0.6905 MB / 0.6194 GB, free: 5.797 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002262/0.1335, allocations: 130.5 kB / 0.6195 GB, free: 5.66 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.653e-05/0.1336, allocations: 56.84 kB / 0.6196 GB, free: 5.602 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 7.349e-05/0.1336, allocations: 19.98 kB / 0.6196 GB, free: 5.582 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.794e-05/0.1337, allocations: 30.56 kB / 0.6196 GB, free: 5.543 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=15): time 9.12e-07/0.1337, allocations: 0 / 0.6196 GB, free: 5.543 MB / 0.5261 GB Notification: Performance of matching and sorting (n=16): time 0.0009433/0.1346, allocations: 0.6164 MB / 0.6202 GB, free: 4.891 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.288e-05/0.1346, allocations: 63.28 kB / 0.6203 GB, free: 4.816 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002227/0.1349, allocations: 341.7 kB / 0.6206 GB, free: 4.473 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.178e-05/0.1349, allocations: 29.7 kB / 0.6206 GB, free: 4.438 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 8.294e-05/0.1349, allocations: 176.3 kB / 0.6208 GB, free: 4.258 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.848e-05/0.135, allocations: 67.39 kB / 0.6209 GB, free: 4.191 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.766e-05/0.135, allocations: 29.72 kB / 0.6209 GB, free: 4.156 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.904e-05/0.1351, allocations: 346.8 kB / 0.6212 GB, free: 3.809 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.456e-05/0.1352, allocations: 43.98 kB / 0.6213 GB, free: 3.766 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.889e-05/0.1352, allocations: 71.58 kB / 0.6213 GB, free: 3.691 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001231/0.1354, allocations: 120.4 kB / 0.6215 GB, free: 3.57 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.233e-06/0.1354, allocations: 4 kB / 0.6215 GB, free: 3.566 MB / 0.5261 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002784/0.1356, allocations: 270 kB / 0.6217 GB, free: 3.293 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.196e-05/0.1357, allocations: 4 kB / 0.6217 GB, free: 3.289 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.1357, allocations: 3.938 kB / 0.6217 GB, free: 3.285 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002116/0.1359, allocations: 96.73 kB / 0.6218 GB, free: 3.188 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.059e-05/0.1359, allocations: 15.98 kB / 0.6218 GB, free: 3.172 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001262/0.1372, allocations: 1.839 MB / 0.6236 GB, free: 1.215 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.701e-05/0.1372, allocations: 0 / 0.6236 GB, free: 1.215 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.012e-05/0.1372, allocations: 8 kB / 0.6236 GB, free: 1.207 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (11): * Single equations (assignments): 10 * 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,6,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001017/0.1373, allocations: 146.5 kB / 0.6238 GB, free: 1.055 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.088e-05/0.1374, allocations: 31.81 kB / 0.6238 GB, free: 1.023 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003051/0.1377, allocations: 284.2 kB / 0.6241 GB, free: 0.7227 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.1377, allocations: 4 kB / 0.6241 GB, free: 0.7188 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.804e-06/0.1377, allocations: 0 / 0.6241 GB, free: 0.7188 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.1377, allocations: 0 / 0.6241 GB, free: 0.7188 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00055/0.1382, allocations: 0.563 MB / 0.6246 GB, free: 96 kB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.998e-06/0.1382, allocations: 4 kB / 0.6246 GB, free: 92 kB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.9e-05/0.1383, allocations: 7.938 kB / 0.6246 GB, free: 84 kB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001735/0.1384, allocations: 101 kB / 0.6247 GB, free: 15.98 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.269e-05/0.1384, allocations: 8 kB / 0.6247 GB, free: 15.97 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001171/0.1396, allocations: 1.838 MB / 0.6265 GB, free: 14.02 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1396, allocations: 0 / 0.6265 GB, free: 14.02 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003258/0.1399, allocations: 406.3 kB / 0.6269 GB, free: 13.59 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 2.6e-05/0.14, allocations: 31.84 kB / 0.627 GB, free: 13.56 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.915e-05/0.14, allocations: 4 kB / 0.627 GB, free: 13.56 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.628e-05/0.1401, allocations: 4 kB / 0.627 GB, free: 13.55 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.863e-05/0.1401, allocations: 15.91 kB / 0.627 GB, free: 13.54 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.901e-06/0.1401, allocations: 4 kB / 0.627 GB, free: 13.54 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001709/0.1403, allocations: 259.2 kB / 0.6272 GB, free: 13.29 MB / 0.5417 GB Notification: Performance of sort global known variables: time 4e-08/0.1403, allocations: 0 / 0.6272 GB, free: 13.29 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002366/0.1405, allocations: 79.94 kB / 0.6273 GB, free: 13.21 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (sink.inlet.m_flow,sink1.inlet.m_flow,sink2.inlet.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 (5): * Single equations (assignments): 4 * 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,6,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006234/0.1411, allocations: 1.009 MB / 0.6283 GB, free: 12.16 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0003837/0.1415, allocations: 294.5 kB / 0.6286 GB, free: 11.86 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.1415, allocations: 0 / 0.6286 GB, free: 11.86 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0002069/0.1417, allocations: 234.5 kB / 0.6288 GB, free: 11.62 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000443/0.1422, allocations: 137.7 kB / 0.6289 GB, free: 11.49 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002743/0.1449, allocations: 3.067 MB / 0.6319 GB, free: 8.312 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001114/0.145, allocations: 181.8 kB / 0.6321 GB, free: 8.117 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 7.032e-05/0.1451, allocations: 39.22 kB / 0.6321 GB, free: 8.078 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.619e-05/0.1452, allocations: 104.5 kB / 0.6322 GB, free: 7.977 MB / 0.5417 GB Notification: Performance of SimCode: time 5.21e-07/0.1452, allocations: 0 / 0.6322 GB, free: 7.977 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2493/0.3945, allocations: 10.85 MB / 0.6428 GB, free: 147 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.293/7.688, allocations: 5.422 kB / 0.6428 GB, free: 147 MB / 0.5417 GB " [Timeout remaining time 652] (rm -f ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter.pipe >> ../files/ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter.sim & python3 -m fmpy simulate --output-file ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter_res.csv --start-time 0 --stop-time 1 --timeout 1200 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 ThermofluidStream_ThermofluidStream_Topology_Tests_TestSplitter.fmu > ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter.pipe 2>&1) [Timeout 1260.0] diffSimulationResults("ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter_res.csv","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Topology.Tests.TestSplitter_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable Time in file ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter_res.csv. Warning: Get data of variable Time from file ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter_res.csv failed! Error: Could not read variable splitterN.inlet.m_flow in file ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter_res.csv. Warning: Get data of variable splitterN.inlet.m_flow from file ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter_res.csv failed! Error: Could not read variable splitterN.outlets[2].m_flow in file ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter_res.csv. Warning: Get data of variable splitterN.outlets[2].m_flow from file ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter_res.csv failed! Error: Could not read variable splitterN.outlets[3].m_flow in file ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter_res.csv. Warning: Get data of variable splitterN.outlets[3].m_flow from file ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.302927355282009]