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.001141/0.00114, allocations: 180.9 kB / 7.651 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.475/1.475, allocations: 221.5 MB / 229.6 MB, free: 7.594 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.001041/0.001041, allocations: 89.86 kB / 280.5 MB, free: 5.336 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.01314/0.01314, allocations: 1.573 MB / 332.8 MB, free: 13.55 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo): time 0.8408/0.8408, allocations: 90.03 MB / 474 MB, free: 13.04 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.186e-05/2.187e-05, allocations: 2.906 kB / 0.5375 GB, free: 33.2 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1621/0.1622, allocations: 69.38 MB / 0.6052 GB, free: 128 kB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.284/1.446, allocations: 430.3 MB / 1.025 GB, free: 127.2 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002439/1.447, allocations: 77.5 kB / 1.025 GB, free: 127.2 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.1257/1.572, allocations: 65.71 MB / 1.09 GB, free: 73.33 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.455e-06/1.572, allocations: 0 / 1.09 GB, free: 73.33 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.111e-05/1.573, allocations: 7.984 kB / 1.09 GB, free: 73.32 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.0009941/1.574, allocations: 0.498 MB / 1.09 GB, free: 72.78 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 6.143e-05/1.574, allocations: 12.02 kB / 1.09 GB, free: 72.77 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001083/1.574, allocations: 23.72 kB / 1.09 GB, free: 72.74 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003942/1.574, allocations: 243.3 kB / 1.09 GB, free: 72.46 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.172e-05/1.574, allocations: 8 kB / 1.09 GB, free: 72.45 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.278e-05/1.574, allocations: 8 kB / 1.09 GB, free: 72.45 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002686/1.574, allocations: 124.3 kB / 1.091 GB, free: 72.32 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003278/1.575, allocations: 166.5 kB / 1.091 GB, free: 72.15 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.295e-05/1.575, allocations: 4 kB / 1.091 GB, free: 72.15 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.1e-05/1.575, allocations: 0 / 1.091 GB, free: 72.15 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.18e-05/1.575, allocations: 4 kB / 1.091 GB, free: 72.14 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0012/1.576, allocations: 1.031 MB / 1.092 GB, free: 70.98 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003463/1.576, allocations: 178.5 kB / 1.092 GB, free: 70.79 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001091/1.577, allocations: 84.83 kB / 1.092 GB, free: 70.71 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002084/1.577, allocations: 243.5 kB / 1.092 GB, free: 70.41 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.125e-05/1.577, allocations: 38.5 kB / 1.092 GB, free: 70.37 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=17): time 2.625e-06/1.577, allocations: 8 kB / 1.092 GB, free: 70.36 MB / 0.6042 GB Notification: Performance of matching and sorting (n=18): time 0.001368/1.578, allocations: 0.5898 MB / 1.093 GB, free: 69.71 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.379e-05/1.578, allocations: 55.41 kB / 1.093 GB, free: 69.65 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001256/1.578, allocations: 143.2 kB / 1.093 GB, free: 69.5 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.799e-05/1.578, allocations: 29.7 kB / 1.093 GB, free: 69.46 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.679e-05/1.578, allocations: 136.2 kB / 1.093 GB, free: 69.33 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.63e-05/1.579, allocations: 67.03 kB / 1.093 GB, free: 69.26 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.446e-06/1.579, allocations: 0 / 1.093 GB, free: 69.26 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.718e-05/1.579, allocations: 326.8 kB / 1.094 GB, free: 68.93 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.785e-05/1.579, allocations: 72.16 kB / 1.094 GB, free: 68.86 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.414e-05/1.579, allocations: 82.06 kB / 1.094 GB, free: 68.78 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000147/1.579, allocations: 93.66 kB / 1.094 GB, free: 68.69 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/1.579, allocations: 7.891 kB / 1.094 GB, free: 68.68 MB / 0.6042 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004385/1.579, allocations: 294 kB / 1.094 GB, free: 68.38 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/1.579, allocations: 5.562 kB / 1.094 GB, free: 68.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/1.579, allocations: 0 / 1.094 GB, free: 68.38 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002931/1.58, allocations: 88.8 kB / 1.094 GB, free: 68.29 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.483e-05/1.58, allocations: 23.98 kB / 1.094 GB, free: 68.27 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001547/1.581, allocations: 1.838 MB / 1.096 GB, free: 66.31 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001041/1.582, allocations: 12.03 kB / 1.096 GB, free: 66.3 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.479e-05/1.582, allocations: 4 kB / 1.096 GB, free: 66.3 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 7.333e-05/1.582, allocations: 108.9 kB / 1.096 GB, free: 66.18 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.319e-05/1.582, allocations: 15.81 kB / 1.096 GB, free: 66.17 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004912/1.582, allocations: 288.3 kB / 1.096 GB, free: 65.88 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/1.582, allocations: 144 / 1.096 GB, free: 65.88 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/1.582, allocations: 4 kB / 1.096 GB, free: 65.88 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/1.582, allocations: 3.984 kB / 1.096 GB, free: 65.87 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002568/1.582, allocations: 262.1 kB / 1.097 GB, free: 65.58 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/1.582, allocations: 3.953 kB / 1.097 GB, free: 65.57 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.166e-05/1.583, allocations: 19.98 kB / 1.097 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002459/1.583, allocations: 100.6 kB / 1.097 GB, free: 65.45 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.295e-05/1.583, allocations: 11.98 kB / 1.097 GB, free: 65.44 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001385/1.584, allocations: 1.842 MB / 1.099 GB, free: 63.49 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/1.584, allocations: 0 / 1.099 GB, free: 63.49 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005305/1.585, allocations: 441.7 kB / 1.099 GB, free: 63.04 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.973e-05/1.585, allocations: 84.92 kB / 1.099 GB, free: 62.94 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.88e-05/1.585, allocations: 12.03 kB / 1.099 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001169/1.585, allocations: 11.98 kB / 1.099 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.27e-05/1.585, allocations: 15.98 kB / 1.099 GB, free: 62.9 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.35e-05/1.585, allocations: 11.98 kB / 1.099 GB, free: 62.89 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 5.772e-05/1.585, allocations: 108 kB / 1.099 GB, free: 62.78 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.4e-07/1.585, allocations: 0 / 1.099 GB, free: 62.78 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003859/1.586, allocations: 80 kB / 1.099 GB, free: 62.7 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.0003733/1.586, allocations: 275.2 kB / 1.1 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0005855/1.587, allocations: 367.8 kB / 1.1 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/1.587, allocations: 0 / 1.1 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0004188/1.587, allocations: 275.1 kB / 1.1 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003201/1.587, allocations: 40.86 kB / 1.1 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007503/1.588, allocations: 493.6 kB / 1.101 GB, free: 61.22 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002343/1.588, allocations: 0.7594 MB / 1.101 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 6.92e-05/1.588, allocations: 25.27 kB / 1.101 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.664e-05/1.588, allocations: 11.44 kB / 1.101 GB, free: 60.4 MB / 0.6042 GB Notification: Performance of SimCode: time 2.51e-07/1.588, allocations: 0 / 1.101 GB, free: 60.4 MB / 0.6042 GB Notification: Performance of Templates: time 0.007198/1.596, allocations: 4.096 MB / 1.105 GB, free: 56.33 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