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.001428/0.001428, allocations: 119.6 kB / 17.16 MB, free: 5.914 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.001518/0.001518, allocations: 211 kB / 20.13 MB, free: 2.969 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.494/1.494, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.6697/0.6697, allocations: 94.57 MB / 404.1 MB, free: 10.94 MB / 334.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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Topology.Tests.TestSplitter,fileNamePrefix="ThermofluidStream_ThermofluidStream_Topology_Tests_TestSplitter",fmuType="cs",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.002423/0.002423, allocations: 79.88 kB / 0.5506 GB, free: 5.41 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3862/0.3886, allocations: 73.03 MB / 0.6219 GB, free: 8.492 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestSplitter): time 0.1789/0.5675, allocations: 142 MB / 0.7606 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.004885/0.5724, allocations: 4.18 MB / 0.7647 GB, free: 9.414 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003887/0.5728, allocations: 27.75 kB / 0.7647 GB, free: 9.387 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0006555/0.5734, allocations: 163 kB / 0.7649 GB, free: 9.227 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.000559/0.574, allocations: 218.7 kB / 0.7651 GB, free: 9.012 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.000369/0.5744, allocations: 127.6 kB / 0.7652 GB, free: 8.887 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0004837/0.5748, allocations: 398.2 kB / 0.7656 GB, free: 8.496 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002071/0.5751, allocations: 78.25 kB / 0.7657 GB, free: 8.422 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003958/0.5754, allocations: 207.1 kB / 0.7659 GB, free: 8.219 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000257/0.5757, allocations: 167.3 kB / 0.766 GB, free: 8.055 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 3.084e-05/0.5757, allocations: 16 kB / 0.766 GB, free: 8.039 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005121/0.5762, allocations: 279.4 kB / 0.7663 GB, free: 7.766 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 7.807e-05/0.5763, allocations: 55.77 kB / 0.7663 GB, free: 7.711 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.00014/0.5765, allocations: 139.2 kB / 0.7665 GB, free: 7.574 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0005784/0.577, allocations: 390.4 kB / 0.7669 GB, free: 7.191 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.577, allocations: 0 / 0.7669 GB, free: 7.191 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.533e-06/0.577, allocations: 0 / 0.7669 GB, free: 7.191 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 7.274e-06/0.5771, allocations: 0 / 0.7669 GB, free: 7.191 MB / 0.5919 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.0009901/0.578, allocations: 0.6229 MB / 0.7675 GB, free: 6.516 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/0.5781, allocations: 8.031 kB / 0.7675 GB, free: 6.508 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.547e-05/0.5781, allocations: 4.562 kB / 0.7675 GB, free: 6.504 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.318e-05/0.5782, allocations: 54.73 kB / 0.7675 GB, free: 6.441 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.263e-05/0.5782, allocations: 40.7 kB / 0.7676 GB, free: 6.402 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000563/0.5788, allocations: 383.4 kB / 0.7679 GB, free: 5.988 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.75e-05/0.5788, allocations: 16.75 kB / 0.7679 GB, free: 5.973 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.248e-05/0.5789, allocations: 24.12 kB / 0.768 GB, free: 5.949 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003919/0.5793, allocations: 221.9 kB / 0.7682 GB, free: 5.723 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.779e-06/0.5793, allocations: 0 / 0.7682 GB, free: 5.723 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.958e-05/0.5793, allocations: 4 kB / 0.7682 GB, free: 5.719 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.896e-06/0.5793, allocations: 4 kB / 0.7682 GB, free: 5.715 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002329/0.5795, allocations: 135.8 kB / 0.7683 GB, free: 5.582 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001128/0.5807, allocations: 0.7617 MB / 0.7691 GB, free: 4.766 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003285/0.581, allocations: 118.5 kB / 0.7692 GB, free: 4.641 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001191/0.5811, allocations: 64.72 kB / 0.7692 GB, free: 4.574 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002192/0.5813, allocations: 247.6 kB / 0.7695 GB, free: 4.277 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.338e-05/0.5813, allocations: 34.56 kB / 0.7695 GB, free: 4.234 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=15): time 1.382e-06/0.5813, allocations: 0 / 0.7695 GB, free: 4.234 MB / 0.5919 GB Notification: Performance of matching and sorting (n=16): time 0.0017/0.583, allocations: 0.9291 MB / 0.7704 GB, free: 3.195 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.579e-05/0.5831, allocations: 55.39 kB / 0.7705 GB, free: 3.129 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003664/0.5835, allocations: 341.7 kB / 0.7708 GB, free: 2.785 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.119e-05/0.5835, allocations: 25.7 kB / 0.7708 GB, free: 2.754 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001335/0.5836, allocations: 172.4 kB / 0.771 GB, free: 2.578 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 5.71e-05/0.5837, allocations: 59.47 kB / 0.771 GB, free: 2.52 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.552e-05/0.5837, allocations: 41.64 kB / 0.7711 GB, free: 2.473 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001623/0.5839, allocations: 346.8 kB / 0.7714 GB, free: 2.125 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.911e-05/0.584, allocations: 43.98 kB / 0.7714 GB, free: 2.082 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001147/0.5841, allocations: 69.62 kB / 0.7715 GB, free: 2.008 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001908/0.5843, allocations: 123.7 kB / 0.7716 GB, free: 1.883 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.5843, allocations: 0 / 0.7716 GB, free: 1.883 MB / 0.5919 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004623/0.5848, allocations: 269.9 kB / 0.7719 GB, free: 1.609 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.41e-05/0.5848, allocations: 15.98 kB / 0.7719 GB, free: 1.594 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.5848, allocations: 0 / 0.7719 GB, free: 1.594 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003504/0.5851, allocations: 84.8 kB / 0.772 GB, free: 1.508 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.239e-05/0.5852, allocations: 23.92 kB / 0.772 GB, free: 1.484 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002262/0.5875, allocations: 1.954 MB / 0.7739 GB, free: 15.39 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.701e-05/0.5876, allocations: 0 / 0.7739 GB, free: 15.39 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.86e-05/0.5876, allocations: 8 kB / 0.7739 GB, free: 15.38 MB / 0.6075 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.0001674/0.5878, allocations: 145.8 kB / 0.7741 GB, free: 15.23 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.241e-05/0.5878, allocations: 35.8 kB / 0.7741 GB, free: 15.2 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005451/0.5884, allocations: 276.2 kB / 0.7744 GB, free: 14.9 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.5884, allocations: 3.938 kB / 0.7744 GB, free: 14.9 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/0.5884, allocations: 8 kB / 0.7744 GB, free: 14.89 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.5884, allocations: 3.984 kB / 0.7744 GB, free: 14.89 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008145/0.5892, allocations: 0.6108 MB / 0.775 GB, free: 14.21 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-06/0.5892, allocations: 4 kB / 0.775 GB, free: 14.2 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.633e-05/0.5892, allocations: 4 kB / 0.775 GB, free: 14.2 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002918/0.5895, allocations: 105 kB / 0.7751 GB, free: 14.09 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.919e-05/0.5896, allocations: 11.98 kB / 0.7751 GB, free: 14.08 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002072/0.5916, allocations: 1.954 MB / 0.777 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.5916, allocations: 3.938 kB / 0.777 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005759/0.5922, allocations: 404.3 kB / 0.7774 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 8.843e-05/0.5923, allocations: 116.8 kB / 0.7775 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.332e-05/0.5923, allocations: 4 kB / 0.7775 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001206/0.5924, allocations: 7.938 kB / 0.7775 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.183e-05/0.5925, allocations: 11.98 kB / 0.7775 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.336e-05/0.5925, allocations: 11.98 kB / 0.7775 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002643/0.5928, allocations: 251.2 kB / 0.7778 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5928, allocations: 0 / 0.7778 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003848/0.5932, allocations: 75.94 kB / 0.7778 GB, free: 11.08 MB / 0.6075 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.001033/0.5942, allocations: 1.005 MB / 0.7788 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0006215/0.5948, allocations: 286.5 kB / 0.7791 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.5948, allocations: 4 kB / 0.7791 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0004288/0.5952, allocations: 238.5 kB / 0.7793 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000676/0.5959, allocations: 107.9 kB / 0.7794 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004005/0.5999, allocations: 3.129 MB / 0.7825 GB, free: 6.156 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004139/0.6003, allocations: 0.7795 MB / 0.7833 GB, free: 5.352 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001116/0.6004, allocations: 38.84 kB / 0.7833 GB, free: 5.312 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000128/0.6006, allocations: 99.41 kB / 0.7834 GB, free: 5.215 MB / 0.6075 GB Notification: Performance of SimCode: time 5.21e-07/0.6006, allocations: 0 / 0.7834 GB, free: 5.215 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03235/0.6329, allocations: 9.076 MB / 0.7922 GB, free: 12.29 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.82/11.46, allocations: 10.17 kB / 0.7923 GB, free: 12.29 MB / 0.6231 GB " [Timeout remaining time 648] (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: 14.990330373984762]