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.008589/0.008589, allocations: 100.4 kB / 15.73 MB, free: 6.02 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.001812/0.001812, allocations: 186.8 kB / 16.67 MB, free: 5.938 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.454/1.454, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7531/0.7531, allocations: 91.2 MB / 381.7 MB, free: 7.523 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001618/0.001618, allocations: 79.88 kB / 0.5168 GB, free: 4.113 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3221/0.3237, allocations: 67.68 MB / 0.5829 GB, free: 14 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestSplitter): time 0.1449/0.4687, allocations: 141.5 MB / 0.7211 GB, free: 88 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.004053/0.4728, allocations: 4.153 MB / 0.7252 GB, free: 11.92 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002042/0.473, allocations: 15.88 kB / 0.7252 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0004917/0.4735, allocations: 155 kB / 0.7254 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0004108/0.474, allocations: 210.6 kB / 0.7256 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002839/0.4743, allocations: 123.6 kB / 0.7257 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0003811/0.4747, allocations: 374.3 kB / 0.726 GB, free: 11.06 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001885/0.4749, allocations: 106.5 kB / 0.7261 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003061/0.4752, allocations: 183.1 kB / 0.7263 GB, free: 10.78 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002377/0.4754, allocations: 167.3 kB / 0.7265 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.308e-05/0.4755, allocations: 16 kB / 0.7265 GB, free: 10.6 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000461/0.4759, allocations: 283.4 kB / 0.7268 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 5.268e-05/0.476, allocations: 47.78 kB / 0.7268 GB, free: 10.28 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001216/0.4761, allocations: 139.2 kB / 0.7269 GB, free: 10.14 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0004695/0.4766, allocations: 378 kB / 0.7273 GB, free: 9.773 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.4766, allocations: 0 / 0.7273 GB, free: 9.773 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.032e-06/0.4766, allocations: 0 / 0.7273 GB, free: 9.773 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.428e-06/0.4766, allocations: 0 / 0.7273 GB, free: 9.773 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.0007681/0.4774, allocations: 0.6152 MB / 0.7279 GB, free: 9.105 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.956e-05/0.4775, allocations: 12.03 kB / 0.7279 GB, free: 9.094 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.871e-05/0.4775, allocations: 36.7 kB / 0.7279 GB, free: 9.059 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004336/0.478, allocations: 359.6 kB / 0.7283 GB, free: 8.668 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.934e-05/0.478, allocations: 20.69 kB / 0.7283 GB, free: 8.648 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.162e-05/0.478, allocations: 24.33 kB / 0.7283 GB, free: 8.625 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003567/0.4784, allocations: 233.7 kB / 0.7285 GB, free: 8.387 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.789e-06/0.4784, allocations: 0 / 0.7285 GB, free: 8.387 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.202e-05/0.4785, allocations: 12 kB / 0.7286 GB, free: 8.375 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.218e-06/0.4785, allocations: 4 kB / 0.7286 GB, free: 8.371 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002056/0.4787, allocations: 127.9 kB / 0.7287 GB, free: 8.246 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009918/0.4797, allocations: 0.7655 MB / 0.7294 GB, free: 7.426 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003002/0.48, allocations: 130.5 kB / 0.7296 GB, free: 7.289 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001148/0.4801, allocations: 64.84 kB / 0.7296 GB, free: 7.223 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000163/0.4803, allocations: 247.3 kB / 0.7299 GB, free: 6.926 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.046e-05/0.4803, allocations: 38.5 kB / 0.7299 GB, free: 6.879 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=15): time 1.272e-06/0.4803, allocations: 0 / 0.7299 GB, free: 6.879 MB / 0.5762 GB Notification: Performance of matching and sorting (n=16): time 0.001483/0.4818, allocations: 0.9143 MB / 0.7308 GB, free: 5.855 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.972e-05/0.4819, allocations: 55.41 kB / 0.7308 GB, free: 5.789 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003094/0.4822, allocations: 333.7 kB / 0.7312 GB, free: 5.457 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.519e-05/0.4822, allocations: 25.7 kB / 0.7312 GB, free: 5.426 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001096/0.4823, allocations: 172.3 kB / 0.7313 GB, free: 5.25 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.756e-05/0.4824, allocations: 55.53 kB / 0.7314 GB, free: 5.195 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.273e-05/0.4824, allocations: 37.67 kB / 0.7314 GB, free: 5.152 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001264/0.4826, allocations: 350.7 kB / 0.7318 GB, free: 4.801 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.151e-05/0.4826, allocations: 43.98 kB / 0.7318 GB, free: 4.758 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.148e-05/0.4827, allocations: 65.69 kB / 0.7319 GB, free: 4.688 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001824/0.4829, allocations: 133.5 kB / 0.732 GB, free: 4.551 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.4829, allocations: 0 / 0.732 GB, free: 4.551 MB / 0.5762 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.00043/0.4834, allocations: 276.1 kB / 0.7323 GB, free: 4.273 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.4834, allocations: 4 kB / 0.7323 GB, free: 4.27 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.4834, allocations: 0 / 0.7323 GB, free: 4.27 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000321/0.4837, allocations: 92.8 kB / 0.7324 GB, free: 4.176 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.791e-05/0.4838, allocations: 19.92 kB / 0.7324 GB, free: 4.156 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001949/0.4858, allocations: 1.95 MB / 0.7343 GB, free: 2.062 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.386e-05/0.4859, allocations: 7.938 kB / 0.7343 GB, free: 2.055 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.276e-05/0.4859, allocations: 4.281 kB / 0.7343 GB, free: 2.051 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.0001284/0.486, allocations: 153.7 kB / 0.7344 GB, free: 1.891 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.13e-05/0.4861, allocations: 35.77 kB / 0.7345 GB, free: 1.855 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004757/0.4866, allocations: 301.6 kB / 0.7348 GB, free: 1.539 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.4866, allocations: 0 / 0.7348 GB, free: 1.539 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.4866, allocations: 3.938 kB / 0.7348 GB, free: 1.535 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.4866, allocations: 7.938 kB / 0.7348 GB, free: 1.527 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007202/0.4873, allocations: 0.6069 MB / 0.7354 GB, free: 0.8516 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.4874, allocations: 8.094 kB / 0.7354 GB, free: 0.8438 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.548e-05/0.4874, allocations: 4 kB / 0.7354 GB, free: 0.8398 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000282/0.4877, allocations: 100.7 kB / 0.7355 GB, free: 0.7383 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.684e-05/0.4877, allocations: 7.984 kB / 0.7355 GB, free: 0.7305 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3238/0.8115, allocations: 1.945 MB / 0.7374 GB, free: 153.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.391e-06/0.8116, allocations: 5.375 kB / 0.7374 GB, free: 153.8 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006155/0.8122, allocations: 412.1 kB / 0.7378 GB, free: 153.5 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 6.354e-05/0.8123, allocations: 108.8 kB / 0.7379 GB, free: 153.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.595e-05/0.8123, allocations: 7.953 kB / 0.7379 GB, free: 153.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001206/0.8124, allocations: 1.938 kB / 0.7379 GB, free: 153.4 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.684e-05/0.8125, allocations: 18.48 kB / 0.7379 GB, free: 153.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.539e-05/0.8125, allocations: 10.06 kB / 0.7379 GB, free: 153.4 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.00029/0.8128, allocations: 244.5 kB / 0.7381 GB, free: 153.3 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8128, allocations: 2.734 kB / 0.7382 GB, free: 153.3 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004171/0.8132, allocations: 74.34 kB / 0.7382 GB, free: 153.3 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.0002822/0.8135, allocations: 172.1 kB / 0.7384 GB, free: 153.2 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0006112/0.8141, allocations: 299.2 kB / 0.7387 GB, free: 153 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.8141, allocations: 0 / 0.7387 GB, free: 153 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0004049/0.8146, allocations: 245.4 kB / 0.7389 GB, free: 152.9 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006567/0.8152, allocations: 102.4 kB / 0.739 GB, free: 152.9 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001076/0.8163, allocations: 0.7151 MB / 0.7397 GB, free: 152.4 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002353/0.8166, allocations: 0.7749 MB / 0.7405 GB, free: 151.7 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001048/0.8167, allocations: 42.06 kB / 0.7405 GB, free: 151.7 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.021e-05/0.8167, allocations: 26.53 kB / 0.7405 GB, free: 151.7 MB / 0.5762 GB Notification: Performance of SimCode: time 3.41e-07/0.8167, allocations: 1.406 kB / 0.7405 GB, free: 151.7 MB / 0.5762 GB Notification: Performance of Templates: time 0.01187/0.8286, allocations: 5.218 MB / 0.7456 GB, free: 150 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