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/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.001999/0.001999, allocations: 114.3 kB / 18.94 MB, free: 2.934 MB / 14.72 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.002726/0.002726, allocations: 215.2 kB / 22.25 MB, free: 5.082 MB / 14.72 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 1.502/1.502, allocations: 230.6 MB / 256 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo): time 0.8285/0.8285, allocations: 94.56 MB / 407 MB, free: 9.223 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/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_ThermofluidStream_Topology_Tests_TestSplitter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Topology.Tests.TestSplitter,fileNamePrefix="ThermofluidStream_ThermofluidStream_Topology_Tests_TestSplitter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ThermofluidStream requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ThermofluidStream requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002601/0.002601, allocations: 90.08 kB / 0.5549 GB, free: 38.67 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.136/0.1386, allocations: 73.05 MB / 0.6263 GB, free: 0.5039 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestSplitter): time 0.6094/0.748, allocations: 142.2 MB / 0.7651 GB, free: 1.797 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003874/0.7519, allocations: 4.228 MB / 0.7692 GB, free: 1.699 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004614/0.7523, allocations: 24.17 kB / 0.7693 GB, free: 1.699 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0006878/0.753, allocations: 164.5 kB / 0.7694 GB, free: 1.691 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0005452/0.7536, allocations: 224.7 kB / 0.7696 GB, free: 1.684 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003872/0.754, allocations: 121.9 kB / 0.7697 GB, free: 1.68 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0004048/0.7544, allocations: 412.9 kB / 0.7701 GB, free: 1.68 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001863/0.7546, allocations: 65.3 kB / 0.7702 GB, free: 1.672 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003812/0.7549, allocations: 198.9 kB / 0.7704 GB, free: 1.672 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002415/0.7552, allocations: 172.6 kB / 0.7706 GB, free: 1.672 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.005e-05/0.7552, allocations: 25.25 kB / 0.7706 GB, free: 1.668 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004947/0.7557, allocations: 274.1 kB / 0.7708 GB, free: 1.66 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 6.385e-05/0.7558, allocations: 50.48 kB / 0.7709 GB, free: 1.66 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001501/0.7559, allocations: 142.7 kB / 0.771 GB, free: 1.66 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0006111/0.7565, allocations: 388.7 kB / 0.7714 GB, free: 1.633 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.7565, allocations: 0 / 0.7714 GB, free: 1.633 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.683e-06/0.7565, allocations: 1.031 kB / 0.7714 GB, free: 1.633 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.296e-05/0.7565, allocations: 0 / 0.7714 GB, free: 1.633 MB / 0.5762 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.001091/0.7576, allocations: 0.5399 MB / 0.7719 GB, free: 17.25 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.424e-05/0.7577, allocations: 9.781 kB / 0.7719 GB, free: 17.25 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.156e-05/0.7578, allocations: 53.47 kB / 0.772 GB, free: 17.21 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.16e-05/0.7578, allocations: 40.77 kB / 0.772 GB, free: 17.19 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005798/0.7584, allocations: 308.1 kB / 0.7723 GB, free: 17.01 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.096e-05/0.7584, allocations: 18.59 kB / 0.7723 GB, free: 17 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.51e-05/0.7585, allocations: 23.5 kB / 0.7724 GB, free: 17 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004114/0.7589, allocations: 236.9 kB / 0.7726 GB, free: 16.94 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.7589, allocations: 0 / 0.7726 GB, free: 16.94 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.07e-05/0.7589, allocations: 8.406 kB / 0.7726 GB, free: 16.94 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.978e-06/0.7589, allocations: 4.344 kB / 0.7726 GB, free: 16.94 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002543/0.7592, allocations: 129.9 kB / 0.7727 GB, free: 16.94 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001172/0.7604, allocations: 0.7276 MB / 0.7734 GB, free: 16.58 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003533/0.7607, allocations: 123.9 kB / 0.7736 GB, free: 16.56 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001297/0.7609, allocations: 61.59 kB / 0.7736 GB, free: 16.55 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001015/0.761, allocations: 14.53 kB / 0.7736 GB, free: 16.55 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.706e-05/0.761, allocations: 39 kB / 0.7737 GB, free: 16.51 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=15): time 1.583e-06/0.761, allocations: 0 / 0.7737 GB, free: 16.51 MB / 0.5919 GB Notification: Performance of matching and sorting (n=16): time 0.001687/0.7627, allocations: 0.6231 MB / 0.7743 GB, free: 16.26 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.495e-05/0.7627, allocations: 57.09 kB / 0.7743 GB, free: 16.19 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004569/0.7632, allocations: 337 kB / 0.7746 GB, free: 16.08 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.356e-05/0.7632, allocations: 29.73 kB / 0.7747 GB, free: 16.05 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001249/0.7633, allocations: 170.9 kB / 0.7748 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.937e-05/0.7634, allocations: 55.39 kB / 0.7749 GB, free: 15.92 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.444e-05/0.7634, allocations: 33.45 kB / 0.7749 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000172/0.7636, allocations: 344.7 kB / 0.7753 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.67e-05/0.7637, allocations: 47.44 kB / 0.7753 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.149e-05/0.7638, allocations: 75.73 kB / 0.7754 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001704/0.7639, allocations: 124.8 kB / 0.7755 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.7639, allocations: 0 / 0.7755 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004748/0.7644, allocations: 272 kB / 0.7757 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.065e-05/0.7644, allocations: 10.86 kB / 0.7758 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.7644, allocations: 1.125 kB / 0.7758 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000331/0.7648, allocations: 87.78 kB / 0.7758 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.172e-05/0.7649, allocations: 25.58 kB / 0.7759 GB, free: 15.47 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002029/0.7669, allocations: 1.843 MB / 0.7777 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001131/0.767, allocations: 8.781 kB / 0.7777 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.393e-05/0.767, allocations: 3.844 kB / 0.7777 GB, free: 14.23 MB / 0.5919 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.0001607/0.7672, allocations: 154.1 kB / 0.7778 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.99e-05/0.7672, allocations: 31.31 kB / 0.7779 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004919/0.7677, allocations: 280.6 kB / 0.7781 GB, free: 14 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.7677, allocations: 5.719 kB / 0.7781 GB, free: 14 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.7677, allocations: 5.094 kB / 0.7781 GB, free: 14 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.7677, allocations: 4.266 kB / 0.7781 GB, free: 14 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008145/0.7686, allocations: 0.5902 MB / 0.7787 GB, free: 13.69 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.576e-06/0.7686, allocations: 1.062 kB / 0.7787 GB, free: 13.69 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.525e-05/0.7686, allocations: 10.14 kB / 0.7787 GB, free: 13.69 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003099/0.7689, allocations: 102.3 kB / 0.7788 GB, free: 13.67 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.844e-05/0.7689, allocations: 2.719 kB / 0.7788 GB, free: 13.67 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002159/0.7711, allocations: 1.854 MB / 0.7806 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.13e-06/0.7711, allocations: 8.375 kB / 0.7806 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005679/0.7717, allocations: 407 kB / 0.781 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 5.083e-05/0.7717, allocations: 35.7 kB / 0.7811 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.986e-05/0.7718, allocations: 9.281 kB / 0.7811 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001282/0.7719, allocations: 2 kB / 0.7811 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.024e-05/0.7719, allocations: 18.31 kB / 0.7811 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.187e-06/0.7719, allocations: 5.781 kB / 0.7811 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002919/0.7722, allocations: 254.5 kB / 0.7813 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.7722, allocations: 0 / 0.7813 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.000417/0.7726, allocations: 77.7 kB / 0.7814 GB, free: 12.12 MB / 0.5919 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.001145/0.7738, allocations: 0.9986 MB / 0.7824 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0006462/0.7744, allocations: 296 kB / 0.7827 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.898e-06/0.7744, allocations: 6.5 kB / 0.7827 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0004189/0.7749, allocations: 230.9 kB / 0.7829 GB, free: 11.13 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000647/0.7755, allocations: 96.78 kB / 0.783 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00414/0.7796, allocations: 3.135 MB / 0.7861 GB, free: 9.5 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004544/0.7801, allocations: 0.7798 MB / 0.7868 GB, free: 8.801 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001185/0.7802, allocations: 30.67 kB / 0.7868 GB, free: 8.793 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001168/0.7803, allocations: 96.47 kB / 0.7869 GB, free: 8.785 MB / 0.5919 GB Notification: Performance of SimCode: time 4.61e-07/0.7803, allocations: 0 / 0.7869 GB, free: 8.785 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04319/0.8235, allocations: 9.174 MB / 0.7959 GB, free: 7.77 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.28/13.1, allocations: 10.81 kB / 0.7959 GB, free: 7.762 MB / 0.5919 GB " [Timeout remaining time 647] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_Topology_Tests_TestSplitter_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_Topology_Tests_TestSplitter.fmu > ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter.pipe 2>&1) [Timeout 1260.0] diffSimulationResults("ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Topology.Tests.TestSplitter_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.881413364084437]