Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe.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.001724/0.001724, allocations: 109.2 kB / 18.94 MB, free: 2.949 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.002092/0.002092, allocations: 218.7 kB / 22.26 MB, free: 5.121 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.658/1.658, allocations: 230.6 MB / 256 MB, free: 7.973 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.8126/0.8126, allocations: 94.57 MB / 407 MB, free: 9.184 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.Processes.Tests.ConvectivePipe,fileNamePrefix="ThermofluidStream_ThermofluidStream_Processes_Tests_ConvectivePipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Processes.Tests.ConvectivePipe,fileNamePrefix="ThermofluidStream_ThermofluidStream_Processes_Tests_ConvectivePipe",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.002524/0.002524, allocations: 88.5 kB / 0.5549 GB, free: 38.84 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1549/0.1574, allocations: 73.06 MB / 0.6263 GB, free: 488 kB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe): time 0.02289/0.1803, allocations: 17.73 MB / 0.6436 GB, free: 14.67 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00894/0.1892, allocations: 6.864 MB / 0.6503 GB, free: 7.789 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007563/0.19, allocations: 31.69 kB / 0.6503 GB, free: 7.758 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008972/0.1909, allocations: 286 kB / 0.6506 GB, free: 7.477 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001468/0.1923, allocations: 0.5551 MB / 0.6512 GB, free: 6.918 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001004/0.1933, allocations: 372.5 kB / 0.6515 GB, free: 6.555 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.00111/0.1944, allocations: 0.8126 MB / 0.6523 GB, free: 5.738 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002567/0.1947, allocations: 102.1 kB / 0.6524 GB, free: 5.633 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007011/0.1954, allocations: 374.3 kB / 0.6528 GB, free: 5.266 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004474/0.1959, allocations: 298.5 kB / 0.653 GB, free: 4.973 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.64e-05/0.1959, allocations: 43.94 kB / 0.6531 GB, free: 4.93 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001153/0.1971, allocations: 371.6 kB / 0.6534 GB, free: 4.566 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001484/0.1972, allocations: 111.5 kB / 0.6535 GB, free: 4.457 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002869/0.1975, allocations: 290.3 kB / 0.6538 GB, free: 4.172 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001509/0.199, allocations: 0.852 MB / 0.6547 GB, free: 3.316 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.616e-06/0.199, allocations: 0 / 0.6547 GB, free: 3.316 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.314e-06/0.199, allocations: 0 / 0.6547 GB, free: 3.316 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.108e-05/0.199, allocations: 4 kB / 0.6547 GB, free: 3.312 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.002071/0.2011, allocations: 0.9052 MB / 0.6555 GB, free: 2.375 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 0.0001133/0.2012, allocations: 12.02 kB / 0.6556 GB, free: 2.363 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001446/0.2014, allocations: 90.66 kB / 0.6556 GB, free: 2.266 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002333/0.2016, allocations: 76.47 kB / 0.6557 GB, free: 2.191 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001131/0.2027, allocations: 461.9 kB / 0.6562 GB, free: 1.711 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.613e-05/0.2028, allocations: 29 kB / 0.6562 GB, free: 1.684 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.534e-05/0.2029, allocations: 44 kB / 0.6562 GB, free: 1.641 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009073/0.2038, allocations: 459.8 kB / 0.6567 GB, free: 1.172 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.404e-05/0.2038, allocations: 4 kB / 0.6567 GB, free: 1.168 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.207e-05/0.2038, allocations: 16 kB / 0.6567 GB, free: 1.152 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.523e-05/0.2039, allocations: 12 kB / 0.6567 GB, free: 1.141 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007269/0.2046, allocations: 423.7 kB / 0.6571 GB, free: 0.7266 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00312/0.2077, allocations: 2.03 MB / 0.6591 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007027/0.2084, allocations: 373.3 kB / 0.6594 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000286/0.2087, allocations: 170.3 kB / 0.6596 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00132/0.21, allocations: 0.7804 MB / 0.6604 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.09e-05/0.21, allocations: 38.89 kB / 0.6604 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=41): time 1.713e-06/0.21, allocations: 4 kB / 0.6604 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of matching and sorting (n=41): time 0.006175/0.2162, allocations: 1.313 MB / 0.6617 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.001e-05/0.2163, allocations: 85.05 kB / 0.6618 GB, free: 11.69 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006287/0.2169, allocations: 478.9 kB / 0.6622 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.455e-05/0.2169, allocations: 29.7 kB / 0.6622 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002517/0.2172, allocations: 300.7 kB / 0.6625 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001213/0.2173, allocations: 142.8 kB / 0.6627 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001281/0.2174, allocations: 78.12 kB / 0.6627 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001958/0.2176, allocations: 366.7 kB / 0.6631 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002429/0.2179, allocations: 124.8 kB / 0.6632 GB, free: 10.17 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003105/0.2182, allocations: 189.8 kB / 0.6634 GB, free: 9.965 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005748/0.2188, allocations: 339 kB / 0.6637 GB, free: 9.617 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.2188, allocations: 0 / 0.6637 GB, free: 9.617 MB / 0.4981 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.003002/0.2218, allocations: 0.8069 MB / 0.6645 GB, free: 8.797 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.646e-05/0.2218, allocations: 10.03 kB / 0.6645 GB, free: 8.789 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/0.2218, allocations: 0 / 0.6645 GB, free: 8.789 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002928/0.2247, allocations: 497.2 kB / 0.665 GB, free: 8.297 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002646/0.225, allocations: 63.91 kB / 0.6651 GB, free: 8.234 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002149/0.2271, allocations: 2.109 MB / 0.6671 GB, free: 5.984 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002548/0.2274, allocations: 39.67 kB / 0.6671 GB, free: 5.945 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.756e-05/0.2274, allocations: 24.05 kB / 0.6672 GB, free: 5.922 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 1 (thermalConvection.turb_flag) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0002285/0.2277, allocations: 165.7 kB / 0.6673 GB, free: 5.75 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001147/0.2278, allocations: 59.62 kB / 0.6674 GB, free: 5.691 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00333/0.2311, allocations: 0.8623 MB / 0.6682 GB, free: 4.809 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.273e-06/0.2311, allocations: 8 kB / 0.6682 GB, free: 4.801 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.494e-06/0.2311, allocations: 0 / 0.6682 GB, free: 4.801 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.588e-06/0.2311, allocations: 7.984 kB / 0.6682 GB, free: 4.793 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003673/0.2348, allocations: 1.34 MB / 0.6696 GB, free: 3.391 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.2348, allocations: 0 / 0.6696 GB, free: 3.391 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002174/0.235, allocations: 47.91 kB / 0.6696 GB, free: 3.344 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002688/0.2377, allocations: 0.4895 MB / 0.6701 GB, free: 2.848 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.689e-05/0.2377, allocations: 23.98 kB / 0.6701 GB, free: 2.824 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001959/0.2397, allocations: 2.098 MB / 0.6721 GB, free: 0.5859 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.2397, allocations: 0 / 0.6721 GB, free: 0.5859 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003249/0.243, allocations: 1.111 MB / 0.6732 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003255/0.2433, allocations: 91.48 kB / 0.6733 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.457e-05/0.2433, allocations: 11.95 kB / 0.6733 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002684/0.2436, allocations: 19.92 kB / 0.6734 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.548e-05/0.2437, allocations: 31.89 kB / 0.6734 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.469e-05/0.2437, allocations: 19.92 kB / 0.6734 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0004549/0.2442, allocations: 338.9 kB / 0.6737 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/0.2442, allocations: 0 / 0.6737 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0006956/0.2449, allocations: 195.6 kB / 0.6739 GB, free: 14.75 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (flowResistance.inlet.m_flow,heatCapacitor.T) * 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 (27): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003908/0.2488, allocations: 1.826 MB / 0.6757 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0009715/0.2498, allocations: 465.7 kB / 0.6761 GB, free: 12.42 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.2498, allocations: 0 / 0.6761 GB, free: 12.42 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0005148/0.2503, allocations: 298.5 kB / 0.6764 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009081/0.2512, allocations: 152.6 kB / 0.6766 GB, free: 11.97 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01101/0.2622, allocations: 5.198 MB / 0.6816 GB, free: 6.629 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005547/0.2628, allocations: 0.8705 MB / 0.6825 GB, free: 5.73 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0002757/0.263, allocations: 76.47 kB / 0.6826 GB, free: 5.656 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002805/0.2633, allocations: 207.4 kB / 0.6828 GB, free: 5.457 MB / 0.5137 GB Notification: Performance of SimCode: time 3.4e-07/0.2633, allocations: 3.938 kB / 0.6828 GB, free: 5.453 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05816/0.3215, allocations: 16.93 MB / 0.6993 GB, free: 4.734 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.19/16.51, allocations: 5.406 kB / 0.6993 GB, free: 4.734 MB / 0.5294 GB " [Timeout remaining time 643] (rm -f ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe >> ../files/ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_Processes_Tests_ConvectivePipe_fmu --startTime=0 --stopTime=1000 --stepSize=1 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_Processes_Tests_ConvectivePipe.fmu > ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe 2>&1) [Timeout 1260.0] diffSimulationResults("ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Processes.Tests.ConvectivePipe_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe.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: 20.480281227035448]