Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_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.001318/0.001318, allocations: 82.05 kB / 19.87 MB, free: 4.617 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.00154/0.00154, allocations: 173.7 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.8947/0.8947, allocations: 177.1 MB / 203.7 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo): time 0.6792/0.6792, allocations: 118.6 MB / 378.9 MB, free: 1.348 MB / 346.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/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.TestSplitter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|splitterN.inlet.m_flow|splitterN.outlets.[0-9,]+..m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestSplitter") translateModel(ThermofluidStream.Topology.Tests.TestSplitter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|splitterN.inlet.m_flow|splitterN.outlets.[0-9,]+..m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestSplitter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 484 MB, free: 8.129 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.145e-05/2.304e-05, allocations: 2.312 kB / 484 MB, free: 8.125 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestSplitter): time 0.1233/0.1233, allocations: 126.8 MB / 0.5965 GB, free: 1.184 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0009119/0.1242, allocations: 0.7592 MB / 0.5973 GB, free: 432 kB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001829/0.1244, allocations: 39.62 kB / 0.5973 GB, free: 392 kB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0003491/0.1247, allocations: 79.34 kB / 0.5974 GB, free: 312 kB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0003819/0.1251, allocations: 178.7 kB / 0.5976 GB, free: 132 kB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002778/0.1254, allocations: 131.5 kB / 0.5977 GB, free: 0 / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0004103/0.1258, allocations: 461.8 kB / 0.5981 GB, free: 15.54 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001341/0.1259, allocations: 62.86 kB / 0.5982 GB, free: 15.48 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004033/0.1263, allocations: 283 kB / 0.5985 GB, free: 15.21 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003139/0.1266, allocations: 155.6 kB / 0.5986 GB, free: 15.05 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 2.397e-05/0.1267, allocations: 16 kB / 0.5986 GB, free: 15.04 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001261/0.1268, allocations: 83.8 kB / 0.5987 GB, free: 14.96 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 3.724e-05/0.1268, allocations: 55.72 kB / 0.5988 GB, free: 14.9 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 6.508e-05/0.1269, allocations: 99.7 kB / 0.5989 GB, free: 14.8 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0003235/0.1272, allocations: 294.8 kB / 0.5991 GB, free: 14.52 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.1272, allocations: 0 / 0.5991 GB, free: 14.52 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.212e-06/0.1272, allocations: 0 / 0.5991 GB, free: 14.52 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 3.967e-06/0.1272, allocations: 0 / 0.5991 GB, free: 14.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: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.0005655/0.1278, allocations: 0.6708 MB / 0.5998 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.1278, allocations: 16.02 kB / 0.5998 GB, free: 13.79 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.832e-05/0.1279, allocations: 64.66 kB / 0.5999 GB, free: 13.73 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003326/0.1282, allocations: 351 kB / 0.6002 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.55e-05/0.1282, allocations: 12.75 kB / 0.6002 GB, free: 13.34 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.368e-05/0.1283, allocations: 20.38 kB / 0.6002 GB, free: 13.32 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000178/0.1284, allocations: 163.3 kB / 0.6004 GB, free: 13.16 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.1284, allocations: 192 / 0.6004 GB, free: 13.16 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.447e-05/0.1285, allocations: 8.125 kB / 0.6004 GB, free: 13.15 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-06/0.1285, allocations: 8 kB / 0.6004 GB, free: 13.14 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.567e-05/0.1285, allocations: 47.95 kB / 0.6005 GB, free: 13.09 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006442/0.1292, allocations: 0.6702 MB / 0.6011 GB, free: 12.39 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001648/0.1293, allocations: 114.9 kB / 0.6012 GB, free: 12.27 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.146e-05/0.1294, allocations: 39.66 kB / 0.6013 GB, free: 12.22 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 4.961e-05/0.1294, allocations: 11.94 kB / 0.6013 GB, free: 12.21 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.886e-05/0.1295, allocations: 37.39 kB / 0.6013 GB, free: 12.16 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=15): time 1.392e-06/0.1295, allocations: 0 / 0.6013 GB, free: 12.16 MB / 0.5261 GB Notification: Performance of matching and sorting (n=16): time 0.0007245/0.1302, allocations: 487.4 kB / 0.6018 GB, free: 11.65 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.695e-05/0.1302, allocations: 51.41 kB / 0.6018 GB, free: 11.59 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001614/0.1304, allocations: 322.2 kB / 0.6021 GB, free: 11.26 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.417e-05/0.1304, allocations: 33.7 kB / 0.6022 GB, free: 11.22 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 9.247e-05/0.1305, allocations: 235.1 kB / 0.6024 GB, free: 10.98 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.985e-05/0.1305, allocations: 67.45 kB / 0.6024 GB, free: 10.92 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.22e-05/0.1306, allocations: 35.36 kB / 0.6025 GB, free: 10.88 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001204/0.1307, allocations: 0.5234 MB / 0.603 GB, free: 10.34 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.694e-05/0.1307, allocations: 19.98 kB / 0.603 GB, free: 10.32 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.986e-05/0.1307, allocations: 41.58 kB / 0.6031 GB, free: 10.27 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.576e-05/0.1308, allocations: 71.28 kB / 0.6031 GB, free: 10.2 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.1308, allocations: 0 / 0.6031 GB, free: 10.2 MB / 0.5261 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002208/0.131, allocations: 202.5 kB / 0.6033 GB, free: 9.988 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.127e-05/0.1311, allocations: 4 kB / 0.6033 GB, free: 9.984 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.1311, allocations: 4 kB / 0.6033 GB, free: 9.98 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001734/0.1312, allocations: 79.59 kB / 0.6034 GB, free: 9.898 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.399e-05/0.1313, allocations: 16 kB / 0.6034 GB, free: 9.883 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001081/0.1324, allocations: 2.038 MB / 0.6054 GB, free: 7.734 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.988e-05/0.1324, allocations: 8 kB / 0.6054 GB, free: 7.727 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.723e-06/0.1324, allocations: 0 / 0.6054 GB, free: 7.727 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.0002631/0.1327, allocations: 164.5 kB / 0.6056 GB, free: 7.555 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.568e-05/0.1327, allocations: 43.7 kB / 0.6056 GB, free: 7.512 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002351/0.1329, allocations: 212.2 kB / 0.6058 GB, free: 7.289 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.1329, allocations: 0 / 0.6058 GB, free: 7.289 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.1329, allocations: 7.984 kB / 0.6058 GB, free: 7.281 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.1329, allocations: 3.938 kB / 0.6058 GB, free: 7.277 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000454/0.1334, allocations: 0.5581 MB / 0.6064 GB, free: 6.66 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.1334, allocations: 0 / 0.6064 GB, free: 6.66 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.458e-05/0.1334, allocations: 12 kB / 0.6064 GB, free: 6.648 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000157/0.1336, allocations: 83.8 kB / 0.6065 GB, free: 6.562 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.051e-05/0.1336, allocations: 12 kB / 0.6065 GB, free: 6.551 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009804/0.1346, allocations: 2.051 MB / 0.6085 GB, free: 4.383 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.1346, allocations: 4 kB / 0.6085 GB, free: 4.379 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002857/0.1349, allocations: 391.8 kB / 0.6088 GB, free: 3.953 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.343e-05/0.1349, allocations: 47.72 kB / 0.6089 GB, free: 3.906 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.609e-05/0.1349, allocations: 11.94 kB / 0.6089 GB, free: 3.895 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.775e-05/0.135, allocations: 4 kB / 0.6089 GB, free: 3.891 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.857e-05/0.135, allocations: 19.97 kB / 0.6089 GB, free: 3.871 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.232e-06/0.135, allocations: 4 kB / 0.6089 GB, free: 3.867 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 9.255e-05/0.1351, allocations: 223 kB / 0.6091 GB, free: 3.648 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6e-08/0.1351, allocations: 0 / 0.6091 GB, free: 3.648 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002293/0.1353, allocations: 68 kB / 0.6092 GB, free: 3.582 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (7): * Single equations (assignments): 6 * 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.0001258/0.1355, allocations: 119.3 kB / 0.6093 GB, free: 3.457 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0003106/0.1358, allocations: 320.8 kB / 0.6096 GB, free: 3.125 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1358, allocations: 0 / 0.6096 GB, free: 3.125 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002078/0.136, allocations: 293.5 kB / 0.6099 GB, free: 2.816 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000302/0.1363, allocations: 69.73 kB / 0.61 GB, free: 2.75 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009506/0.1372, allocations: 0.6889 MB / 0.6106 GB, free: 2.008 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.718e-05/0.1373, allocations: 108.5 kB / 0.6108 GB, free: 1.883 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 6.207e-05/0.1374, allocations: 26.97 kB / 0.6108 GB, free: 1.855 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001025/0.1375, allocations: 130.2 kB / 0.6109 GB, free: 1.727 MB / 0.5261 GB Notification: Performance of SimCode: time 7.71e-07/0.1375, allocations: 0 / 0.6109 GB, free: 1.727 MB / 0.5261 GB Notification: Performance of Templates: time 0.006193/0.1437, allocations: 4.203 MB / 0.615 GB, free: 13.62 MB / 0.5417 GB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestSplitter.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestSplitter.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestSplitter.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestSplitter.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestSplitter.sim & ./ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestSplitter -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestSplitter.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestSplitter_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Topology.Tests.TestSplitter_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.6084719211794436]