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.001018/0.001018, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001379/0.001379, allocations: 177 kB / 23.49 MB, free: 1.059 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.9486/0.9486, allocations: 177.1 MB / 203.8 MB, free: 5.625 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.7045/0.7045, allocations: 118.6 MB / 378.9 MB, free: 1.488 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.473e-06/1.473e-06, allocations: 0 / 483.6 MB, free: 8.293 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.754e-05/1.902e-05, allocations: 2.312 kB / 483.6 MB, free: 8.289 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestSplitter): time 0.1281/0.1281, allocations: 137.7 MB / 0.6068 GB, free: 6.852 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.001398/0.1295, allocations: 1.624 MB / 0.6083 GB, free: 5.223 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001859/0.1297, allocations: 27.75 kB / 0.6084 GB, free: 5.195 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0004626/0.1301, allocations: 150.9 kB / 0.6085 GB, free: 5.047 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0004463/0.1306, allocations: 238.4 kB / 0.6087 GB, free: 4.812 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002864/0.1309, allocations: 139.4 kB / 0.6089 GB, free: 4.676 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0004284/0.1313, allocations: 465.7 kB / 0.6093 GB, free: 4.219 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001519/0.1314, allocations: 58.88 kB / 0.6094 GB, free: 4.164 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003804/0.1318, allocations: 291 kB / 0.6097 GB, free: 3.879 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001896/0.132, allocations: 143.6 kB / 0.6098 GB, free: 3.738 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 2.515e-05/0.132, allocations: 20 kB / 0.6098 GB, free: 3.719 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003914/0.1324, allocations: 231.6 kB / 0.61 GB, free: 3.492 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 5.119e-05/0.1325, allocations: 47.72 kB / 0.6101 GB, free: 3.445 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 8.289e-05/0.1326, allocations: 99.77 kB / 0.6102 GB, free: 3.348 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0004104/0.133, allocations: 338.7 kB / 0.6105 GB, free: 3.016 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.133, allocations: 7.938 kB / 0.6105 GB, free: 3.008 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.122e-06/0.133, allocations: 0 / 0.6105 GB, free: 3.008 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.408e-06/0.133, allocations: 0 / 0.6105 GB, free: 3.008 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.0006579/0.1336, allocations: 0.6705 MB / 0.6112 GB, free: 2.297 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/0.1337, allocations: 8.031 kB / 0.6112 GB, free: 2.289 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.168e-05/0.1338, allocations: 60.69 kB / 0.6112 GB, free: 2.23 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003955/0.1341, allocations: 359 kB / 0.6116 GB, free: 1.852 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.612e-05/0.1342, allocations: 12.75 kB / 0.6116 GB, free: 1.84 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.628e-05/0.1342, allocations: 24.33 kB / 0.6116 GB, free: 1.816 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002519/0.1345, allocations: 175.3 kB / 0.6118 GB, free: 1.637 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.317e-06/0.1345, allocations: 192 / 0.6118 GB, free: 1.637 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.874e-05/0.1345, allocations: 8.125 kB / 0.6118 GB, free: 1.629 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.486e-06/0.1345, allocations: 4 kB / 0.6118 GB, free: 1.625 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001094/0.1346, allocations: 67.95 kB / 0.6118 GB, free: 1.559 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007516/0.1354, allocations: 0.7204 MB / 0.6125 GB, free: 0.7969 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002069/0.1356, allocations: 115 kB / 0.6127 GB, free: 0.6719 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.121e-05/0.1356, allocations: 46.05 kB / 0.6127 GB, free: 0.625 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 7.255e-05/0.1357, allocations: 15.98 kB / 0.6127 GB, free: 0.6094 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.15e-05/0.1357, allocations: 41.39 kB / 0.6128 GB, free: 0.5586 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=15): time 1.573e-06/0.1357, allocations: 4 kB / 0.6128 GB, free: 0.5547 MB / 0.5261 GB Notification: Performance of matching and sorting (n=16): time 0.0009408/0.1367, allocations: 0.5341 MB / 0.6133 GB, free: 15.98 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.022e-05/0.1367, allocations: 55.34 kB / 0.6133 GB, free: 15.91 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002108/0.1369, allocations: 334.3 kB / 0.6136 GB, free: 15.57 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.444e-05/0.1369, allocations: 25.7 kB / 0.6137 GB, free: 15.54 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.000101/0.137, allocations: 227.2 kB / 0.6139 GB, free: 15.31 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 4.615e-05/0.1371, allocations: 67.42 kB / 0.614 GB, free: 15.24 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.704e-05/0.1371, allocations: 43.31 kB / 0.614 GB, free: 15.19 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001375/0.1372, allocations: 0.5195 MB / 0.6145 GB, free: 14.66 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.323e-05/0.1373, allocations: 19.98 kB / 0.6145 GB, free: 14.64 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.602e-05/0.1373, allocations: 47.36 kB / 0.6146 GB, free: 14.59 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.972e-05/0.1374, allocations: 75.36 kB / 0.6146 GB, free: 14.5 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.1374, allocations: 0 / 0.6146 GB, free: 14.5 MB / 0.5417 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002719/0.1377, allocations: 214.7 kB / 0.6148 GB, free: 14.29 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.1377, allocations: 4 kB / 0.6148 GB, free: 14.28 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.1377, allocations: 3.984 kB / 0.6149 GB, free: 14.28 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002383/0.138, allocations: 79.56 kB / 0.6149 GB, free: 14.2 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.51e-05/0.138, allocations: 23.98 kB / 0.615 GB, free: 14.17 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001309/0.1393, allocations: 2.08 MB / 0.617 GB, free: 11.97 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.153e-05/0.1394, allocations: 4 kB / 0.617 GB, free: 11.97 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.847e-06/0.1394, allocations: 4 kB / 0.617 GB, free: 11.96 MB / 0.5417 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.595e-05/0.1395, allocations: 160.6 kB / 0.6171 GB, free: 11.8 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.898e-05/0.1395, allocations: 39.75 kB / 0.6172 GB, free: 11.76 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002952/0.1398, allocations: 247.3 kB / 0.6174 GB, free: 11.49 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.1398, allocations: 4 kB / 0.6174 GB, free: 11.49 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.285e-06/0.1398, allocations: 0 / 0.6174 GB, free: 11.49 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.1398, allocations: 0 / 0.6174 GB, free: 11.49 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004677/0.1403, allocations: 0.5583 MB / 0.618 GB, free: 10.87 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/0.1403, allocations: 8 kB / 0.618 GB, free: 10.86 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.096e-05/0.1403, allocations: 7.938 kB / 0.618 GB, free: 10.86 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001779/0.1405, allocations: 87.78 kB / 0.6181 GB, free: 10.77 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.428e-05/0.1405, allocations: 11.98 kB / 0.6181 GB, free: 10.75 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001179/0.1417, allocations: 2.081 MB / 0.6201 GB, free: 8.543 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.1417, allocations: 7.938 kB / 0.6201 GB, free: 8.535 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000322/0.142, allocations: 393.5 kB / 0.6205 GB, free: 8.117 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 4.129e-05/0.1421, allocations: 39.8 kB / 0.6205 GB, free: 8.078 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.181e-05/0.1421, allocations: 4 kB / 0.6205 GB, free: 8.074 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.892e-05/0.1421, allocations: 4 kB / 0.6205 GB, free: 8.07 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.209e-05/0.1422, allocations: 15.97 kB / 0.6206 GB, free: 8.055 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.632e-06/0.1422, allocations: 8 kB / 0.6206 GB, free: 8.047 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001325/0.1423, allocations: 243 kB / 0.6208 GB, free: 7.809 MB / 0.5417 GB Notification: Performance of sort global known variables: time 8e-08/0.1423, allocations: 4 kB / 0.6208 GB, free: 7.805 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002594/0.1426, allocations: 75.94 kB / 0.6209 GB, free: 7.73 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.0001908/0.1428, allocations: 167.3 kB / 0.621 GB, free: 7.559 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0003887/0.1431, allocations: 324.8 kB / 0.6213 GB, free: 7.223 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.1431, allocations: 0 / 0.6213 GB, free: 7.223 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0002362/0.1434, allocations: 293.2 kB / 0.6216 GB, free: 6.914 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003256/0.1437, allocations: 78.86 kB / 0.6217 GB, free: 6.844 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001052/0.1448, allocations: 0.6687 MB / 0.6223 GB, free: 6.137 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.664e-05/0.1448, allocations: 100.5 kB / 0.6224 GB, free: 6.02 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 6.645e-05/0.1449, allocations: 32.06 kB / 0.6225 GB, free: 5.988 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.319e-05/0.1449, allocations: 28.5 kB / 0.6225 GB, free: 5.961 MB / 0.5417 GB Notification: Performance of SimCode: time 8.12e-07/0.1449, allocations: 0 / 0.6225 GB, free: 5.961 MB / 0.5417 GB Notification: Performance of Templates: time 0.006678/0.1516, allocations: 4.684 MB / 0.6271 GB, free: 1.375 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.756218175869435]