Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.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.002128/0.002128, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.00242/0.00242, allocations: 217.5 kB / 23.04 MB, free: 5.074 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.413/1.413, allocations: 230.6 MB / 256.8 MB, free: 7.957 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.7479/0.7479, allocations: 94.55 MB / 407.8 MB, free: 9.172 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_serial,fileNamePrefix="ThermofluidStream_ThermofluidStream_Processes_Tests_ConvectivePipe_serial",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Processes.Tests.ConvectivePipe_serial,fileNamePrefix="ThermofluidStream_ThermofluidStream_Processes_Tests_ConvectivePipe_serial",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.002331/0.002331, allocations: 83.23 kB / 0.5557 GB, free: 38.59 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1086/0.1109, allocations: 73.05 MB / 0.6271 GB, free: 476 kB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe_serial): time 0.02639/0.1373, allocations: 23.35 MB / 0.6499 GB, free: 9.02 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01155/0.1489, allocations: 9.579 MB / 0.6592 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007571/0.1496, allocations: 47.56 kB / 0.6593 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001071/0.1507, allocations: 409.2 kB / 0.6597 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002228/0.1529, allocations: 0.8151 MB / 0.6605 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001179/0.1541, allocations: 478.4 kB / 0.6609 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001393/0.1555, allocations: 1.162 MB / 0.662 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003072/0.1558, allocations: 156 kB / 0.6622 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009067/0.1567, allocations: 0.4979 MB / 0.6627 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005812/0.1573, allocations: 445.8 kB / 0.6631 GB, free: 11.4 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.137e-05/0.1574, allocations: 60 kB / 0.6632 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001509/0.1589, allocations: 0.5267 MB / 0.6637 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001612/0.1591, allocations: 151.3 kB / 0.6638 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004149/0.1595, allocations: 441.5 kB / 0.6642 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001701/0.1612, allocations: 1.21 MB / 0.6654 GB, free: 9.016 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.1612, allocations: 0 / 0.6654 GB, free: 9.016 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.603e-06/0.1612, allocations: 4 kB / 0.6654 GB, free: 9.012 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.173e-05/0.1612, allocations: 0 / 0.6654 GB, free: 9.012 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 158 * Number of variables: 158 Notification: Performance of Generate backend data structure: time 0.002215/0.1634, allocations: 1.22 MB / 0.6666 GB, free: 7.758 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/0.1635, allocations: 12.03 kB / 0.6666 GB, free: 7.746 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.958e-05/0.1635, allocations: 17.5 kB / 0.6666 GB, free: 7.73 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001181/0.1636, allocations: 106.7 kB / 0.6667 GB, free: 7.617 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002547/0.1639, allocations: 116.2 kB / 0.6669 GB, free: 7.504 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001109/0.165, allocations: 0.5798 MB / 0.6674 GB, free: 6.895 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.988e-05/0.165, allocations: 49.31 kB / 0.6675 GB, free: 6.848 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001033/0.1651, allocations: 67.98 kB / 0.6675 GB, free: 6.781 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001094/0.1662, allocations: 0.6769 MB / 0.6682 GB, free: 6.082 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.027e-05/0.1662, allocations: 3.938 kB / 0.6682 GB, free: 6.078 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.329e-05/0.1663, allocations: 24 kB / 0.6682 GB, free: 6.055 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.841e-05/0.1663, allocations: 16 kB / 0.6682 GB, free: 6.039 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001047/0.1673, allocations: 0.6415 MB / 0.6689 GB, free: 5.398 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004004/0.1713, allocations: 2.972 MB / 0.6718 GB, free: 2.184 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00111/0.1725, allocations: 0.6329 MB / 0.6724 GB, free: 1.527 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000424/0.1729, allocations: 255.6 kB / 0.6726 GB, free: 1.273 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001829/0.1747, allocations: 1.064 MB / 0.6737 GB, free: 192 kB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.322e-05/0.1747, allocations: 43.16 kB / 0.6737 GB, free: 140 kB / 0.4981 GB Notification: Performance of pre-optimization done (n=66): time 1.904e-06/0.1747, allocations: 0 / 0.6737 GB, free: 140 kB / 0.4981 GB Notification: Performance of matching and sorting (n=66): time 0.009751/0.1845, allocations: 2.213 MB / 0.6759 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.994e-05/0.1845, allocations: 85.7 kB / 0.676 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007893/0.1853, allocations: 0.5904 MB / 0.6765 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.194e-05/0.1854, allocations: 37.7 kB / 0.6766 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003662/0.1858, allocations: 388.9 kB / 0.6769 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001958/0.186, allocations: 241.9 kB / 0.6772 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001884/0.1861, allocations: 118.3 kB / 0.6773 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001725/0.1863, allocations: 333.9 kB / 0.6776 GB, free: 12.08 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003872/0.1867, allocations: 201.2 kB / 0.6778 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004805/0.1872, allocations: 306.8 kB / 0.6781 GB, free: 11.56 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009103/0.1881, allocations: 0.5436 MB / 0.6786 GB, free: 10.99 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.1881, allocations: 0 / 0.6786 GB, free: 10.99 MB / 0.5137 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.004949/0.193, allocations: 1.381 MB / 0.68 GB, free: 9.59 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.469e-05/0.1931, allocations: 8 kB / 0.68 GB, free: 9.582 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.998e-06/0.1931, allocations: 0 / 0.68 GB, free: 9.582 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004929/0.198, allocations: 0.943 MB / 0.6809 GB, free: 8.629 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003998/0.1984, allocations: 99.83 kB / 0.681 GB, free: 8.531 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002776/0.2012, allocations: 2.859 MB / 0.6838 GB, free: 5.512 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004878/0.2017, allocations: 55.56 kB / 0.6838 GB, free: 5.457 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.797e-05/0.2017, allocations: 27.98 kB / 0.6839 GB, free: 5.43 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 2 (thermalConvection1.turb_flag,thermalConvection.turb_flag) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (56): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,11), (1,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0003316/0.2021, allocations: 197.7 kB / 0.684 GB, free: 5.227 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001562/0.2022, allocations: 79.48 kB / 0.6841 GB, free: 5.148 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005151/0.2074, allocations: 1.498 MB / 0.6856 GB, free: 3.625 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.051e-05/0.2074, allocations: 11.94 kB / 0.6856 GB, free: 3.613 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.2074, allocations: 0 / 0.6856 GB, free: 3.613 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.697e-06/0.2074, allocations: 3.984 kB / 0.6856 GB, free: 3.609 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005917/0.2133, allocations: 2.123 MB / 0.6877 GB, free: 1.422 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.2133, allocations: 192 / 0.6877 GB, free: 1.422 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003159/0.2136, allocations: 79.89 kB / 0.6877 GB, free: 1.344 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004821/0.2184, allocations: 0.9429 MB / 0.6887 GB, free: 400 kB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.542e-05/0.2185, allocations: 15.98 kB / 0.6887 GB, free: 384 kB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002694/0.2212, allocations: 2.844 MB / 0.6915 GB, free: 13.37 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-06/0.2212, allocations: 3.938 kB / 0.6915 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005429/0.2266, allocations: 1.783 MB / 0.6932 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002996/0.2269, allocations: 131.3 kB / 0.6933 GB, free: 11.42 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001103/0.227, allocations: 19.98 kB / 0.6934 GB, free: 11.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003497/0.2274, allocations: 20.12 kB / 0.6934 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.957e-05/0.2275, allocations: 44.56 kB / 0.6934 GB, free: 11.34 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.168e-05/0.2275, allocations: 24 kB / 0.6934 GB, free: 11.31 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.000565/0.2281, allocations: 431 kB / 0.6938 GB, free: 10.9 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1e-07/0.2281, allocations: 0 / 0.6938 GB, free: 10.9 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0008487/0.2289, allocations: 295.3 kB / 0.6941 GB, free: 10.61 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (heatCapacitor.T,thermalConvection1.inlet.m_flow,heatCapacitor1.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 (41): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,11), (1,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006137/0.2351, allocations: 2.609 MB / 0.6967 GB, free: 7.969 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001364/0.2364, allocations: 0.668 MB / 0.6973 GB, free: 7.285 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.2364, allocations: 0 / 0.6973 GB, free: 7.285 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0007665/0.2372, allocations: 434.8 kB / 0.6977 GB, free: 6.848 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001128/0.2383, allocations: 232 kB / 0.698 GB, free: 6.633 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01656/0.2549, allocations: 7.293 MB / 0.7051 GB, free: 15.11 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000619/0.2555, allocations: 0.9502 MB / 0.706 GB, free: 14.14 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0003704/0.2559, allocations: 120 kB / 0.7061 GB, free: 14.03 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003928/0.2563, allocations: 307.3 kB / 0.7064 GB, free: 13.73 MB / 0.545 GB Notification: Performance of SimCode: time 9.72e-07/0.2563, allocations: 0 / 0.7064 GB, free: 13.73 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06348/0.3198, allocations: 24.58 MB / 0.7304 GB, free: 5.453 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.31/15.63, allocations: 11.02 kB / 0.7304 GB, free: 5.445 MB / 0.5606 GB " [Timeout remaining time 644] (rm -f ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.pipe >> ../files/ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_Processes_Tests_ConvectivePipe_serial_fmu --startTime=0 --stopTime=1000 --stepSize=1 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_Processes_Tests_ConvectivePipe_serial.fmu > ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.pipe 2>&1) [Timeout 1260.0] diffSimulationResults("ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Processes.Tests.ConvectivePipe_serial_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.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: 19.22187974397093]