Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_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.4.0-OM_adaptions/package.mo", uses=false) Using package ThermofluidStream with version 0.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/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_OM_adaptions_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_OM_adaptions_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.001102/0.001102, allocations: 172.5 kB / 7.646 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.556/1.556, allocations: 205.3 MB / 213.4 MB, free: 13.76 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.0008584/0.0008584, allocations: 93.19 kB / 261.4 MB, free: 13.45 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo): time 0.8296/0.8296, allocations: 90.37 MB / 399.7 MB, free: 12.1 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.871e-05/1.871e-05, allocations: 4 kB / 472.2 MB, free: 3.457 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4209/0.4209, allocations: 66.25 MB / 0.5258 GB, free: 29.04 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.2/1.621, allocations: 430.2 MB / 0.9459 GB, free: 225.5 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001805/1.622, allocations: 71.97 kB / 0.946 GB, free: 225.5 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.1156/1.737, allocations: 64.37 MB / 1.009 GB, free: 160.4 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.034e-06/1.737, allocations: 0 / 1.009 GB, free: 160.4 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.825e-05/1.737, allocations: 12 kB / 1.009 GB, free: 160.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.0007021/1.738, allocations: 0.5017 MB / 1.009 GB, free: 159.9 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.652e-05/1.738, allocations: 12.03 kB / 1.009 GB, free: 159.9 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.794e-05/1.738, allocations: 23.72 kB / 1.009 GB, free: 159.8 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002794/1.738, allocations: 235.6 kB / 1.01 GB, free: 159.6 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.783e-05/1.738, allocations: 8 kB / 1.01 GB, free: 159.6 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.275e-05/1.738, allocations: 19.86 kB / 1.01 GB, free: 159.5 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002047/1.739, allocations: 112.3 kB / 1.01 GB, free: 159.4 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000255/1.739, allocations: 162.5 kB / 1.01 GB, free: 159.3 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.333e-05/1.739, allocations: 7.984 kB / 1.01 GB, free: 159.2 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.96e-05/1.739, allocations: 7.938 kB / 1.01 GB, free: 159.2 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.009e-05/1.739, allocations: 7.984 kB / 1.01 GB, free: 159.2 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000901/1.74, allocations: 1.024 MB / 1.011 GB, free: 158.1 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000309/1.74, allocations: 174.5 kB / 1.011 GB, free: 157.9 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001041/1.74, allocations: 81.92 kB / 1.011 GB, free: 157.8 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001747/1.741, allocations: 255.3 kB / 1.011 GB, free: 157.5 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.744e-05/1.741, allocations: 42.56 kB / 1.011 GB, free: 157.5 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=17): time 1.463e-06/1.741, allocations: 4 kB / 1.011 GB, free: 157.5 MB / 0.5886 GB Notification: Performance of matching and sorting (n=18): time 0.001153/1.742, allocations: 0.6024 MB / 1.012 GB, free: 156.8 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.302e-05/1.742, allocations: 55.41 kB / 1.012 GB, free: 156.7 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.837e-05/1.742, allocations: 134.5 kB / 1.012 GB, free: 156.6 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.577e-05/1.742, allocations: 29.7 kB / 1.012 GB, free: 156.6 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.234e-05/1.742, allocations: 140.2 kB / 1.012 GB, free: 156.4 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 4.154e-05/1.742, allocations: 67 kB / 1.012 GB, free: 156.3 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.387e-06/1.742, allocations: 0 / 1.012 GB, free: 156.3 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.143e-05/1.742, allocations: 330.8 kB / 1.013 GB, free: 156 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.214e-05/1.742, allocations: 68.16 kB / 1.013 GB, free: 155.9 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.17e-05/1.742, allocations: 90.06 kB / 1.013 GB, free: 155.9 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001348/1.742, allocations: 87.88 kB / 1.013 GB, free: 155.8 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/1.742, allocations: 4 kB / 1.013 GB, free: 155.8 MB / 0.5886 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004214/1.743, allocations: 287.6 kB / 1.013 GB, free: 155.5 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/1.743, allocations: 4 kB / 1.013 GB, free: 155.5 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.807e-06/1.743, allocations: 0 / 1.013 GB, free: 155.5 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002876/1.743, allocations: 100.7 kB / 1.013 GB, free: 155.4 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.101e-05/1.743, allocations: 15.98 kB / 1.013 GB, free: 155.4 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001546/1.745, allocations: 1.834 MB / 1.015 GB, free: 153.4 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.604e-05/1.745, allocations: 16.03 kB / 1.015 GB, free: 153.4 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.551e-05/1.745, allocations: 4 kB / 1.015 GB, free: 153.4 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 () * 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 7.797e-05/1.745, allocations: 113.2 kB / 1.015 GB, free: 153.3 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.802e-05/1.745, allocations: 11.81 kB / 1.015 GB, free: 153.3 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004871/1.746, allocations: 294 kB / 1.016 GB, free: 153 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/1.746, allocations: 0 / 1.016 GB, free: 153 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/1.746, allocations: 4 kB / 1.016 GB, free: 153 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/1.746, allocations: 0 / 1.016 GB, free: 153 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000253/1.746, allocations: 270 kB / 1.016 GB, free: 152.7 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/1.746, allocations: 0 / 1.016 GB, free: 152.7 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.024e-05/1.746, allocations: 15.98 kB / 1.016 GB, free: 152.6 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002461/1.746, allocations: 100.9 kB / 1.016 GB, free: 152.5 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.256e-05/1.746, allocations: 11.98 kB / 1.016 GB, free: 152.5 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001358/1.748, allocations: 1.853 MB / 1.018 GB, free: 150.6 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/1.748, allocations: 0 / 1.018 GB, free: 150.6 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000521/1.748, allocations: 437.6 kB / 1.018 GB, free: 150.1 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 3.747e-05/1.748, allocations: 88.92 kB / 1.018 GB, free: 150 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.839e-05/1.748, allocations: 8.031 kB / 1.018 GB, free: 150 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000117/1.748, allocations: 7.984 kB / 1.018 GB, free: 150 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.998e-05/1.748, allocations: 19.98 kB / 1.018 GB, free: 150 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.235e-05/1.748, allocations: 7.984 kB / 1.018 GB, free: 150 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 6.364e-05/1.748, allocations: 112.9 kB / 1.018 GB, free: 149.9 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.71e-07/1.748, allocations: 3.938 kB / 1.018 GB, free: 149.9 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0004953/1.749, allocations: 76 kB / 1.019 GB, free: 149.8 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 () * 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.0003903/1.749, allocations: 275.5 kB / 1.019 GB, free: 149.5 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0005664/1.75, allocations: 363.1 kB / 1.019 GB, free: 149.1 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/1.75, allocations: 0 / 1.019 GB, free: 149.1 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0003693/1.75, allocations: 286.2 kB / 1.019 GB, free: 148.8 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003212/1.751, allocations: 32.44 kB / 1.019 GB, free: 148.8 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000692/1.751, allocations: 493.7 kB / 1.02 GB, free: 148.3 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001899/1.752, allocations: 0.7555 MB / 1.021 GB, free: 147.5 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 5.805e-05/1.752, allocations: 29.19 kB / 1.021 GB, free: 147.5 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.602e-05/1.752, allocations: 19.44 kB / 1.021 GB, free: 147.5 MB / 0.5886 GB Notification: Performance of SimCode: time 4.11e-07/1.752, allocations: 0 / 1.021 GB, free: 147.5 MB / 0.5886 GB Notification: Performance of Templates: time 0.006809/1.758, allocations: 4.089 MB / 1.025 GB, free: 143.4 MB / 0.5886 GB make -j1 -f ThermofluidStream_OM_adaptions_ThermofluidStream.Topology.Tests.TestSplitter.makefile (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.Topology.Tests.TestSplitter.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.Topology.Tests.TestSplitter.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.Topology.Tests.TestSplitter.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Topology.Tests.TestSplitter.sim & ./ThermofluidStream_OM_adaptions_ThermofluidStream.Topology.Tests.TestSplitter -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_OM_adaptions_ThermofluidStream.Topology.Tests.TestSplitter.pipe 2>&1) diffSimulationResults("ThermofluidStream_OM_adaptions_ThermofluidStream.Topology.Tests.TestSplitter_res.mat","/mnt/ReferenceFiles/ThermofluidStream-OM-regression/ReferenceData/ThermofluidStream.Topology.Tests.TestSplitter_ref.mat","../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Topology.Tests.TestSplitter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches