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.001072/0.001072, allocations: 97.78 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001327/0.001327, allocations: 187.3 kB / 16.92 MB, free: 6.75 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.311/1.311, allocations: 223.3 MB / 241 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6186/0.6186, allocations: 89.64 MB / 381.7 MB, free: 11.31 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003643/0.0003643, allocations: 11.53 kB / 461.3 MB, free: 24.27 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1264/0.1268, allocations: 68.83 MB / 0.5177 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestSplitter): time 0.397/0.5239, allocations: 137.8 MB / 0.6522 GB, free: 11.44 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.004379/0.5283, allocations: 4.085 MB / 0.6562 GB, free: 8.148 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002282/0.5285, allocations: 2.312 kB / 0.6562 GB, free: 8.148 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005433/0.5291, allocations: 141.7 kB / 0.6564 GB, free: 8.039 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004422/0.5296, allocations: 161.2 kB / 0.6565 GB, free: 7.91 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002987/0.5299, allocations: 111.2 kB / 0.6566 GB, free: 7.828 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003489/0.5302, allocations: 323.9 kB / 0.6569 GB, free: 7.645 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000182/0.5304, allocations: 94.52 kB / 0.657 GB, free: 7.598 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00031/0.5307, allocations: 120.6 kB / 0.6571 GB, free: 7.535 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002273/0.531, allocations: 145.7 kB / 0.6573 GB, free: 7.457 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 2.22e-05/0.531, allocations: 8.688 kB / 0.6573 GB, free: 7.457 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000456/0.5315, allocations: 257 kB / 0.6575 GB, free: 7.348 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 3.551e-05/0.5315, allocations: 29.7 kB / 0.6576 GB, free: 7.324 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001224/0.5316, allocations: 137 kB / 0.6577 GB, free: 7.227 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002625/0.5319, allocations: 208.8 kB / 0.6579 GB, free: 7.094 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.5319, allocations: 0 / 0.6579 GB, free: 7.094 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.5319, allocations: 3.938 kB / 0.6579 GB, free: 7.09 MB / 478.1 MB Notification: Performance of Transformations before backend: time 6.141e-06/0.5319, allocations: 2.969 kB / 0.6579 GB, free: 7.09 MB / 478.1 MB 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.00075/0.5327, allocations: 487.8 kB / 0.6584 GB, free: 6.629 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/0.5328, allocations: 12.34 kB / 0.6584 GB, free: 6.625 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.932e-05/0.5328, allocations: 28.69 kB / 0.6584 GB, free: 6.609 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00026/0.5331, allocations: 241.3 kB / 0.6586 GB, free: 6.355 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.738e-05/0.5331, allocations: 16.75 kB / 0.6586 GB, free: 6.348 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.061e-05/0.5332, allocations: 23.09 kB / 0.6587 GB, free: 6.336 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003473/0.5335, allocations: 228.7 kB / 0.6589 GB, free: 6.184 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.587e-06/0.5335, allocations: 2.5 kB / 0.6589 GB, free: 6.184 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.094e-05/0.5336, allocations: 4 kB / 0.6589 GB, free: 6.18 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.5336, allocations: 5.844 kB / 0.6589 GB, free: 6.18 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000202/0.5338, allocations: 134.2 kB / 0.659 GB, free: 6.113 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009964/0.5348, allocations: 0.7476 MB / 0.6598 GB, free: 5.469 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002888/0.5351, allocations: 137.9 kB / 0.6599 GB, free: 5.387 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001031/0.5352, allocations: 65.16 kB / 0.6599 GB, free: 5.352 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001688/0.5354, allocations: 243.6 kB / 0.6602 GB, free: 5.066 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.296e-05/0.5354, allocations: 38.56 kB / 0.6602 GB, free: 5.02 MB / 478.1 MB Notification: Performance of pre-optimization done (n=15): time 1.743e-06/0.5354, allocations: 0 / 0.6602 GB, free: 5.02 MB / 478.1 MB Notification: Performance of matching and sorting (n=16): time 0.001502/0.5369, allocations: 0.8872 MB / 0.6611 GB, free: 4.246 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.468e-05/0.537, allocations: 55.39 kB / 0.6611 GB, free: 4.18 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000221/0.5372, allocations: 241.9 kB / 0.6614 GB, free: 4.004 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.49e-05/0.5372, allocations: 25.7 kB / 0.6614 GB, free: 3.973 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.022e-05/0.5373, allocations: 128.3 kB / 0.6615 GB, free: 3.848 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.887e-05/0.5374, allocations: 61.31 kB / 0.6616 GB, free: 3.793 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.215e-05/0.5374, allocations: 22.28 kB / 0.6616 GB, free: 3.77 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001096/0.5375, allocations: 332.8 kB / 0.6619 GB, free: 3.441 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.268e-05/0.5376, allocations: 48.8 kB / 0.662 GB, free: 3.418 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.473e-05/0.5377, allocations: 75 kB / 0.662 GB, free: 3.367 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001727/0.5379, allocations: 124.5 kB / 0.6621 GB, free: 3.297 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.5379, allocations: 0 / 0.6621 GB, free: 3.297 MB / 478.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004163/0.5383, allocations: 254.1 kB / 0.6624 GB, free: 3.145 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.5383, allocations: 15.03 kB / 0.6624 GB, free: 3.137 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.5384, allocations: 2.875 kB / 0.6624 GB, free: 3.137 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000294/0.5387, allocations: 87.23 kB / 0.6625 GB, free: 3.094 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.567e-05/0.5387, allocations: 20.98 kB / 0.6625 GB, free: 3.09 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001821/0.5406, allocations: 1.818 MB / 0.6643 GB, free: 1.426 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.771e-05/0.5407, allocations: 6.875 kB / 0.6643 GB, free: 1.422 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.286e-05/0.5407, allocations: 2.875 kB / 0.6643 GB, free: 1.422 MB / 478.1 MB 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.0001218/0.5408, allocations: 145.1 kB / 0.6644 GB, free: 1.281 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.525e-05/0.5409, allocations: 26.25 kB / 0.6645 GB, free: 1.266 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000485/0.5414, allocations: 265.8 kB / 0.6647 GB, free: 1.078 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.397e-06/0.5414, allocations: 2.125 kB / 0.6647 GB, free: 1.078 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.5414, allocations: 3 kB / 0.6647 GB, free: 1.078 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/0.5414, allocations: 8.266 kB / 0.6647 GB, free: 1.07 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007011/0.5421, allocations: 0.5819 MB / 0.6653 GB, free: 0.5508 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.047e-06/0.5421, allocations: 3.875 kB / 0.6653 GB, free: 0.5508 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.854e-05/0.5422, allocations: 10.22 kB / 0.6653 GB, free: 0.5469 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002645/0.5424, allocations: 102.7 kB / 0.6654 GB, free: 500 kB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.717e-05/0.5425, allocations: 10.89 kB / 0.6654 GB, free: 492 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00173/0.5442, allocations: 1.805 MB / 0.6672 GB, free: 14.83 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.5442, allocations: 0 / 0.6672 GB, free: 14.83 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005522/0.5448, allocations: 417.1 kB / 0.6676 GB, free: 14.51 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.911e-05/0.5449, allocations: 94.64 kB / 0.6677 GB, free: 14.41 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.332e-05/0.5449, allocations: 11.08 kB / 0.6677 GB, free: 14.4 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001155/0.545, allocations: 3.25 kB / 0.6677 GB, free: 14.4 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.605e-05/0.5451, allocations: 12.52 kB / 0.6677 GB, free: 14.39 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.068e-05/0.5451, allocations: 14.19 kB / 0.6677 GB, free: 14.38 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001749/0.5453, allocations: 188.6 kB / 0.6679 GB, free: 14.25 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5453, allocations: 0 / 0.6679 GB, free: 14.25 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000351/0.5456, allocations: 72.12 kB / 0.668 GB, free: 14.24 MB / 494.1 MB 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.0002112/0.5458, allocations: 169.9 kB / 0.6681 GB, free: 14.12 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0005256/0.5464, allocations: 304.2 kB / 0.6684 GB, free: 13.91 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.746e-06/0.5464, allocations: 0 / 0.6684 GB, free: 13.91 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004351/0.5468, allocations: 244.9 kB / 0.6686 GB, free: 13.72 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006569/0.5475, allocations: 88.09 kB / 0.6687 GB, free: 13.68 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001049/0.5486, allocations: 0.7541 MB / 0.6695 GB, free: 13.07 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003134/0.5489, allocations: 0.7466 MB / 0.6702 GB, free: 12.34 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.523e-05/0.5489, allocations: 22.34 kB / 0.6702 GB, free: 12.33 MB / 494.1 MB Notification: Performance of SimCode: time 2.41e-07/0.5489, allocations: 0 / 0.6702 GB, free: 12.33 MB / 494.1 MB Notification: Performance of Templates: time 0.007137/0.5561, allocations: 4.709 MB / 0.6748 GB, free: 9.285 MB / 494.1 MB 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