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.0009166/0.0009166, allocations: 76.5 kB / 19.93 MB, free: 4.633 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.0008002/0.0008002, allocations: 173.9 kB / 23.21 MB, free: 1.352 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.8843/0.8843, allocations: 177.1 MB / 203.5 MB, free: 5.73 MB / 186.7 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.5519/0.5519, allocations: 80.18 MB / 340.1 MB, free: 7.539 MB / 314.7 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.873e-06/1.873e-06, allocations: 0 / 0.4936 GB, free: 6.215 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.281e-05/2.469e-05, allocations: 2.281 kB / 0.4936 GB, free: 6.211 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestSplitter): time 0.1241/0.1241, allocations: 124.4 MB / 0.6151 GB, free: 10.95 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.001031/0.1251, allocations: 1.41 MB / 0.6165 GB, free: 9.539 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001408/0.1253, allocations: 19.81 kB / 0.6165 GB, free: 9.52 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0004788/0.1258, allocations: 151 kB / 0.6166 GB, free: 9.371 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0003206/0.1261, allocations: 226.3 kB / 0.6169 GB, free: 9.148 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001966/0.1263, allocations: 139.4 kB / 0.617 GB, free: 9.012 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0003303/0.1266, allocations: 437.8 kB / 0.6174 GB, free: 8.582 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001652/0.1268, allocations: 58.55 kB / 0.6175 GB, free: 8.527 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000328/0.1271, allocations: 267.1 kB / 0.6177 GB, free: 8.266 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001619/0.1273, allocations: 151.6 kB / 0.6179 GB, free: 8.117 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 2.216e-05/0.1273, allocations: 16 kB / 0.6179 GB, free: 8.102 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002416/0.1275, allocations: 243.5 kB / 0.6181 GB, free: 7.863 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 4.486e-05/0.1276, allocations: 47.78 kB / 0.6182 GB, free: 7.816 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 6.755e-05/0.1276, allocations: 95.7 kB / 0.6183 GB, free: 7.723 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0004058/0.128, allocations: 374.8 kB / 0.6186 GB, free: 7.355 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.128, allocations: 0 / 0.6186 GB, free: 7.355 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.743e-06/0.128, allocations: 4 kB / 0.6186 GB, free: 7.352 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.834e-06/0.1281, allocations: 0 / 0.6186 GB, free: 7.352 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.0006788/0.1287, allocations: 0.5437 MB / 0.6191 GB, free: 6.773 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.667e-05/0.1288, allocations: 14.06 kB / 0.6192 GB, free: 6.762 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.136e-05/0.1288, allocations: 36.7 kB / 0.6192 GB, free: 6.727 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003305/0.1292, allocations: 320.2 kB / 0.6195 GB, free: 6.391 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.305e-05/0.1292, allocations: 8.75 kB / 0.6195 GB, free: 6.383 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.563e-05/0.1292, allocations: 28.36 kB / 0.6195 GB, free: 6.355 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000251/0.1295, allocations: 220.8 kB / 0.6197 GB, free: 6.133 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.1295, allocations: 4.172 kB / 0.6198 GB, free: 6.129 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.562e-05/0.1295, allocations: 16.06 kB / 0.6198 GB, free: 6.113 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.1295, allocations: 11.98 kB / 0.6198 GB, free: 6.102 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001426/0.1296, allocations: 127.9 kB / 0.6199 GB, free: 5.977 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006493/0.1303, allocations: 0.6287 MB / 0.6205 GB, free: 5.312 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002217/0.1305, allocations: 130.5 kB / 0.6206 GB, free: 5.176 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.719e-05/0.1306, allocations: 56.84 kB / 0.6207 GB, free: 5.117 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 8.087e-05/0.1306, allocations: 15.98 kB / 0.6207 GB, free: 5.102 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.79e-05/0.1307, allocations: 38.56 kB / 0.6207 GB, free: 5.055 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=15): time 1.763e-06/0.1307, allocations: 0 / 0.6207 GB, free: 5.055 MB / 0.5261 GB Notification: Performance of matching and sorting (n=16): time 0.0009352/0.1316, allocations: 0.6008 MB / 0.6213 GB, free: 4.418 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.541e-05/0.1316, allocations: 55.41 kB / 0.6214 GB, free: 4.352 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001784/0.1318, allocations: 264.5 kB / 0.6216 GB, free: 4.082 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.33e-05/0.1318, allocations: 29.64 kB / 0.6217 GB, free: 4.047 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 7.884e-05/0.1319, allocations: 184.2 kB / 0.6218 GB, free: 3.863 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 4.002e-05/0.1319, allocations: 63.48 kB / 0.6219 GB, free: 3.801 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.022e-05/0.132, allocations: 33.7 kB / 0.6219 GB, free: 3.762 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000106/0.1321, allocations: 342.8 kB / 0.6223 GB, free: 3.418 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.539e-05/0.1322, allocations: 47.98 kB / 0.6223 GB, free: 3.371 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.834e-05/0.1322, allocations: 71.58 kB / 0.6224 GB, free: 3.297 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001261/0.1324, allocations: 119.7 kB / 0.6225 GB, free: 3.176 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.1324, allocations: 0 / 0.6225 GB, free: 3.176 MB / 0.5261 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000287/0.1326, allocations: 266.7 kB / 0.6227 GB, free: 2.906 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.1327, allocations: 10.03 kB / 0.6228 GB, free: 2.898 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.1327, allocations: 0 / 0.6228 GB, free: 2.898 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002109/0.1329, allocations: 88.78 kB / 0.6228 GB, free: 2.809 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.479e-05/0.1329, allocations: 31.91 kB / 0.6229 GB, free: 2.777 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00125/0.1342, allocations: 1.8 MB / 0.6246 GB, free: 0.8711 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.44e-05/0.1342, allocations: 4 kB / 0.6246 GB, free: 0.8672 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.448e-06/0.1342, allocations: 4.281 kB / 0.6246 GB, free: 0.8633 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.815e-05/0.1343, allocations: 141.9 kB / 0.6248 GB, free: 0.7148 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.746e-05/0.1344, allocations: 27.8 kB / 0.6248 GB, free: 0.6875 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003089/0.1347, allocations: 294.9 kB / 0.6251 GB, free: 388 kB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.1347, allocations: 4 kB / 0.6251 GB, free: 384 kB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.255e-06/0.1347, allocations: 0 / 0.6251 GB, free: 384 kB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.1347, allocations: 0 / 0.6251 GB, free: 384 kB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004409/0.1351, allocations: 0.5285 MB / 0.6256 GB, free: 15.79 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.1351, allocations: 0 / 0.6256 GB, free: 15.79 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.119e-05/0.1351, allocations: 15.98 kB / 0.6256 GB, free: 15.78 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001553/0.1353, allocations: 96.8 kB / 0.6257 GB, free: 15.68 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.106e-05/0.1353, allocations: 4 kB / 0.6257 GB, free: 15.68 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00111/0.1364, allocations: 1.819 MB / 0.6275 GB, free: 13.76 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.1364, allocations: 3.938 kB / 0.6275 GB, free: 13.75 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003195/0.1367, allocations: 405.8 kB / 0.6279 GB, free: 13.33 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 1.88e-05/0.1367, allocations: 19.86 kB / 0.6279 GB, free: 13.31 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.611e-05/0.1368, allocations: 8.094 kB / 0.6279 GB, free: 13.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.456e-05/0.1368, allocations: 0 / 0.6279 GB, free: 13.3 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.557e-05/0.1368, allocations: 19.95 kB / 0.6279 GB, free: 13.29 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.889e-06/0.1368, allocations: 4 kB / 0.6279 GB, free: 13.28 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001161/0.137, allocations: 203.1 kB / 0.6281 GB, free: 13.08 MB / 0.5417 GB Notification: Performance of sort global known variables: time 4e-08/0.137, allocations: 0 / 0.6281 GB, free: 13.08 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002285/0.1372, allocations: 75.94 kB / 0.6282 GB, free: 13.01 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.0001978/0.1374, allocations: 177.4 kB / 0.6284 GB, free: 12.83 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0003733/0.1378, allocations: 305.2 kB / 0.6287 GB, free: 12.52 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.592e-06/0.1378, allocations: 0 / 0.6287 GB, free: 12.52 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0002023/0.138, allocations: 226.5 kB / 0.6289 GB, free: 12.29 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003092/0.1383, allocations: 61.3 kB / 0.6289 GB, free: 12.22 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007155/0.139, allocations: 0.6726 MB / 0.6296 GB, free: 11.51 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000107/0.1391, allocations: 177.1 kB / 0.6298 GB, free: 11.32 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.028e-05/0.1391, allocations: 28.48 kB / 0.6298 GB, free: 11.29 MB / 0.5417 GB Notification: Performance of SimCode: time 7.52e-07/0.1391, allocations: 0 / 0.6298 GB, free: 11.29 MB / 0.5417 GB Notification: Performance of Templates: time 0.005522/0.1447, allocations: 5.714 MB / 0.6354 GB, free: 5.59 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=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.69777921680361]