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.001321/0.001321, allocations: 80.3 kB / 19.18 MB, free: 2.516 MB / 14.72 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.001408/0.001408, allocations: 162.6 kB / 22.46 MB, free: 5.375 MB / 14.72 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 1.385/1.385, allocations: 177.1 MB / 202.8 MB, free: 9.168 MB / 190.1 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.7428/0.7428, allocations: 80.2 MB / 339.4 MB, free: 10.85 MB / 318.1 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: translateModel(ThermofluidStream.Topology.Tests.TestSplitter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|splitterN.inlet.m_flow|splitterN.outlets.2..m_flow|splitterN.outlets.3..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.2..m_flow|splitterN.outlets.3..m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 0.4929 GB, free: 25.62 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.945e-05/2.118e-05, allocations: 5.656 kB / 0.4929 GB, free: 25.61 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestSplitter): time 0.1451/0.1451, allocations: 124.4 MB / 0.6144 GB, free: 2.75 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001939/0.147, allocations: 1.402 MB / 0.6158 GB, free: 1.344 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000259/0.1473, allocations: 23.75 kB / 0.6158 GB, free: 1.32 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0005648/0.1479, allocations: 142.9 kB / 0.6159 GB, free: 1.18 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0006152/0.1485, allocations: 234.4 kB / 0.6161 GB, free: 0.9492 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.000364/0.1488, allocations: 131.4 kB / 0.6163 GB, free: 0.8203 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0005596/0.1494, allocations: 437.8 kB / 0.6167 GB, free: 400 kB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001813/0.1496, allocations: 62.48 kB / 0.6167 GB, free: 340 kB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005448/0.1501, allocations: 267.2 kB / 0.617 GB, free: 72 kB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003031/0.1504, allocations: 151.6 kB / 0.6171 GB, free: 15.92 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.819e-05/0.1505, allocations: 16 kB / 0.6172 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000476/0.151, allocations: 247.4 kB / 0.6174 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 6.3e-05/0.151, allocations: 47.72 kB / 0.6174 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001273/0.1511, allocations: 95.77 kB / 0.6175 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0005818/0.1517, allocations: 370.8 kB / 0.6179 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.1517, allocations: 0 / 0.6179 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of FrontEnd: time 9.52e-07/0.1517, allocations: 7.938 kB / 0.6179 GB, free: 15.15 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.376e-06/0.1517, allocations: 0 / 0.6179 GB, free: 15.15 MB / 0.5294 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.0009607/0.1527, allocations: 0.536 MB / 0.6184 GB, free: 14.58 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.538e-05/0.1527, allocations: 14.06 kB / 0.6184 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.275e-05/0.1528, allocations: 36.7 kB / 0.6185 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005237/0.1533, allocations: 324.1 kB / 0.6188 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.96e-05/0.1533, allocations: 12.75 kB / 0.6188 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.735e-05/0.1534, allocations: 24.36 kB / 0.6188 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003814/0.1538, allocations: 231 kB / 0.619 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.1538, allocations: 4.188 kB / 0.619 GB, free: 13.92 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.123e-05/0.1538, allocations: 8.125 kB / 0.619 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.114e-05/0.1538, allocations: 4 kB / 0.619 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002314/0.1541, allocations: 135.9 kB / 0.6192 GB, free: 13.78 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001029/0.1551, allocations: 0.6326 MB / 0.6198 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003357/0.1554, allocations: 126.5 kB / 0.6199 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001113/0.1555, allocations: 60.84 kB / 0.62 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 8.353e-05/0.1556, allocations: 15.98 kB / 0.62 GB, free: 12.9 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.6e-05/0.1556, allocations: 34.5 kB / 0.62 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=15): time 1.293e-06/0.1556, allocations: 0 / 0.62 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of matching and sorting (n=16): time 0.001525/0.1572, allocations: 0.614 MB / 0.6206 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.862e-05/0.1572, allocations: 51.41 kB / 0.6207 GB, free: 12.14 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002774/0.1575, allocations: 264.5 kB / 0.6209 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.103e-05/0.1575, allocations: 29.7 kB / 0.6209 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001201/0.1576, allocations: 176.3 kB / 0.6211 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 6.255e-05/0.1577, allocations: 59.48 kB / 0.6212 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.123e-05/0.1578, allocations: 37.7 kB / 0.6212 GB, free: 11.56 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001495/0.1579, allocations: 334.8 kB / 0.6215 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.791e-05/0.158, allocations: 43.98 kB / 0.6216 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001137/0.1581, allocations: 71.92 kB / 0.6216 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001987/0.1583, allocations: 129.6 kB / 0.6218 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.1583, allocations: 3.938 kB / 0.6218 GB, free: 10.97 MB / 0.5294 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004733/0.1588, allocations: 265 kB / 0.622 GB, free: 10.71 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/0.1588, allocations: 8 kB / 0.622 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.1588, allocations: 0 / 0.622 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003262/0.1591, allocations: 88.8 kB / 0.6221 GB, free: 10.61 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.879e-05/0.1592, allocations: 27.86 kB / 0.6221 GB, free: 10.58 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00214/0.1614, allocations: 1.797 MB / 0.6239 GB, free: 8.68 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.683e-05/0.1614, allocations: 4 kB / 0.6239 GB, free: 8.676 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.378e-05/0.1614, allocations: 4 kB / 0.6239 GB, free: 8.672 MB / 0.5294 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.0001548/0.1616, allocations: 153.8 kB / 0.624 GB, free: 8.512 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.498e-05/0.1617, allocations: 27.8 kB / 0.6241 GB, free: 8.484 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005211/0.1622, allocations: 275.1 kB / 0.6243 GB, free: 8.199 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/0.1622, allocations: 3.984 kB / 0.6243 GB, free: 8.195 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.1622, allocations: 4 kB / 0.6243 GB, free: 8.191 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.1622, allocations: 4 kB / 0.6243 GB, free: 8.188 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007662/0.163, allocations: 0.5323 MB / 0.6249 GB, free: 7.605 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.225e-06/0.163, allocations: 3.938 kB / 0.6249 GB, free: 7.602 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.501e-05/0.163, allocations: 16.08 kB / 0.6249 GB, free: 7.586 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002932/0.1633, allocations: 96.77 kB / 0.625 GB, free: 7.488 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.356e-05/0.1633, allocations: 0 / 0.625 GB, free: 7.488 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002061/0.1654, allocations: 1.816 MB / 0.6267 GB, free: 5.574 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.1654, allocations: 0 / 0.6267 GB, free: 5.574 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005724/0.1659, allocations: 410.1 kB / 0.6271 GB, free: 5.148 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 3.532e-05/0.166, allocations: 23.89 kB / 0.6272 GB, free: 5.125 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.999e-05/0.166, allocations: 4 kB / 0.6272 GB, free: 5.121 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001104/0.1661, allocations: 8 kB / 0.6272 GB, free: 5.113 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.128e-05/0.1662, allocations: 15.91 kB / 0.6272 GB, free: 5.098 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.002e-05/0.1662, allocations: 8 kB / 0.6272 GB, free: 5.09 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0002006/0.1664, allocations: 199.1 kB / 0.6274 GB, free: 4.895 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.1664, allocations: 0 / 0.6274 GB, free: 4.895 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003764/0.1668, allocations: 79.94 kB / 0.6275 GB, free: 4.816 MB / 0.5294 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.0002574/0.167, allocations: 174.3 kB / 0.6276 GB, free: 4.637 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.000595/0.1676, allocations: 294.6 kB / 0.6279 GB, free: 4.336 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1676, allocations: 3.938 kB / 0.6279 GB, free: 4.332 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0004468/0.1681, allocations: 238.5 kB / 0.6281 GB, free: 4.086 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005057/0.1686, allocations: 71 kB / 0.6282 GB, free: 4.016 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001105/0.1697, allocations: 0.6398 MB / 0.6288 GB, free: 3.344 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001789/0.1698, allocations: 181.1 kB / 0.629 GB, free: 3.145 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 8.218e-05/0.1699, allocations: 29.7 kB / 0.629 GB, free: 3.121 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.767e-05/0.17, allocations: 20.5 kB / 0.6291 GB, free: 3.102 MB / 0.5294 GB Notification: Performance of SimCode: time 3.21e-07/0.17, allocations: 0 / 0.6291 GB, free: 3.102 MB / 0.5294 GB Notification: Performance of Templates: time 0.009837/0.1798, allocations: 4.508 MB / 0.6335 GB, free: 14.66 MB / 0.545 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=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter_res.mat","/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.291118014603853]