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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.3.1-main/package.mo", uses=false) Using package ThermofluidStream with version 0.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.3.1-main/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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 3.2.3+maint.om/package.mo): time 0.001349/0.001349, allocations: 175.4 kB / 16.12 MB, free: 5.699 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.809/1.809, allocations: 205.4 MB / 222.3 MB, free: 9.023 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008374/0.0008372, allocations: 88.92 kB / 270.6 MB, free: 8.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.3.1-main/package.mo): time 0.9237/0.9237, allocations: 89.58 MB / 408.5 MB, free: 4.5 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004354/0.0004358, allocations: 15.94 kB / 485.2 MB, free: 7.66 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4011/0.4015, allocations: 66.01 MB / 0.5383 GB, free: 34.55 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.172/1.574, allocations: 430.8 MB / 0.959 GB, free: 196.5 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002386/1.574, allocations: 85.06 kB / 0.9591 GB, free: 196.4 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.1209/1.695, allocations: 64.32 MB / 1.022 GB, free: 131.4 MB / 0.5886 GB Notification: Performance of FrontEnd: time 3.507e-06/1.695, allocations: 0 / 1.022 GB, free: 131.4 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 2.504e-05/1.695, allocations: 11.94 kB / 1.022 GB, free: 131.4 MB / 0.5886 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.000927/1.696, allocations: 0.522 MB / 1.022 GB, free: 130.9 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.339e-05/1.696, allocations: 8.031 kB / 1.022 GB, free: 130.9 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.623e-05/1.696, allocations: 24.66 kB / 1.022 GB, free: 130.8 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002941/1.696, allocations: 248.8 kB / 1.023 GB, free: 130.5 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.281e-05/1.696, allocations: 12.33 kB / 1.023 GB, free: 130.5 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.81e-05/1.696, allocations: 28.36 kB / 1.023 GB, free: 130.5 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003306/1.697, allocations: 199 kB / 1.023 GB, free: 130.3 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/1.697, allocations: 3.938 kB / 1.023 GB, free: 130.3 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.112e-05/1.697, allocations: 4 kB / 1.023 GB, free: 130.3 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.957e-06/1.697, allocations: 7.938 kB / 1.023 GB, free: 130.3 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002009/1.697, allocations: 128.3 kB / 1.023 GB, free: 130.2 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00103/1.698, allocations: 1.066 MB / 1.024 GB, free: 128.9 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003497/1.698, allocations: 194.5 kB / 1.024 GB, free: 128.8 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000121/1.698, allocations: 92.7 kB / 1.024 GB, free: 128.7 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001733/1.699, allocations: 255.3 kB / 1.025 GB, free: 128.4 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.8e-05/1.699, allocations: 34.56 kB / 1.025 GB, free: 128.3 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=17): time 2.175e-06/1.699, allocations: 0 / 1.025 GB, free: 128.3 MB / 0.5886 GB Notification: Performance of matching and sorting (n=18): time 0.001501/1.7, allocations: 0.9691 MB / 1.026 GB, free: 127.2 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.698e-05/1.7, allocations: 51.41 kB / 1.026 GB, free: 127.2 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001387/1.7, allocations: 171.2 kB / 1.026 GB, free: 127 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.636e-05/1.7, allocations: 29.7 kB / 1.026 GB, free: 127 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.064e-05/1.7, allocations: 144.3 kB / 1.026 GB, free: 126.8 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 4.783e-05/1.701, allocations: 63.09 kB / 1.026 GB, free: 126.7 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.098e-06/1.701, allocations: 4 kB / 1.026 GB, free: 126.7 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.747e-05/1.701, allocations: 326.8 kB / 1.026 GB, free: 126.4 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001082/1.701, allocations: 79.89 kB / 1.026 GB, free: 126.3 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001151/1.701, allocations: 90.36 kB / 1.026 GB, free: 126.2 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002062/1.701, allocations: 173.7 kB / 1.027 GB, free: 126.1 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/1.701, allocations: 4 kB / 1.027 GB, free: 126.1 MB / 0.5886 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004435/1.702, allocations: 315.8 kB / 1.027 GB, free: 125.7 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/1.702, allocations: 4 kB / 1.027 GB, free: 125.7 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/1.702, allocations: 4 kB / 1.027 GB, free: 125.7 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003091/1.702, allocations: 100.7 kB / 1.027 GB, free: 125.6 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.367e-05/1.702, allocations: 19.98 kB / 1.027 GB, free: 125.6 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001763/1.704, allocations: 1.925 MB / 1.029 GB, free: 123.6 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001072/1.704, allocations: 16.03 kB / 1.029 GB, free: 123.5 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.613e-05/1.704, allocations: 7.938 kB / 1.029 GB, free: 123.5 MB / 0.5886 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.0001231/1.704, allocations: 145.5 kB / 1.029 GB, free: 123.4 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.715e-05/1.704, allocations: 15.81 kB / 1.029 GB, free: 123.4 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004734/1.705, allocations: 296 kB / 1.029 GB, free: 123.1 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5e-06/1.705, allocations: 4 kB / 1.029 GB, free: 123.1 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/1.705, allocations: 0 / 1.029 GB, free: 123.1 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/1.705, allocations: 7.875 kB / 1.029 GB, free: 123.1 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002947/1.705, allocations: 317.6 kB / 1.03 GB, free: 122.7 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/1.705, allocations: 0 / 1.03 GB, free: 122.7 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.792e-05/1.705, allocations: 12 kB / 1.03 GB, free: 122.7 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002455/1.705, allocations: 112.8 kB / 1.03 GB, free: 122.6 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.1e-05/1.705, allocations: 11.98 kB / 1.03 GB, free: 122.6 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00152/1.707, allocations: 1.913 MB / 1.032 GB, free: 120.5 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/1.707, allocations: 0 / 1.032 GB, free: 120.5 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000555/1.707, allocations: 461.8 kB / 1.032 GB, free: 120 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 4.4e-05/1.707, allocations: 92.86 kB / 1.032 GB, free: 119.9 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.911e-05/1.707, allocations: 12 kB / 1.032 GB, free: 119.9 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001199/1.708, allocations: 15.92 kB / 1.032 GB, free: 119.9 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.657e-05/1.708, allocations: 23.97 kB / 1.032 GB, free: 119.9 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.238e-05/1.708, allocations: 4 kB / 1.032 GB, free: 119.9 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 9.019e-05/1.708, allocations: 137.1 kB / 1.032 GB, free: 119.8 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.2e-07/1.708, allocations: 0 / 1.032 GB, free: 119.8 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0004217/1.708, allocations: 88 kB / 1.033 GB, free: 119.7 MB / 0.5886 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.0003892/1.709, allocations: 263.1 kB / 1.033 GB, free: 119.4 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0006374/1.709, allocations: 388 kB / 1.033 GB, free: 119 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/1.709, allocations: 0 / 1.033 GB, free: 119 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0003976/1.71, allocations: 303.1 kB / 1.033 GB, free: 118.7 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004075/1.71, allocations: 39.92 kB / 1.033 GB, free: 118.7 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001027/1.711, allocations: 0.7586 MB / 1.034 GB, free: 117.9 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000217/1.711, allocations: 0.7519 MB / 1.035 GB, free: 117.1 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 8.374e-05/1.711, allocations: 25.47 kB / 1.035 GB, free: 117.1 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.903e-05/1.711, allocations: 19.44 kB / 1.035 GB, free: 117 MB / 0.5886 GB Notification: Performance of SimCode: time 2.4e-07/1.711, allocations: 0 / 1.035 GB, free: 117 MB / 0.5886 GB Notification: Performance of Templates: time 0.008996/1.72, allocations: 5.133 MB / 1.04 GB, free: 111.9 MB / 0.5886 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