Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_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.001327/0.001327, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001633/0.001633, allocations: 212.3 kB / 22.25 MB, free: 4.859 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.43/1.43, allocations: 230.6 MB / 256 MB, free: 7.801 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.8447/0.8447, allocations: 100.9 MB / 413.3 MB, free: 2.871 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.Processes.Tests.ConvectivePipe,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Processes_Tests_ConvectivePipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Processes.Tests.ConvectivePipe,fileNamePrefix="ThermofluidStream_dev_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.002702/0.002702, allocations: 87.81 kB / 0.5641 GB, free: 35.52 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1513/0.154, allocations: 74.62 MB / 0.6369 GB, free: 6.48 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe): time 0.02183/0.1758, allocations: 16.12 MB / 0.6527 GB, free: 6.281 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.008273/0.1841, allocations: 6.222 MB / 0.6588 GB, free: 44 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007019/0.1848, allocations: 35.69 kB / 0.6588 GB, free: 8 kB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008355/0.1856, allocations: 250.2 kB / 0.659 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.00161/0.1872, allocations: 0.5473 MB / 0.6596 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009236/0.1882, allocations: 358.7 kB / 0.6599 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0009717/0.1891, allocations: 0.8126 MB / 0.6607 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002446/0.1894, allocations: 94.05 kB / 0.6608 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006161/0.19, allocations: 378.4 kB / 0.6612 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003629/0.1904, allocations: 270.5 kB / 0.6614 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.442e-05/0.1904, allocations: 40 kB / 0.6615 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008092/0.1912, allocations: 323.7 kB / 0.6618 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001366/0.1914, allocations: 115.4 kB / 0.6619 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002511/0.1916, allocations: 242.6 kB / 0.6621 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.00132/0.1929, allocations: 0.8327 MB / 0.6629 GB, free: 11.76 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.1929, allocations: 0 / 0.6629 GB, free: 11.76 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.693e-06/0.193, allocations: 0 / 0.6629 GB, free: 11.76 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.533e-05/0.193, allocations: 4 kB / 0.6629 GB, free: 11.76 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: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.001726/0.1947, allocations: 0.9167 MB / 0.6638 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.939e-05/0.1948, allocations: 9.469 kB / 0.6638 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000101/0.1949, allocations: 82.7 kB / 0.6639 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002355/0.1951, allocations: 84.47 kB / 0.664 GB, free: 10.63 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009806/0.1961, allocations: 469.8 kB / 0.6644 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.822e-05/0.1961, allocations: 29 kB / 0.6645 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.678e-05/0.1962, allocations: 40 kB / 0.6645 GB, free: 10.08 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007532/0.1969, allocations: 463.9 kB / 0.6649 GB, free: 9.609 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.969e-05/0.197, allocations: 0 / 0.6649 GB, free: 9.609 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.111e-05/0.197, allocations: 16 kB / 0.665 GB, free: 9.594 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.479e-05/0.197, allocations: 12 kB / 0.665 GB, free: 9.582 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007802/0.1978, allocations: 411.7 kB / 0.6654 GB, free: 9.18 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002454/0.2003, allocations: 1.492 MB / 0.6668 GB, free: 7.621 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006979/0.201, allocations: 373.4 kB / 0.6672 GB, free: 7.238 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003006/0.2013, allocations: 167.9 kB / 0.6673 GB, free: 7.07 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001028/0.2023, allocations: 0.6049 MB / 0.6679 GB, free: 6.441 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.759e-05/0.2023, allocations: 38.83 kB / 0.668 GB, free: 6.395 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=41): time 1.623e-06/0.2023, allocations: 0 / 0.668 GB, free: 6.395 MB / 0.4981 GB Notification: Performance of matching and sorting (n=41): time 0.005626/0.2079, allocations: 1.313 MB / 0.6692 GB, free: 5.07 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.815e-05/0.208, allocations: 92.92 kB / 0.6693 GB, free: 4.961 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005738/0.2086, allocations: 475 kB / 0.6698 GB, free: 4.488 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.335e-05/0.2086, allocations: 29.7 kB / 0.6698 GB, free: 4.453 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002358/0.2089, allocations: 292.7 kB / 0.6701 GB, free: 4.164 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001475/0.209, allocations: 150.7 kB / 0.6702 GB, free: 4.016 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000125/0.2091, allocations: 78.12 kB / 0.6703 GB, free: 3.934 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000207/0.2093, allocations: 378.7 kB / 0.6707 GB, free: 3.555 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002324/0.2096, allocations: 120.8 kB / 0.6708 GB, free: 3.438 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002993/0.2099, allocations: 190.3 kB / 0.671 GB, free: 3.23 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005609/0.2104, allocations: 345.7 kB / 0.6713 GB, free: 2.871 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.2104, allocations: 4 kB / 0.6713 GB, free: 2.867 MB / 0.4981 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.002721/0.2132, allocations: 0.7912 MB / 0.6721 GB, free: 2.062 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.398e-05/0.2132, allocations: 8 kB / 0.6721 GB, free: 2.055 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/0.2132, allocations: 0 / 0.6721 GB, free: 2.055 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002603/0.2158, allocations: 0.4895 MB / 0.6726 GB, free: 1.559 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00026/0.2161, allocations: 63.91 kB / 0.6726 GB, free: 1.496 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002086/0.2181, allocations: 2.094 MB / 0.6747 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000333/0.2185, allocations: 43.72 kB / 0.6747 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.989e-05/0.2185, allocations: 16 kB / 0.6747 GB, free: 15.21 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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.0002695/0.2188, allocations: 165.8 kB / 0.6749 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001272/0.2189, allocations: 55.62 kB / 0.6749 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002851/0.2218, allocations: 0.8595 MB / 0.6758 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.696e-06/0.2218, allocations: 4 kB / 0.6758 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.2218, allocations: 0 / 0.6758 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.2218, allocations: 4 kB / 0.6758 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003472/0.2252, allocations: 1.28 MB / 0.677 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.211e-06/0.2253, allocations: 4 kB / 0.677 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002196/0.2255, allocations: 47.92 kB / 0.6771 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002563/0.228, allocations: 0.4896 MB / 0.6776 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.536e-05/0.2281, allocations: 12 kB / 0.6776 GB, free: 12.19 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002025/0.2301, allocations: 2.09 MB / 0.6796 GB, free: 9.953 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.2301, allocations: 0 / 0.6796 GB, free: 9.953 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0031/0.2332, allocations: 1.091 MB / 0.6807 GB, free: 8.832 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002677/0.2335, allocations: 95.44 kB / 0.6808 GB, free: 8.738 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.233e-05/0.2335, allocations: 8 kB / 0.6808 GB, free: 8.73 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002571/0.2338, allocations: 11.98 kB / 0.6808 GB, free: 8.719 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.85e-05/0.2339, allocations: 35.64 kB / 0.6808 GB, free: 8.684 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.776e-05/0.2339, allocations: 15.98 kB / 0.6808 GB, free: 8.668 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0004543/0.2344, allocations: 346.8 kB / 0.6812 GB, free: 8.332 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2344, allocations: 4 kB / 0.6812 GB, free: 8.328 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0007065/0.2351, allocations: 179.6 kB / 0.6813 GB, free: 8.152 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 (26): * Single equations (assignments): 24 * 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.003762/0.2388, allocations: 1.811 MB / 0.6831 GB, free: 6.305 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001019/0.2398, allocations: 455 kB / 0.6835 GB, free: 5.848 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.566e-06/0.2398, allocations: 4 kB / 0.6836 GB, free: 5.844 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0005309/0.2404, allocations: 298.2 kB / 0.6838 GB, free: 5.539 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001014/0.2414, allocations: 161 kB / 0.684 GB, free: 5.387 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01056/0.2519, allocations: 5.183 MB / 0.689 GB, free: 64 kB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003221/0.2523, allocations: 267.5 kB / 0.6893 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003094/0.2526, allocations: 78.08 kB / 0.6894 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002821/0.2529, allocations: 211.3 kB / 0.6896 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of SimCode: time 1.182e-06/0.2529, allocations: 0 / 0.6896 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05646/0.3093, allocations: 16.87 MB / 0.7061 GB, free: 14.91 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.96/14.27, allocations: 3.438 kB / 0.7061 GB, free: 14.91 MB / 0.545 GB " [Timeout remaining time 646] (rm -f ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe_res.mat --tempDir=temp_ThermofluidStream_dev_ThermofluidStream_Processes_Tests_ConvectivePipe_fmu --startTime=0 --stopTime=1000 --stepSize=1 --timeout=1200 --tolerance=1e-06 ThermofluidStream_dev_ThermofluidStream_Processes_Tests_ConvectivePipe.fmu > ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe 2>&1) [Timeout 1260.0] diffSimulationResults("ThermofluidStream_dev_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_dev_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: 17.979344172868878]