Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestSplitter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.000959/0.000959, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001388/0.001388, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8978/0.8978, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo): time 0.6655/0.6655, allocations: 116 MB / 375.2 MB, free: 4.184 MB / 346.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.3.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ThermofluidStream.Topology.Tests.TestSplitter,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Topology_Tests_TestSplitter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Topology.Tests.TestSplitter,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Topology_Tests_TestSplitter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 0 / 0.5532 GB, free: 13.36 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.121e-05/2.302e-05, allocations: 8.953 kB / 0.5532 GB, free: 13.35 MB / 490.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestSplitter): time 0.4467/0.4468, allocations: 124.5 MB / 0.6748 GB, free: 7.043 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.001595/0.4484, allocations: 1.425 MB / 0.6762 GB, free: 6.922 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002295/0.4486, allocations: 30.34 kB / 0.6762 GB, free: 6.902 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0005189/0.4491, allocations: 144.3 kB / 0.6763 GB, free: 6.859 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0004926/0.4496, allocations: 233.1 kB / 0.6766 GB, free: 6.832 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003468/0.4499, allocations: 141 kB / 0.6767 GB, free: 6.816 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0005652/0.4505, allocations: 465.8 kB / 0.6771 GB, free: 6.816 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001778/0.4507, allocations: 56.22 kB / 0.6772 GB, free: 6.805 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004925/0.4512, allocations: 279.9 kB / 0.6775 GB, free: 6.797 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002485/0.4514, allocations: 150.5 kB / 0.6776 GB, free: 6.797 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 4.002e-05/0.4515, allocations: 18.47 kB / 0.6776 GB, free: 6.797 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004675/0.4519, allocations: 235.3 kB / 0.6778 GB, free: 6.785 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 6.337e-05/0.452, allocations: 51.58 kB / 0.6779 GB, free: 6.785 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0001291/0.4521, allocations: 95.28 kB / 0.678 GB, free: 6.785 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.000593/0.4527, allocations: 401.8 kB / 0.6784 GB, free: 6.754 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.4527, allocations: 0 / 0.6784 GB, free: 6.754 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.134e-06/0.4527, allocations: 1.438 kB / 0.6784 GB, free: 6.754 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 7.004e-06/0.4527, allocations: 0 / 0.6784 GB, free: 6.754 MB / 0.5573 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.0007302/0.4535, allocations: 0.5555 MB / 0.6789 GB, free: 6.359 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/0.4535, allocations: 11.22 kB / 0.6789 GB, free: 6.359 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.14e-05/0.4536, allocations: 51.77 kB / 0.679 GB, free: 6.32 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.51e-05/0.4536, allocations: 46.12 kB / 0.679 GB, free: 6.297 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003577/0.454, allocations: 319.6 kB / 0.6793 GB, free: 6.113 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.549e-05/0.454, allocations: 14.62 kB / 0.6793 GB, free: 6.113 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.571e-05/0.454, allocations: 22.98 kB / 0.6794 GB, free: 6.109 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000279/0.4543, allocations: 231.3 kB / 0.6796 GB, free: 6.055 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.278e-06/0.4543, allocations: 1.578 kB / 0.6796 GB, free: 6.055 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.529e-05/0.4543, allocations: 9.281 kB / 0.6796 GB, free: 6.051 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.313e-06/0.4543, allocations: 4.719 kB / 0.6796 GB, free: 6.051 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00016/0.4545, allocations: 126.4 kB / 0.6797 GB, free: 6.051 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007241/0.4552, allocations: 0.7035 MB / 0.6804 GB, free: 5.676 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002439/0.4555, allocations: 135.1 kB / 0.6805 GB, free: 5.641 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.513e-05/0.4555, allocations: 61.64 kB / 0.6806 GB, free: 5.633 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 9.02e-05/0.4556, allocations: 17.59 kB / 0.6806 GB, free: 5.629 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.577e-05/0.4556, allocations: 36.38 kB / 0.6806 GB, free: 5.59 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=15): time 1.573e-06/0.4556, allocations: 1.203 kB / 0.6806 GB, free: 5.59 MB / 0.5573 GB Notification: Performance of matching and sorting (n=16): time 0.001015/0.4567, allocations: 0.607 MB / 0.6812 GB, free: 5.348 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.428e-05/0.4567, allocations: 61.44 kB / 0.6813 GB, free: 5.277 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002519/0.4569, allocations: 355.8 kB / 0.6816 GB, free: 5.164 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 9.738e-06/0.4569, allocations: 29.27 kB / 0.6817 GB, free: 5.133 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 7.645e-05/0.457, allocations: 175 kB / 0.6818 GB, free: 5.043 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 3.415e-05/0.457, allocations: 60.92 kB / 0.6819 GB, free: 5.004 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.381e-05/0.4571, allocations: 33.06 kB / 0.6819 GB, free: 4.988 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 5.227e-05/0.4571, allocations: 346.8 kB / 0.6823 GB, free: 4.676 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.269e-05/0.4572, allocations: 48.02 kB / 0.6823 GB, free: 4.676 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.743e-05/0.4573, allocations: 64.95 kB / 0.6824 GB, free: 4.66 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001334/0.4574, allocations: 129.7 kB / 0.6825 GB, free: 4.641 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.4574, allocations: 1.375 kB / 0.6825 GB, free: 4.641 MB / 0.5573 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002839/0.4577, allocations: 267.6 kB / 0.6827 GB, free: 4.562 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.4577, allocations: 5.5 kB / 0.6827 GB, free: 4.562 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.4577, allocations: 1.375 kB / 0.6827 GB, free: 4.562 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002524/0.458, allocations: 99.7 kB / 0.6828 GB, free: 4.543 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.309e-05/0.458, allocations: 22.56 kB / 0.6829 GB, free: 4.543 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001215/0.4592, allocations: 1.823 MB / 0.6846 GB, free: 3.297 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.891e-05/0.4593, allocations: 5.5 kB / 0.6846 GB, free: 3.297 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.171e-05/0.4593, allocations: 3.375 kB / 0.6846 GB, free: 3.297 MB / 0.5573 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 (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,6,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001066/0.4594, allocations: 151.3 kB / 0.6848 GB, free: 3.18 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.784e-05/0.4595, allocations: 37.08 kB / 0.6848 GB, free: 3.16 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000351/0.4598, allocations: 286.5 kB / 0.6851 GB, free: 3.059 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.4598, allocations: 2.438 kB / 0.6851 GB, free: 3.059 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.4598, allocations: 1.25 kB / 0.6851 GB, free: 3.059 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.4598, allocations: 2.672 kB / 0.6851 GB, free: 3.059 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005125/0.4603, allocations: 0.5618 MB / 0.6857 GB, free: 2.746 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.317e-06/0.4603, allocations: 6.484 kB / 0.6857 GB, free: 2.742 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.616e-05/0.4604, allocations: 9.5 kB / 0.6857 GB, free: 2.742 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001894/0.4606, allocations: 107.4 kB / 0.6858 GB, free: 2.719 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.407e-05/0.4606, allocations: 7.734 kB / 0.6858 GB, free: 2.719 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001187/0.4618, allocations: 1.827 MB / 0.6876 GB, free: 1.461 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.4618, allocations: 1.188 kB / 0.6876 GB, free: 1.461 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003828/0.4621, allocations: 414.2 kB / 0.688 GB, free: 1.258 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 6.529e-05/0.4622, allocations: 43.88 kB / 0.688 GB, free: 1.238 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.377e-05/0.4622, allocations: 7.703 kB / 0.688 GB, free: 1.238 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.001e-05/0.4623, allocations: 1.312 kB / 0.688 GB, free: 1.238 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.942e-05/0.4623, allocations: 19.89 kB / 0.688 GB, free: 1.234 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.136e-05/0.4623, allocations: 7.141 kB / 0.688 GB, free: 1.234 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0002038/0.4625, allocations: 263.6 kB / 0.6883 GB, free: 1.152 MB / 0.5573 GB Notification: Performance of sort global known variables: time 6e-08/0.4625, allocations: 5.203 kB / 0.6883 GB, free: 1.148 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0003404/0.4629, allocations: 75.59 kB / 0.6884 GB, free: 1.148 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (sink.inlet.m_flow,sink1.inlet.m_flow,sink2.inlet.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 (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,6,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007051/0.4636, allocations: 0.9964 MB / 0.6893 GB, free: 16.4 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0004399/0.464, allocations: 305.5 kB / 0.6896 GB, free: 16.26 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.464, allocations: 0 / 0.6896 GB, free: 16.26 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0002446/0.4643, allocations: 231.9 kB / 0.6899 GB, free: 16.14 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005165/0.4648, allocations: 142.1 kB / 0.69 GB, free: 16.12 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002954/0.4677, allocations: 3.105 MB / 0.693 GB, free: 14.52 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001972/0.4679, allocations: 179.2 kB / 0.6932 GB, free: 14.43 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0001623/0.4681, allocations: 44.92 kB / 0.6932 GB, free: 14.42 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001124/0.4682, allocations: 105.9 kB / 0.6933 GB, free: 14.41 MB / 0.573 GB Notification: Performance of SimCode: time 2.575e-06/0.4682, allocations: 0 / 0.6933 GB, free: 14.41 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02784/0.4961, allocations: 10.93 MB / 0.704 GB, free: 10.74 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.642/8.138, allocations: 9.438 kB / 0.704 GB, free: 10.74 MB / 0.573 GB " [Timeout remaining time 652] (rm -f ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestSplitter.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestSplitter.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestSplitter.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestSplitter.sim & python3 -m fmpy simulate --output-file ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestSplitter_res.csv --start-time 0 --stop-time 1 --timeout 1200 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 ThermofluidStream_dev_ThermofluidStream_Topology_Tests_TestSplitter.fmu > ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestSplitter.pipe 2>&1) [Timeout 1260.0] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestSplitter_res.csv","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Topology.Tests.TestSplitter_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestSplitter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable Time in file ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestSplitter_res.csv. Warning: Get data of variable Time from file ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestSplitter_res.csv failed! Error: Could not read variable splitterN.inlet.m_flow in file ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestSplitter_res.csv. Warning: Get data of variable splitterN.inlet.m_flow from file ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestSplitter_res.csv failed! Error: Could not read variable splitterN.outlets[2].m_flow in file ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestSplitter_res.csv. Warning: Get data of variable splitterN.outlets[2].m_flow from file ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestSplitter_res.csv failed! Error: Could not read variable splitterN.outlets[3].m_flow in file ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestSplitter_res.csv. Warning: Get data of variable splitterN.outlets[3].m_flow from file ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestSplitter_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.801270985044539]