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/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ObsoleteModelica4 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo", uses=false) Using package ThermofluidStream with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo) Using package ObsoleteModelica4 with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ObsoleteModelica4 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) 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.006907/0.006907, allocations: 171.5 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.572/1.572, allocations: 223.2 MB / 239 MB, free: 1.789 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001113/0.001113, allocations: 98.97 kB / 290.2 MB, free: 13.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ObsoleteModelica4 4.0.0+maint.om/package.mo): time 0.01302/0.01302, allocations: 1.546 MB / 342.9 MB, free: 9.266 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo): time 0.8901/0.8901, allocations: 90.29 MB / 484.7 MB, free: 21.9 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005342/0.0005342, allocations: 18.03 kB / 0.5526 GB, free: 30.45 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2052/0.2058, allocations: 69.35 MB / 0.6203 GB, free: 5.625 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.428/1.634, allocations: 431 MB / 1.041 GB, free: 110.2 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003719/1.634, allocations: 79.83 kB / 1.041 GB, free: 110.1 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.1279/1.762, allocations: 66.3 MB / 1.106 GB, free: 53.31 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.575e-06/1.762, allocations: 0 / 1.106 GB, free: 53.31 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.609e-05/1.762, allocations: 7.938 kB / 1.106 GB, free: 53.3 MB / 0.6042 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.0007633/1.763, allocations: 0.5219 MB / 1.107 GB, free: 52.73 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.286e-05/1.763, allocations: 15.98 kB / 1.107 GB, free: 52.72 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.705e-05/1.763, allocations: 23.72 kB / 1.107 GB, free: 52.7 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002553/1.763, allocations: 243.6 kB / 1.107 GB, free: 52.41 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.03e-05/1.763, allocations: 12 kB / 1.107 GB, free: 52.4 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.984e-05/1.764, allocations: 20 kB / 1.107 GB, free: 52.38 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003143/1.764, allocations: 198.4 kB / 1.107 GB, free: 52.18 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/1.764, allocations: 0 / 1.107 GB, free: 52.18 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.143e-05/1.764, allocations: 7.953 kB / 1.107 GB, free: 52.17 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.949e-06/1.764, allocations: 11.94 kB / 1.107 GB, free: 52.16 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001896/1.764, allocations: 128.3 kB / 1.107 GB, free: 52.04 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009932/1.765, allocations: 1.078 MB / 1.108 GB, free: 50.81 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000363/1.765, allocations: 194.4 kB / 1.108 GB, free: 50.61 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001783/1.766, allocations: 247.3 kB / 1.109 GB, free: 50.31 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.887e-05/1.766, allocations: 38.56 kB / 1.109 GB, free: 50.27 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=17): time 1.413e-06/1.766, allocations: 0 / 1.109 GB, free: 50.27 MB / 0.6042 GB Notification: Performance of matching and sorting (n=18): time 0.001526/1.767, allocations: 1.039 MB / 1.11 GB, free: 49.1 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.639e-05/1.767, allocations: 51.41 kB / 1.11 GB, free: 49.04 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001166/1.767, allocations: 158.4 kB / 1.11 GB, free: 48.88 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.589e-05/1.767, allocations: 25.7 kB / 1.11 GB, free: 48.84 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.653e-05/1.767, allocations: 140.3 kB / 1.11 GB, free: 48.7 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.454e-05/1.768, allocations: 71.02 kB / 1.11 GB, free: 48.63 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.436e-06/1.768, allocations: 0 / 1.11 GB, free: 48.63 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.553e-05/1.768, allocations: 330.8 kB / 1.11 GB, free: 48.3 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.968e-05/1.768, allocations: 76.14 kB / 1.111 GB, free: 48.23 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001092/1.768, allocations: 105.1 kB / 1.111 GB, free: 48.12 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001246/1.768, allocations: 97.44 kB / 1.111 GB, free: 48.03 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/1.768, allocations: 0 / 1.111 GB, free: 48.03 MB / 0.6042 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004335/1.768, allocations: 314 kB / 1.111 GB, free: 47.71 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/1.768, allocations: 4 kB / 1.111 GB, free: 47.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.794e-06/1.768, allocations: 0 / 1.111 GB, free: 47.71 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003087/1.769, allocations: 92.78 kB / 1.111 GB, free: 47.61 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.313e-05/1.769, allocations: 19.98 kB / 1.111 GB, free: 47.59 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001694/1.771, allocations: 1.969 MB / 1.113 GB, free: 45.49 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001019/1.771, allocations: 12.03 kB / 1.113 GB, free: 45.48 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.468e-05/1.771, allocations: 4 kB / 1.113 GB, free: 45.48 MB / 0.6042 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 (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,77.8%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001248/1.771, allocations: 145.7 kB / 1.113 GB, free: 45.32 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.725e-05/1.771, allocations: 20.05 kB / 1.113 GB, free: 45.3 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005021/1.771, allocations: 305.8 kB / 1.113 GB, free: 45 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.039e-06/1.771, allocations: 4 kB / 1.113 GB, free: 45 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/1.771, allocations: 0 / 1.113 GB, free: 45 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/1.771, allocations: 3.938 kB / 1.113 GB, free: 44.99 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002972/1.772, allocations: 317.4 kB / 1.114 GB, free: 44.63 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/1.772, allocations: 4 kB / 1.114 GB, free: 44.63 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.227e-05/1.772, allocations: 15.98 kB / 1.114 GB, free: 44.61 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000265/1.772, allocations: 100.7 kB / 1.114 GB, free: 44.51 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.244e-05/1.772, allocations: 8 kB / 1.114 GB, free: 44.5 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001635/1.774, allocations: 1.96 MB / 1.116 GB, free: 42.41 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/1.774, allocations: 4 kB / 1.116 GB, free: 42.41 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005499/1.774, allocations: 453.8 kB / 1.116 GB, free: 41.95 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.723e-05/1.774, allocations: 92.92 kB / 1.116 GB, free: 41.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.891e-05/1.774, allocations: 12 kB / 1.116 GB, free: 41.82 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001273/1.775, allocations: 15.89 kB / 1.116 GB, free: 41.81 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.894e-05/1.775, allocations: 19.97 kB / 1.116 GB, free: 41.79 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.333e-05/1.775, allocations: 4 kB / 1.116 GB, free: 41.79 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 8.885e-05/1.775, allocations: 137.1 kB / 1.117 GB, free: 41.65 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.61e-07/1.775, allocations: 0 / 1.117 GB, free: 41.65 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004438/1.775, allocations: 87.95 kB / 1.117 GB, free: 41.57 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (splitterN.outlets[1].m_flow,splitterN.outlets[2].m_flow,splitterN.outlets[3].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 (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,77.8%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003794/1.776, allocations: 247.7 kB / 1.117 GB, free: 41.32 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0006508/1.776, allocations: 388 kB / 1.117 GB, free: 40.92 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/1.776, allocations: 0 / 1.117 GB, free: 40.92 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0004167/1.777, allocations: 308.1 kB / 1.118 GB, free: 40.6 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003272/1.777, allocations: 29.95 kB / 1.118 GB, free: 40.57 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001021/1.778, allocations: 0.7624 MB / 1.118 GB, free: 39.79 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002233/1.778, allocations: 0.7635 MB / 1.119 GB, free: 39 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 7.826e-05/1.778, allocations: 21.48 kB / 1.119 GB, free: 38.97 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.886e-05/1.778, allocations: 15.44 kB / 1.119 GB, free: 38.96 MB / 0.6042 GB Notification: Performance of SimCode: time 5.01e-07/1.778, allocations: 0 / 1.119 GB, free: 38.96 MB / 0.6042 GB Notification: Performance of Templates: time 0.008737/1.787, allocations: 5.1 MB / 1.124 GB, free: 33.88 MB / 0.6042 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","../files/ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches