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.001752/0.001752, allocations: 175 kB / 12.73 MB, free: 2.59 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.647/1.647, allocations: 221.4 MB / 234.6 MB, free: 14.45 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000967/0.0009675, allocations: 99.83 kB / 285.6 MB, free: 12.98 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.01172/0.01172, allocations: 1.554 MB / 338 MB, free: 8.48 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo): time 0.6314/0.6314, allocations: 90.04 MB / 479.3 MB, free: 2.98 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 4.212e-05/4.246e-05, allocations: 4 kB / 0.5445 GB, free: 8 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1814/0.1815, allocations: 69.35 MB / 0.6122 GB, free: 2.559 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.285/1.467, allocations: 430.9 MB / 1.033 GB, free: 3.582 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004935/1.468, allocations: 85.19 kB / 1.033 GB, free: 3.535 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.5312/1.999, allocations: 66.03 MB / 1.098 GB, free: 205.8 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.385e-06/1.999, allocations: 0 / 1.098 GB, free: 205.8 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 2.107e-05/1.999, allocations: 3.938 kB / 1.098 GB, free: 205.8 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.0009855/2, allocations: 0.4951 MB / 1.098 GB, free: 205.4 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 6.661e-05/2, allocations: 19.62 kB / 1.098 GB, free: 205.3 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.368e-05/2, allocations: 29.33 kB / 1.098 GB, free: 205.3 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003133/2, allocations: 245.5 kB / 1.098 GB, free: 205.1 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.025e-05/2, allocations: 15.88 kB / 1.098 GB, free: 205.1 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.853e-05/2, allocations: 17.66 kB / 1.098 GB, free: 205.1 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003437/2.001, allocations: 194.8 kB / 1.099 GB, free: 204.9 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/2.001, allocations: 0 / 1.099 GB, free: 204.9 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.344e-05/2.001, allocations: 8 kB / 1.099 GB, free: 204.9 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.083e-05/2.001, allocations: 6.562 kB / 1.099 GB, free: 204.9 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001994/2.001, allocations: 119.4 kB / 1.099 GB, free: 204.9 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001075/2.002, allocations: 1.086 MB / 1.1 GB, free: 203.8 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003502/2.002, allocations: 185.2 kB / 1.1 GB, free: 203.7 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001257/2.003, allocations: 86.61 kB / 1.1 GB, free: 203.7 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002096/2.003, allocations: 254.1 kB / 1.1 GB, free: 203.4 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.084e-05/2.003, allocations: 34.56 kB / 1.1 GB, free: 203.3 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=17): time 1.623e-06/2.003, allocations: 0 / 1.1 GB, free: 203.3 MB / 0.6042 GB Notification: Performance of matching and sorting (n=18): time 0.001227/2.004, allocations: 0.6418 MB / 1.101 GB, free: 202.8 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.019e-05/2.004, allocations: 55.34 kB / 1.101 GB, free: 202.8 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001414/2.004, allocations: 157.3 kB / 1.101 GB, free: 202.7 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.116e-05/2.004, allocations: 29.7 kB / 1.101 GB, free: 202.6 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5e-05/2.004, allocations: 136.1 kB / 1.101 GB, free: 202.5 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.808e-05/2.004, allocations: 58.98 kB / 1.101 GB, free: 202.4 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.044e-05/2.004, allocations: 7.938 kB / 1.101 GB, free: 202.4 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.715e-05/2.005, allocations: 334.8 kB / 1.102 GB, free: 202.1 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001012/2.005, allocations: 69.67 kB / 1.102 GB, free: 202.1 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001157/2.005, allocations: 98.27 kB / 1.102 GB, free: 202 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001174/2.005, allocations: 82.02 kB / 1.102 GB, free: 202 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/2.005, allocations: 3.953 kB / 1.102 GB, free: 202 MB / 0.6042 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004725/2.005, allocations: 320 kB / 1.102 GB, free: 201.8 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.117e-05/2.005, allocations: 7.875 kB / 1.102 GB, free: 201.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/2.005, allocations: 0 / 1.102 GB, free: 201.8 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003234/2.006, allocations: 91.27 kB / 1.102 GB, free: 201.7 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.658e-05/2.006, allocations: 23.48 kB / 1.102 GB, free: 201.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001791/2.008, allocations: 1.924 MB / 1.104 GB, free: 200 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001044/2.008, allocations: 14.66 kB / 1.104 GB, free: 200 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.601e-05/2.008, allocations: 7.453 kB / 1.104 GB, free: 200 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 () * 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.0001009/2.008, allocations: 116.9 kB / 1.104 GB, free: 199.9 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.015e-05/2.008, allocations: 19.19 kB / 1.104 GB, free: 199.9 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005374/2.009, allocations: 289.8 kB / 1.105 GB, free: 199.7 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/2.009, allocations: 5.469 kB / 1.105 GB, free: 199.7 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/2.009, allocations: 3.969 kB / 1.105 GB, free: 199.7 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.501e-06/2.009, allocations: 0 / 1.105 GB, free: 199.7 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003148/2.009, allocations: 319.7 kB / 1.105 GB, free: 199.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/2.009, allocations: 3.969 kB / 1.105 GB, free: 199.4 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.019e-05/2.009, allocations: 8.938 kB / 1.105 GB, free: 199.4 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002562/2.009, allocations: 96.64 kB / 1.105 GB, free: 199.4 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.135e-05/2.009, allocations: 10.2 kB / 1.105 GB, free: 199.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001513/2.011, allocations: 1.929 MB / 1.107 GB, free: 197.6 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/2.011, allocations: 0 / 1.107 GB, free: 197.6 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000524/2.011, allocations: 450.2 kB / 1.107 GB, free: 197.3 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.12e-05/2.011, allocations: 96.52 kB / 1.107 GB, free: 197.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.851e-05/2.011, allocations: 11.62 kB / 1.107 GB, free: 197.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001178/2.012, allocations: 15.33 kB / 1.108 GB, free: 197.2 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.136e-05/2.012, allocations: 15.73 kB / 1.108 GB, free: 197.2 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.272e-05/2.012, allocations: 7.766 kB / 1.108 GB, free: 197.2 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 9.067e-05/2.012, allocations: 130.9 kB / 1.108 GB, free: 197.1 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.4e-07/2.012, allocations: 0 / 1.108 GB, free: 197.1 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004443/2.012, allocations: 93.23 kB / 1.108 GB, free: 197.1 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 () * 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.0004218/2.013, allocations: 248 kB / 1.108 GB, free: 196.9 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0006704/2.013, allocations: 390 kB / 1.108 GB, free: 196.7 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/2.013, allocations: 0 / 1.108 GB, free: 196.7 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0004059/2.014, allocations: 302.9 kB / 1.109 GB, free: 196.4 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003346/2.014, allocations: 37.92 kB / 1.109 GB, free: 196.4 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007298/2.015, allocations: 0.4913 MB / 1.109 GB, free: 196 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000204/2.015, allocations: 0.7637 MB / 1.11 GB, free: 195.3 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 6.242e-05/2.015, allocations: 25.22 kB / 1.11 GB, free: 195.3 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.76e-05/2.015, allocations: 15.78 kB / 1.11 GB, free: 195.3 MB / 0.6042 GB Notification: Performance of SimCode: time 4.81e-07/2.015, allocations: 0 / 1.11 GB, free: 195.3 MB / 0.6042 GB Notification: Performance of Templates: time 0.008678/2.024, allocations: 5.402 MB / 1.115 GB, free: 190.4 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