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.0009897/0.0009897, allocations: 73.97 kB / 20.66 MB, free: 3.844 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.001042/0.001042, allocations: 169.4 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.9772/0.9772, allocations: 177.1 MB / 204.5 MB, free: 5.5 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.7028/0.7028, allocations: 118.6 MB / 379.7 MB, free: 1.375 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.TestSplitter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|splitterN.inlet.m_flow|splitterN.outlets.[0-9,]+..m_flow",fileNamePrefix="ThermofluidStream_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_ThermofluidStream.Topology.Tests.TestSplitter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 484.8 MB, free: 8.074 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.221e-05/2.376e-05, allocations: 2.312 kB / 484.8 MB, free: 8.07 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestSplitter): time 0.1249/0.1249, allocations: 126.8 MB / 0.5973 GB, free: 1.203 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0008591/0.1258, allocations: 0.7708 MB / 0.5981 GB, free: 440 kB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001469/0.1259, allocations: 27.75 kB / 0.5981 GB, free: 412 kB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0003451/0.1263, allocations: 75.36 kB / 0.5982 GB, free: 336 kB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0002968/0.1266, allocations: 190.6 kB / 0.5984 GB, free: 144 kB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001994/0.1268, allocations: 123.6 kB / 0.5985 GB, free: 20 kB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0003672/0.1271, allocations: 465.7 kB / 0.5989 GB, free: 15.56 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001449/0.1273, allocations: 66.86 kB / 0.599 GB, free: 15.5 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003525/0.1276, allocations: 279.1 kB / 0.5992 GB, free: 15.22 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001752/0.1278, allocations: 151.6 kB / 0.5994 GB, free: 15.07 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 2.302e-05/0.1278, allocations: 16 kB / 0.5994 GB, free: 15.06 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001183/0.128, allocations: 87.8 kB / 0.5995 GB, free: 14.97 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 4.294e-05/0.128, allocations: 51.72 kB / 0.5995 GB, free: 14.92 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 7.084e-05/0.1281, allocations: 95.77 kB / 0.5996 GB, free: 14.83 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0003321/0.1284, allocations: 298.8 kB / 0.5999 GB, free: 14.54 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.167e-06/0.1284, allocations: 4 kB / 0.5999 GB, free: 14.53 MB / 0.5261 GB Notification: Performance of FrontEnd: time 9.11e-07/0.1284, allocations: 0 / 0.5999 GB, free: 14.53 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.089e-06/0.1284, allocations: 0 / 0.5999 GB, free: 14.53 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.0005983/0.129, allocations: 0.6785 MB / 0.6006 GB, free: 13.81 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.217e-05/0.129, allocations: 8.031 kB / 0.6006 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.274e-05/0.1291, allocations: 60.66 kB / 0.6006 GB, free: 13.75 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003567/0.1295, allocations: 359 kB / 0.601 GB, free: 13.37 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.747e-05/0.1295, allocations: 12.75 kB / 0.601 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.126e-05/0.1295, allocations: 20.36 kB / 0.601 GB, free: 13.34 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000187/0.1297, allocations: 159.4 kB / 0.6012 GB, free: 13.17 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.1297, allocations: 192 / 0.6012 GB, free: 13.17 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.311e-05/0.1297, allocations: 8.125 kB / 0.6012 GB, free: 13.16 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.154e-06/0.1297, allocations: 7.984 kB / 0.6012 GB, free: 13.16 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.45e-05/0.1298, allocations: 51.89 kB / 0.6012 GB, free: 13.11 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006269/0.1304, allocations: 0.6741 MB / 0.6019 GB, free: 12.4 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001837/0.1306, allocations: 111 kB / 0.602 GB, free: 12.28 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.219e-05/0.1306, allocations: 39.66 kB / 0.602 GB, free: 12.23 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 5.459e-05/0.1307, allocations: 8 kB / 0.602 GB, free: 12.23 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.04e-05/0.1307, allocations: 33.39 kB / 0.6021 GB, free: 12.18 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=15): time 1.373e-06/0.1307, allocations: 4 kB / 0.6021 GB, free: 12.18 MB / 0.5261 GB Notification: Performance of matching and sorting (n=16): time 0.0009288/0.1317, allocations: 483.8 kB / 0.6025 GB, free: 11.67 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.433e-05/0.1317, allocations: 51.41 kB / 0.6026 GB, free: 11.61 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001632/0.1318, allocations: 326.2 kB / 0.6029 GB, free: 11.27 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.524e-05/0.1319, allocations: 33.7 kB / 0.6029 GB, free: 11.23 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 9.138e-05/0.1319, allocations: 235.1 kB / 0.6032 GB, free: 11 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 4.32e-05/0.132, allocations: 63.45 kB / 0.6032 GB, free: 10.94 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.57e-05/0.132, allocations: 39.36 kB / 0.6033 GB, free: 10.89 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001307/0.1322, allocations: 0.5195 MB / 0.6038 GB, free: 10.36 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.909e-05/0.1322, allocations: 23.98 kB / 0.6038 GB, free: 10.34 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.064e-05/0.1322, allocations: 39.34 kB / 0.6038 GB, free: 10.29 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.261e-05/0.1323, allocations: 69.81 kB / 0.6039 GB, free: 10.21 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.1323, allocations: 0 / 0.6039 GB, free: 10.21 MB / 0.5261 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002273/0.1325, allocations: 200.8 kB / 0.6041 GB, free: 10.01 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.1326, allocations: 4 kB / 0.6041 GB, free: 10 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.1326, allocations: 7.984 kB / 0.6041 GB, free: 9.996 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001928/0.1327, allocations: 71.56 kB / 0.6042 GB, free: 9.922 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.954e-05/0.1328, allocations: 23.94 kB / 0.6042 GB, free: 9.898 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00115/0.1339, allocations: 2.034 MB / 0.6062 GB, free: 7.75 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.877e-05/0.134, allocations: 8 kB / 0.6062 GB, free: 7.742 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.385e-06/0.134, allocations: 7.938 kB / 0.6062 GB, free: 7.734 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 9.172e-05/0.1341, allocations: 160.6 kB / 0.6063 GB, free: 7.566 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.062e-05/0.1341, allocations: 43.7 kB / 0.6064 GB, free: 7.523 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002491/0.1344, allocations: 211.9 kB / 0.6066 GB, free: 7.305 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.1344, allocations: 3.984 kB / 0.6066 GB, free: 7.301 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.1344, allocations: 4 kB / 0.6066 GB, free: 7.297 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.1344, allocations: 0 / 0.6066 GB, free: 7.297 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000472/0.1349, allocations: 0.5581 MB / 0.6071 GB, free: 6.68 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.1349, allocations: 0 / 0.6071 GB, free: 6.68 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.472e-05/0.1349, allocations: 8 kB / 0.6071 GB, free: 6.672 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001748/0.1351, allocations: 95.62 kB / 0.6072 GB, free: 6.574 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.234e-05/0.1351, allocations: 8 kB / 0.6072 GB, free: 6.566 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001063/0.1361, allocations: 2.035 MB / 0.6092 GB, free: 4.41 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.1361, allocations: 0 / 0.6092 GB, free: 4.41 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004235/0.1366, allocations: 407.6 kB / 0.6096 GB, free: 3.969 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.45e-05/0.1366, allocations: 43.72 kB / 0.6097 GB, free: 3.926 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.777e-05/0.1366, allocations: 4 kB / 0.6097 GB, free: 3.922 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.318e-05/0.1367, allocations: 8 kB / 0.6097 GB, free: 3.914 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.334e-05/0.1367, allocations: 15.97 kB / 0.6097 GB, free: 3.898 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.863e-06/0.1367, allocations: 8 kB / 0.6097 GB, free: 3.891 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 9.664e-05/0.1368, allocations: 227 kB / 0.6099 GB, free: 3.668 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6e-08/0.1368, allocations: 0 / 0.6099 GB, free: 3.668 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.00025/0.1371, allocations: 72 kB / 0.61 GB, free: 3.598 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.0001375/0.1372, allocations: 111.3 kB / 0.6101 GB, free: 3.48 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0003483/0.1375, allocations: 324.8 kB / 0.6104 GB, free: 3.145 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.1375, allocations: 0 / 0.6104 GB, free: 3.145 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002175/0.1378, allocations: 293.4 kB / 0.6107 GB, free: 2.836 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003338/0.1381, allocations: 75.3 kB / 0.6108 GB, free: 2.766 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009864/0.1391, allocations: 0.6936 MB / 0.6114 GB, free: 2.02 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.016e-05/0.1391, allocations: 100.5 kB / 0.6115 GB, free: 1.902 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 5.505e-05/0.1392, allocations: 27.16 kB / 0.6115 GB, free: 1.875 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001103/0.1393, allocations: 126.2 kB / 0.6117 GB, free: 1.75 MB / 0.5261 GB Notification: Performance of SimCode: time 7.22e-07/0.1393, allocations: 4 kB / 0.6117 GB, free: 1.746 MB / 0.5261 GB Notification: Performance of Templates: time 0.0067/0.146, allocations: 4.261 MB / 0.6158 GB, free: 13.58 MB / 0.5417 GB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter.makefile [Timeout 660] (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 & ./ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_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.8933873353525996]