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.001011/0.001011, 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.0009448/0.0009448, allocations: 173 kB / 23.49 MB, free: 1.062 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.9133/0.9133, allocations: 177.1 MB / 203.8 MB, free: 5.621 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.7162/0.7162, allocations: 118.6 MB / 378.9 MB, free: 1.504 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.713e-06/1.713e-06, allocations: 0 / 483.6 MB, free: 8.258 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.19e-05/2.361e-05, allocations: 10.84 kB / 483.6 MB, free: 8.25 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestSplitter): time 0.158/0.1581, allocations: 137.7 MB / 0.6068 GB, free: 6.863 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.001991/0.16, allocations: 1.624 MB / 0.6084 GB, free: 5.234 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002987/0.1603, allocations: 23.75 kB / 0.6084 GB, free: 5.211 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.003651/0.164, allocations: 154.8 kB / 0.6085 GB, free: 5.059 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0005355/0.1645, allocations: 234.4 kB / 0.6087 GB, free: 4.828 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003474/0.1649, allocations: 143.5 kB / 0.6089 GB, free: 4.688 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0004934/0.1654, allocations: 465.7 kB / 0.6093 GB, free: 4.23 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001805/0.1656, allocations: 58.86 kB / 0.6094 GB, free: 4.176 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004754/0.166, allocations: 279 kB / 0.6096 GB, free: 3.902 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002329/0.1663, allocations: 155.6 kB / 0.6098 GB, free: 3.75 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 2.903e-05/0.1663, allocations: 16 kB / 0.6098 GB, free: 3.734 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003695/0.1667, allocations: 235.6 kB / 0.61 GB, free: 3.504 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 5.722e-05/0.1667, allocations: 51.72 kB / 0.6101 GB, free: 3.453 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0001004/0.1668, allocations: 99.7 kB / 0.6102 GB, free: 3.355 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0004782/0.1673, allocations: 338.7 kB / 0.6105 GB, free: 3.023 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.1673, allocations: 0 / 0.6105 GB, free: 3.023 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.232e-06/0.1673, allocations: 0 / 0.6105 GB, free: 3.023 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.511e-06/0.1673, allocations: 0 / 0.6105 GB, free: 3.023 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.0007637/0.1681, allocations: 0.6744 MB / 0.6112 GB, free: 2.309 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/0.1681, allocations: 8.031 kB / 0.6112 GB, free: 2.301 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.615e-05/0.1682, allocations: 56.7 kB / 0.6112 GB, free: 2.246 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004697/0.1687, allocations: 363 kB / 0.6116 GB, free: 1.863 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.744e-05/0.1687, allocations: 12.75 kB / 0.6116 GB, free: 1.852 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.069e-05/0.1687, allocations: 28.31 kB / 0.6116 GB, free: 1.824 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002665/0.169, allocations: 167.4 kB / 0.6118 GB, free: 1.652 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.737e-06/0.169, allocations: 4.188 kB / 0.6118 GB, free: 1.648 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.949e-05/0.169, allocations: 12.12 kB / 0.6118 GB, free: 1.637 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.879e-06/0.169, allocations: 4 kB / 0.6118 GB, free: 1.633 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000131/0.1692, allocations: 63.89 kB / 0.6118 GB, free: 1.57 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008551/0.17, allocations: 0.7204 MB / 0.6126 GB, free: 0.8086 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002561/0.1703, allocations: 115 kB / 0.6127 GB, free: 0.6836 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.208e-05/0.1703, allocations: 43.67 kB / 0.6127 GB, free: 0.6367 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 8.431e-05/0.1704, allocations: 19.98 kB / 0.6127 GB, free: 0.6172 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.984e-05/0.1705, allocations: 33.39 kB / 0.6128 GB, free: 0.5742 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=15): time 2.905e-06/0.1705, allocations: 3.984 kB / 0.6128 GB, free: 0.5703 MB / 0.5261 GB Notification: Performance of matching and sorting (n=16): time 0.001125/0.1716, allocations: 0.5503 MB / 0.6133 GB, free: 15.98 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.895e-05/0.1716, allocations: 51.41 kB / 0.6133 GB, free: 15.91 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002453/0.1719, allocations: 330.2 kB / 0.6137 GB, free: 15.58 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.798e-05/0.1719, allocations: 33.7 kB / 0.6137 GB, free: 15.54 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001111/0.172, allocations: 227.2 kB / 0.6139 GB, free: 15.31 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 5.355e-05/0.172, allocations: 67.44 kB / 0.614 GB, free: 15.25 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.684e-05/0.1721, allocations: 39.36 kB / 0.614 GB, free: 15.2 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001417/0.1722, allocations: 0.5118 MB / 0.6145 GB, free: 14.68 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.06e-05/0.1723, allocations: 16 kB / 0.6145 GB, free: 14.66 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.105e-05/0.1724, allocations: 53.41 kB / 0.6146 GB, free: 14.6 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001308/0.1725, allocations: 79.3 kB / 0.6147 GB, free: 14.52 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.1725, allocations: 0 / 0.6147 GB, free: 14.52 MB / 0.5417 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003272/0.1728, allocations: 211.4 kB / 0.6149 GB, free: 14.3 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.1728, allocations: 10.81 kB / 0.6149 GB, free: 14.29 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.1728, allocations: 0 / 0.6149 GB, free: 14.29 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002727/0.1731, allocations: 79.61 kB / 0.6149 GB, free: 14.21 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.419e-05/0.1732, allocations: 23.88 kB / 0.615 GB, free: 14.19 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001507/0.1747, allocations: 2.073 MB / 0.617 GB, free: 11.99 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.035e-05/0.1747, allocations: 0 / 0.617 GB, free: 11.99 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.333e-05/0.1747, allocations: 11.98 kB / 0.617 GB, free: 11.98 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 0.0001021/0.1748, allocations: 164.5 kB / 0.6172 GB, free: 11.81 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.378e-05/0.1749, allocations: 43.75 kB / 0.6172 GB, free: 11.77 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003663/0.1753, allocations: 242.6 kB / 0.6174 GB, free: 11.51 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.1753, allocations: 3.938 kB / 0.6174 GB, free: 11.5 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.1753, allocations: 4 kB / 0.6174 GB, free: 11.5 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.1753, allocations: 0 / 0.6174 GB, free: 11.5 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005869/0.1759, allocations: 0.5583 MB / 0.618 GB, free: 10.88 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.596e-06/0.1759, allocations: 4 kB / 0.618 GB, free: 10.88 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.794e-05/0.1759, allocations: 8 kB / 0.618 GB, free: 10.87 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002341/0.1761, allocations: 91.64 kB / 0.6181 GB, free: 10.78 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.596e-05/0.1761, allocations: 15.94 kB / 0.6181 GB, free: 10.76 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001464/0.1776, allocations: 2.085 MB / 0.6201 GB, free: 8.547 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.1776, allocations: 3.938 kB / 0.6201 GB, free: 8.543 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003873/0.178, allocations: 389.8 kB / 0.6205 GB, free: 8.129 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 5.192e-05/0.178, allocations: 35.8 kB / 0.6205 GB, free: 8.094 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.629e-05/0.1781, allocations: 8 kB / 0.6205 GB, free: 8.086 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.63e-05/0.1782, allocations: 7.938 kB / 0.6206 GB, free: 8.078 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.567e-05/0.1782, allocations: 15.97 kB / 0.6206 GB, free: 8.062 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.378e-06/0.1782, allocations: 4 kB / 0.6206 GB, free: 8.059 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0002011/0.1784, allocations: 239.1 kB / 0.6208 GB, free: 7.824 MB / 0.5417 GB Notification: Performance of sort global known variables: time 8e-08/0.1784, allocations: 0 / 0.6208 GB, free: 7.824 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0003509/0.1788, allocations: 83.92 kB / 0.6209 GB, free: 7.742 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.0002263/0.179, allocations: 163.2 kB / 0.621 GB, free: 7.574 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0004529/0.1794, allocations: 328.9 kB / 0.6214 GB, free: 7.234 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.1794, allocations: 0 / 0.6214 GB, free: 7.234 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0002817/0.1797, allocations: 289.2 kB / 0.6216 GB, free: 6.93 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004301/0.1802, allocations: 77.89 kB / 0.6217 GB, free: 6.855 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001314/0.1815, allocations: 0.6727 MB / 0.6224 GB, free: 6.145 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.49e-05/0.1815, allocations: 100.6 kB / 0.6225 GB, free: 6.027 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 7.115e-05/0.1816, allocations: 26.97 kB / 0.6225 GB, free: 6 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.659e-05/0.1816, allocations: 32.44 kB / 0.6225 GB, free: 5.969 MB / 0.5417 GB Notification: Performance of SimCode: time 1.052e-06/0.1817, allocations: 0 / 0.6225 GB, free: 5.969 MB / 0.5417 GB Notification: Performance of Templates: time 0.008135/0.1898, allocations: 4.676 MB / 0.6271 GB, free: 1.387 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.8616884010843933]