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.001233/0.001233, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.001394/0.001394, allocations: 220.3 kB / 23.03 MB, free: 4.945 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.438/1.438, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] 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.807/0.807, allocations: 100.3 MB / 413.5 MB, free: 3.418 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Topology.Tests.TestSplitter,fileNamePrefix="ThermofluidStream_dev_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.003269/0.003269, allocations: 83.39 kB / 0.564 GB, free: 35.94 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.129/0.1323, allocations: 74.46 MB / 0.6367 GB, free: 7.414 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestSplitter): time 0.4995/0.6317, allocations: 121.8 MB / 0.7557 GB, free: 3.324 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004578/0.6363, allocations: 3.848 MB / 0.7594 GB, free: 3.273 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003202/0.6366, allocations: 25.31 kB / 0.7594 GB, free: 3.273 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005642/0.6372, allocations: 143.3 kB / 0.7596 GB, free: 3.27 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0004992/0.6377, allocations: 216.6 kB / 0.7598 GB, free: 3.262 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.000395/0.6381, allocations: 126.4 kB / 0.7599 GB, free: 3.258 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0004295/0.6385, allocations: 407.2 kB / 0.7603 GB, free: 3.258 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001696/0.6387, allocations: 65.81 kB / 0.7604 GB, free: 3.242 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003742/0.6391, allocations: 201.7 kB / 0.7606 GB, free: 3.242 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002488/0.6393, allocations: 175 kB / 0.7607 GB, free: 3.242 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.759e-05/0.6394, allocations: 19.06 kB / 0.7607 GB, free: 3.242 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004407/0.6398, allocations: 229 kB / 0.761 GB, free: 3.238 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 5.756e-05/0.6399, allocations: 50.77 kB / 0.761 GB, free: 3.238 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001315/0.64, allocations: 114.5 kB / 0.7611 GB, free: 3.238 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0005387/0.6405, allocations: 386.2 kB / 0.7615 GB, free: 3.207 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.6405, allocations: 0.9375 kB / 0.7615 GB, free: 3.207 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.312e-06/0.6405, allocations: 0.9062 kB / 0.7615 GB, free: 3.207 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.773e-06/0.6405, allocations: 0 / 0.7615 GB, free: 3.207 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.0009925/0.6415, allocations: 0.5462 MB / 0.762 GB, free: 18.82 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.6416, allocations: 9.594 kB / 0.762 GB, free: 18.82 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.355e-05/0.6416, allocations: 6.344 kB / 0.762 GB, free: 18.82 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.605e-05/0.6416, allocations: 53.88 kB / 0.7621 GB, free: 18.79 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.146e-05/0.6417, allocations: 37.73 kB / 0.7621 GB, free: 18.77 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004853/0.6422, allocations: 313.7 kB / 0.7624 GB, free: 18.59 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.822e-05/0.6422, allocations: 16.06 kB / 0.7624 GB, free: 18.59 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.267e-05/0.6422, allocations: 21.38 kB / 0.7625 GB, free: 18.59 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003895/0.6426, allocations: 230.2 kB / 0.7627 GB, free: 18.54 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.6426, allocations: 0.8125 kB / 0.7627 GB, free: 18.54 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.949e-05/0.6427, allocations: 9.875 kB / 0.7627 GB, free: 18.54 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.486e-06/0.6427, allocations: 4.531 kB / 0.7627 GB, free: 18.54 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002123/0.6429, allocations: 133.9 kB / 0.7628 GB, free: 18.53 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009946/0.6439, allocations: 0.6839 MB / 0.7635 GB, free: 18.18 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003148/0.6442, allocations: 131.6 kB / 0.7636 GB, free: 18.15 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000108/0.6443, allocations: 58.25 kB / 0.7637 GB, free: 18.14 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 8.711e-05/0.6444, allocations: 18.69 kB / 0.7637 GB, free: 18.14 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.182e-05/0.6445, allocations: 36.59 kB / 0.7637 GB, free: 18.11 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=15): time 1.753e-06/0.6445, allocations: 1.594 kB / 0.7637 GB, free: 18.11 MB / 0.5919 GB Notification: Performance of matching and sorting (n=16): time 0.00149/0.646, allocations: 0.6112 MB / 0.7643 GB, free: 17.87 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.186e-05/0.646, allocations: 53.41 kB / 0.7644 GB, free: 17.81 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004212/0.6464, allocations: 336.9 kB / 0.7647 GB, free: 17.7 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.874e-05/0.6464, allocations: 30.72 kB / 0.7647 GB, free: 17.66 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001154/0.6466, allocations: 171.9 kB / 0.7649 GB, free: 17.57 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.723e-05/0.6466, allocations: 64.88 kB / 0.7649 GB, free: 17.53 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.127e-05/0.6467, allocations: 32.2 kB / 0.765 GB, free: 17.52 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001673/0.6468, allocations: 346.8 kB / 0.7653 GB, free: 17.2 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.385e-05/0.6469, allocations: 48.66 kB / 0.7653 GB, free: 17.2 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.128e-05/0.647, allocations: 73.53 kB / 0.7654 GB, free: 17.18 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001614/0.6472, allocations: 128.8 kB / 0.7655 GB, free: 17.16 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.6472, allocations: 0.9688 kB / 0.7655 GB, free: 17.16 MB / 0.5919 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004165/0.6476, allocations: 268 kB / 0.7658 GB, free: 17.1 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.6476, allocations: 7.156 kB / 0.7658 GB, free: 17.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.6476, allocations: 1.969 kB / 0.7658 GB, free: 17.1 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000312/0.6479, allocations: 90.11 kB / 0.7659 GB, free: 17.09 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.819e-05/0.648, allocations: 20 kB / 0.7659 GB, free: 17.09 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002023/0.65, allocations: 1.824 MB / 0.7677 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001042/0.6501, allocations: 9.281 kB / 0.7677 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.539e-05/0.6501, allocations: 7.375 kB / 0.7677 GB, free: 15.86 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.0001604/0.6503, allocations: 143.7 kB / 0.7678 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.47e-05/0.6504, allocations: 38.84 kB / 0.7679 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004986/0.6509, allocations: 290.5 kB / 0.7682 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.6509, allocations: 6.812 kB / 0.7682 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.896e-06/0.6509, allocations: 1.375 kB / 0.7682 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.6509, allocations: 2.703 kB / 0.7682 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007639/0.6516, allocations: 0.5606 MB / 0.7687 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.6516, allocations: 3.359 kB / 0.7687 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.766e-05/0.6517, allocations: 11.28 kB / 0.7687 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002813/0.652, allocations: 92.66 kB / 0.7688 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.873e-05/0.652, allocations: 8.547 kB / 0.7688 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001995/0.654, allocations: 1.84 MB / 0.7706 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/0.654, allocations: 6.5 kB / 0.7706 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005768/0.6546, allocations: 403.5 kB / 0.771 GB, free: 13.9 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 5.006e-05/0.6546, allocations: 37.64 kB / 0.7711 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.033e-05/0.6546, allocations: 10.47 kB / 0.7711 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001222/0.6548, allocations: 2.094 kB / 0.7711 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.915e-05/0.6548, allocations: 16.75 kB / 0.7711 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.138e-05/0.6548, allocations: 5.75 kB / 0.7711 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002732/0.6551, allocations: 252.4 kB / 0.7713 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.6551, allocations: 0 / 0.7713 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.000407/0.6555, allocations: 78.53 kB / 0.7714 GB, free: 13.79 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.001083/0.6566, allocations: 1.011 MB / 0.7724 GB, free: 13.06 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0007264/0.6573, allocations: 292.1 kB / 0.7727 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.6573, allocations: 0.625 kB / 0.7727 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0004705/0.6578, allocations: 237.7 kB / 0.7729 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007021/0.6585, allocations: 105.1 kB / 0.773 GB, free: 12.81 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004563/0.663, allocations: 3.118 MB / 0.776 GB, free: 11.31 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001963/0.6632, allocations: 176.1 kB / 0.7762 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001679/0.6634, allocations: 33.66 kB / 0.7762 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001281/0.6635, allocations: 99.36 kB / 0.7763 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of SimCode: time 6.21e-07/0.6635, allocations: 0.5938 kB / 0.7763 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03587/0.6994, allocations: 9.63 MB / 0.7857 GB, free: 10.15 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.03/12.73, allocations: 10.39 kB / 0.7857 GB, free: 10.15 MB / 0.5919 GB " [Timeout remaining time 647] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestSplitter_res.mat --tempDir=temp_ThermofluidStream_dev_ThermofluidStream_Topology_Tests_TestSplitter_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=1200 --tolerance=1e-06 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.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Topology.Tests.TestSplitter_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_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.400417870027013]