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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo", uses=false) Using package ThermofluidStream with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ThermofluidStream.Topology.Tests.TestSplitter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,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=2000,variableFilter="Time|splitterN.inlet.m_flow|splitterN.outlets.2..m_flow|splitterN.outlets.3..m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00754/0.00754, allocations: 102.3 kB / 15.73 MB, free: 6.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001592/0.001592, allocations: 188.5 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.341/1.341, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6636/0.6636, allocations: 91.19 MB / 381.7 MB, free: 9.367 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001492/0.001493, allocations: 79.88 kB / 0.5168 GB, free: 9.047 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1247/0.1262, allocations: 67.69 MB / 0.5829 GB, free: 5.277 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestSplitter): time 0.4404/0.5666, allocations: 141.5 MB / 0.7211 GB, free: 10.69 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.004134/0.5708, allocations: 4.149 MB / 0.7252 GB, free: 6.535 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001838/0.571, allocations: 15.88 kB / 0.7252 GB, free: 6.52 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004985/0.5715, allocations: 161.4 kB / 0.7254 GB, free: 6.363 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0004525/0.5721, allocations: 202.7 kB / 0.7255 GB, free: 6.164 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003104/0.5724, allocations: 127.6 kB / 0.7257 GB, free: 6.039 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0004023/0.5728, allocations: 378.2 kB / 0.726 GB, free: 5.668 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000216/0.573, allocations: 118 kB / 0.7261 GB, free: 5.559 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003388/0.5734, allocations: 180.7 kB / 0.7263 GB, free: 5.383 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000239/0.5736, allocations: 179.2 kB / 0.7265 GB, free: 5.207 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.45e-05/0.5737, allocations: 16 kB / 0.7265 GB, free: 5.191 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004422/0.5741, allocations: 263.6 kB / 0.7268 GB, free: 4.934 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 5.496e-05/0.5742, allocations: 51.77 kB / 0.7268 GB, free: 4.883 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001081/0.5743, allocations: 139.2 kB / 0.7269 GB, free: 4.746 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0004319/0.5747, allocations: 384.6 kB / 0.7273 GB, free: 4.371 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.5747, allocations: 4 kB / 0.7273 GB, free: 4.367 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.373e-06/0.5747, allocations: 0 / 0.7273 GB, free: 4.367 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.602e-06/0.5748, allocations: 0 / 0.7273 GB, free: 4.367 MB / 0.5606 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.0008182/0.5756, allocations: 0.585 MB / 0.7279 GB, free: 3.73 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.328e-05/0.5756, allocations: 16.02 kB / 0.7279 GB, free: 3.715 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.229e-05/0.5757, allocations: 36.47 kB / 0.7279 GB, free: 3.68 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004562/0.5762, allocations: 359.3 kB / 0.7283 GB, free: 3.289 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.517e-05/0.5762, allocations: 12.75 kB / 0.7283 GB, free: 3.277 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.434e-05/0.5762, allocations: 24.28 kB / 0.7283 GB, free: 3.254 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003479/0.5766, allocations: 237.8 kB / 0.7285 GB, free: 3.012 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/0.5766, allocations: 4 kB / 0.7285 GB, free: 3.008 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.181e-05/0.5766, allocations: 12 kB / 0.7285 GB, free: 2.996 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.125e-06/0.5766, allocations: 4 kB / 0.7285 GB, free: 2.992 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002261/0.5769, allocations: 135.8 kB / 0.7287 GB, free: 2.859 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001011/0.5779, allocations: 0.7536 MB / 0.7294 GB, free: 2.051 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003041/0.5782, allocations: 135.6 kB / 0.7295 GB, free: 1.91 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001052/0.5783, allocations: 68.77 kB / 0.7296 GB, free: 1.84 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001711/0.5785, allocations: 247.3 kB / 0.7298 GB, free: 1.543 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.861e-05/0.5785, allocations: 30.56 kB / 0.7299 GB, free: 1.504 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=15): time 1.252e-06/0.5785, allocations: 0 / 0.7299 GB, free: 1.504 MB / 0.5606 GB Notification: Performance of matching and sorting (n=16): time 0.001499/0.58, allocations: 0.9175 MB / 0.7308 GB, free: 488 kB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.382e-05/0.5801, allocations: 55.41 kB / 0.7308 GB, free: 420 kB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003187/0.5804, allocations: 325.7 kB / 0.7311 GB, free: 88 kB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.746e-05/0.5804, allocations: 25.7 kB / 0.7312 GB, free: 56 kB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001278/0.5806, allocations: 172.4 kB / 0.7313 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.848e-05/0.5806, allocations: 63.09 kB / 0.7314 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.39e-05/0.5807, allocations: 33.7 kB / 0.7314 GB, free: 15.78 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.00013/0.5808, allocations: 342.8 kB / 0.7317 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.134e-05/0.5809, allocations: 47.97 kB / 0.7318 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.365e-05/0.581, allocations: 68.39 kB / 0.7319 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001822/0.5812, allocations: 127.5 kB / 0.732 GB, free: 15.19 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.91e-07/0.5812, allocations: 0 / 0.732 GB, free: 15.19 MB / 0.5762 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004455/0.5817, allocations: 265.8 kB / 0.7322 GB, free: 14.92 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/0.5817, allocations: 7.938 kB / 0.7322 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/0.5817, allocations: 0 / 0.7322 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003288/0.5821, allocations: 100.8 kB / 0.7323 GB, free: 14.81 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.088e-05/0.5821, allocations: 19.94 kB / 0.7324 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002054/0.5842, allocations: 1.95 MB / 0.7343 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.386e-05/0.5843, allocations: 4 kB / 0.7343 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.52e-05/0.5843, allocations: 7.984 kB / 0.7343 GB, free: 12.69 MB / 0.5762 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.0001317/0.5845, allocations: 153.8 kB / 0.7344 GB, free: 12.53 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.251e-05/0.5845, allocations: 31.62 kB / 0.7344 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000464/0.585, allocations: 284.1 kB / 0.7347 GB, free: 12.19 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.585, allocations: 0 / 0.7347 GB, free: 12.19 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.585, allocations: 8.156 kB / 0.7347 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.96e-06/0.585, allocations: 7.984 kB / 0.7347 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000712/0.5857, allocations: 0.6176 MB / 0.7353 GB, free: 11.49 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.5858, allocations: 4 kB / 0.7353 GB, free: 11.49 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.703e-05/0.5858, allocations: 4 kB / 0.7353 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002636/0.5861, allocations: 104.7 kB / 0.7354 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.752e-05/0.5861, allocations: 8 kB / 0.7354 GB, free: 11.37 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001862/0.588, allocations: 1.939 MB / 0.7373 GB, free: 9.293 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.969e-06/0.588, allocations: 7.875 kB / 0.7373 GB, free: 9.285 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005236/0.5885, allocations: 404.8 kB / 0.7377 GB, free: 8.863 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 6.474e-05/0.5886, allocations: 104.8 kB / 0.7378 GB, free: 8.742 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.031e-05/0.5886, allocations: 15.91 kB / 0.7379 GB, free: 8.727 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001189/0.5888, allocations: 15.92 kB / 0.7379 GB, free: 8.711 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.209e-05/0.5888, allocations: 11.98 kB / 0.7379 GB, free: 8.699 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.394e-06/0.5888, allocations: 0 / 0.7379 GB, free: 8.699 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002191/0.589, allocations: 251.2 kB / 0.7381 GB, free: 8.453 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.21e-07/0.589, allocations: 0 / 0.7381 GB, free: 8.453 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003471/0.5894, allocations: 76 kB / 0.7382 GB, free: 8.379 MB / 0.5762 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.00021/0.5896, allocations: 169.1 kB / 0.7384 GB, free: 8.207 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.000557/0.5902, allocations: 302.5 kB / 0.7386 GB, free: 7.898 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.5902, allocations: 0 / 0.7386 GB, free: 7.898 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003859/0.5906, allocations: 238.5 kB / 0.7389 GB, free: 7.652 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006522/0.5912, allocations: 106.7 kB / 0.739 GB, free: 7.555 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001053/0.5923, allocations: 0.7049 MB / 0.7397 GB, free: 6.824 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000323/0.5926, allocations: 0.7795 MB / 0.7404 GB, free: 6.02 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 8.678e-05/0.5927, allocations: 34.91 kB / 0.7405 GB, free: 5.984 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.721e-05/0.5928, allocations: 23.44 kB / 0.7405 GB, free: 5.961 MB / 0.5762 GB Notification: Performance of SimCode: time 2.4e-07/0.5928, allocations: 0 / 0.7405 GB, free: 5.961 MB / 0.5762 GB Notification: Performance of Templates: time 0.009244/0.602, allocations: 5.235 MB / 0.7456 GB, free: 0.7656 MB / 0.5762 GB make -j1 -f ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter.makefile (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) 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) Reference file matches