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.001625/0.001625, allocations: 105.1 kB / 16.41 MB, free: 6.41 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.001551/0.001551, allocations: 189.7 kB / 17.35 MB, free: 5.695 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.326/1.326, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6836/0.6836, allocations: 91.19 MB / 382.4 MB, free: 7.516 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001613/0.001614, allocations: 83.88 kB / 0.5175 GB, free: 4.121 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3185/0.3202, allocations: 67.67 MB / 0.5836 GB, free: 13.84 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestSplitter): time 0.1359/0.4562, allocations: 141.5 MB / 0.7218 GB, free: 64 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.00386/0.4601, allocations: 4.145 MB / 0.7259 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002567/0.4604, allocations: 19.88 kB / 0.7259 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.000532/0.4609, allocations: 159 kB / 0.726 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0004425/0.4614, allocations: 202.7 kB / 0.7262 GB, free: 11.53 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003116/0.4617, allocations: 123.6 kB / 0.7263 GB, free: 11.41 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0003691/0.4621, allocations: 370.2 kB / 0.7267 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001861/0.4623, allocations: 114 kB / 0.7268 GB, free: 10.94 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003165/0.4626, allocations: 191.1 kB / 0.727 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002209/0.4628, allocations: 163.3 kB / 0.7271 GB, free: 10.59 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.062e-05/0.4629, allocations: 27.88 kB / 0.7272 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004436/0.4633, allocations: 275.5 kB / 0.7274 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 5.186e-05/0.4634, allocations: 43.8 kB / 0.7275 GB, free: 10.25 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001155/0.4635, allocations: 147.2 kB / 0.7276 GB, free: 10.11 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0004452/0.464, allocations: 372.6 kB / 0.728 GB, free: 9.746 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.464, allocations: 0 / 0.728 GB, free: 9.746 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.142e-06/0.464, allocations: 0 / 0.728 GB, free: 9.746 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.821e-06/0.464, allocations: 0 / 0.728 GB, free: 9.746 MB / 0.5762 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.0008246/0.4648, allocations: 0.5999 MB / 0.7286 GB, free: 9.094 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.446e-05/0.4649, allocations: 8.031 kB / 0.7286 GB, free: 9.086 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.335e-05/0.4649, allocations: 40.47 kB / 0.7286 GB, free: 9.047 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000429/0.4654, allocations: 359.3 kB / 0.7289 GB, free: 8.656 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.626e-05/0.4654, allocations: 16.75 kB / 0.729 GB, free: 8.641 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.882e-05/0.4654, allocations: 20.28 kB / 0.729 GB, free: 8.621 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003418/0.4658, allocations: 237.7 kB / 0.7292 GB, free: 8.379 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.4658, allocations: 0 / 0.7292 GB, free: 8.379 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.948e-05/0.4658, allocations: 4 kB / 0.7292 GB, free: 8.375 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.732e-06/0.4658, allocations: 4 kB / 0.7292 GB, free: 8.371 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002047/0.4661, allocations: 135.9 kB / 0.7293 GB, free: 8.238 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009683/0.467, allocations: 0.7613 MB / 0.7301 GB, free: 7.422 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003117/0.4674, allocations: 138.5 kB / 0.7302 GB, free: 7.277 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000105/0.4675, allocations: 72.83 kB / 0.7303 GB, free: 7.203 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001663/0.4676, allocations: 247.3 kB / 0.7305 GB, free: 6.906 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.911e-05/0.4677, allocations: 30.56 kB / 0.7305 GB, free: 6.867 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=15): time 1.363e-06/0.4677, allocations: 0 / 0.7305 GB, free: 6.867 MB / 0.5762 GB Notification: Performance of matching and sorting (n=16): time 0.001472/0.4692, allocations: 0.9174 MB / 0.7314 GB, free: 5.84 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.372e-05/0.4692, allocations: 51.41 kB / 0.7315 GB, free: 5.777 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002858/0.4695, allocations: 333.7 kB / 0.7318 GB, free: 5.445 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.772e-05/0.4695, allocations: 25.7 kB / 0.7318 GB, free: 5.414 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.776e-05/0.4696, allocations: 164.3 kB / 0.732 GB, free: 5.246 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.697e-05/0.4697, allocations: 63.17 kB / 0.7321 GB, free: 5.184 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.308e-05/0.4697, allocations: 37.7 kB / 0.7321 GB, free: 5.141 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001065/0.4698, allocations: 342.8 kB / 0.7324 GB, free: 4.797 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.31e-05/0.4699, allocations: 47.98 kB / 0.7325 GB, free: 4.75 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.736e-05/0.47, allocations: 70.14 kB / 0.7325 GB, free: 4.676 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001697/0.4702, allocations: 128 kB / 0.7327 GB, free: 4.547 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.4702, allocations: 0 / 0.7327 GB, free: 4.547 MB / 0.5762 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004141/0.4706, allocations: 269.8 kB / 0.7329 GB, free: 4.273 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.4707, allocations: 13.34 kB / 0.7329 GB, free: 4.262 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.91e-06/0.4707, allocations: 0 / 0.7329 GB, free: 4.262 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003009/0.471, allocations: 92.78 kB / 0.733 GB, free: 4.168 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.751e-05/0.4711, allocations: 16 kB / 0.733 GB, free: 4.152 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001859/0.4729, allocations: 1.95 MB / 0.7349 GB, free: 2.059 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.686e-05/0.473, allocations: 11.94 kB / 0.7349 GB, free: 2.047 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.211e-05/0.473, allocations: 4 kB / 0.7349 GB, free: 2.043 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.0001364/0.4732, allocations: 153.7 kB / 0.7351 GB, free: 1.883 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.043e-05/0.4732, allocations: 27.62 kB / 0.7351 GB, free: 1.855 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004716/0.4737, allocations: 291.2 kB / 0.7354 GB, free: 1.551 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/0.4737, allocations: 4 kB / 0.7354 GB, free: 1.547 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.4737, allocations: 3.938 kB / 0.7354 GB, free: 1.543 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.4738, allocations: 0 / 0.7354 GB, free: 1.543 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000702/0.4745, allocations: 0.6147 MB / 0.736 GB, free: 0.8594 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.073e-06/0.4745, allocations: 0 / 0.736 GB, free: 0.8594 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.882e-05/0.4745, allocations: 11.98 kB / 0.736 GB, free: 0.8477 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002575/0.4748, allocations: 100.8 kB / 0.7361 GB, free: 0.7461 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.286e-05/0.4748, allocations: 0 / 0.7361 GB, free: 0.7461 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2614/0.7362, allocations: 1.958 MB / 0.738 GB, free: 153.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/0.7362, allocations: 1 kB / 0.738 GB, free: 153.7 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005948/0.7368, allocations: 411.4 kB / 0.7384 GB, free: 153.4 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 6.744e-05/0.7369, allocations: 109.1 kB / 0.7385 GB, free: 153.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.681e-05/0.7369, allocations: 7.547 kB / 0.7385 GB, free: 153.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001243/0.7371, allocations: 5.938 kB / 0.7385 GB, free: 153.3 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.042e-05/0.7371, allocations: 16.52 kB / 0.7385 GB, free: 153.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.438e-05/0.7371, allocations: 8.297 kB / 0.7386 GB, free: 153.3 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002659/0.7374, allocations: 246.6 kB / 0.7388 GB, free: 153.2 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.71e-07/0.7374, allocations: 0 / 0.7388 GB, free: 153.2 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004047/0.7378, allocations: 75.56 kB / 0.7389 GB, free: 153.2 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.0002315/0.7381, allocations: 170.5 kB / 0.739 GB, free: 153.1 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0005867/0.7387, allocations: 298.7 kB / 0.7393 GB, free: 152.9 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.7387, allocations: 0 / 0.7393 GB, free: 152.9 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003709/0.7391, allocations: 237.5 kB / 0.7395 GB, free: 152.8 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006338/0.7397, allocations: 99.61 kB / 0.7396 GB, free: 152.8 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001054/0.7408, allocations: 0.7258 MB / 0.7403 GB, free: 152.3 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002237/0.741, allocations: 0.7768 MB / 0.7411 GB, free: 151.6 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.577e-05/0.741, allocations: 23.72 kB / 0.7411 GB, free: 151.6 MB / 0.5762 GB Notification: Performance of SimCode: time 3e-07/0.7411, allocations: 4.812 kB / 0.7411 GB, free: 151.6 MB / 0.5762 GB Notification: Performance of Templates: time 0.009939/0.751, allocations: 5.892 MB / 0.7469 GB, free: 149.5 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches